manpage says xhost +username should work
Binary package hint: xhost
The manpage says:
[+]name The given name (the plus sign is optional) is added to the list allowed to connect to the X server. The name can be a host name or a user name.
The manpage gives the impression that I can selectively enable other users to participate in my X session. This is much preferable over xhost +localhost or xhost +local:
But trying it out yields:
$ LANG=C xhost +u2
xhost: bad hostname "u2"
u2 is a regular user name on this system. xhost +local: works but is not discriminating enough.
I have TCP disabled for X, i.e. only local sessions are possible. Ubuntu Dapper is installed. I checked manpages from Debian and Suse, e.g. http://
Under what circumstances would it be possible to use user names with xhost?
Is the manpage text misleading?
|Changed in xhost:|
|importance:||Untriaged → Wishlist|
|status:||Unconfirmed → Confirmed|