MB4 258b: Renting Rights from a Gentile for a Mavui (391:1-2)

If Jews live in two of the chatzerot in the city they still need to acquire reshut from the residents of the city.

When can you acquire the rights to a mavui from the "שר העיר" (mayor) and when do you need to acquire the rights from the residents?

Guests carrying from the houses in which they are staying to the rest of the city.