Public bug reported:

Binary package hint: xhost

Hi,

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://www.sourcentral.org/man/SLES9/1+xhost and they all contain the
same text.

Under what circumstances would it be possible to use user names with xhost?
Is the manpage text misleading?

Regards,
 Jörg Höhle

** Affects: xhost (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
manpage says xhost +username should work
https://launchpad.net/bugs/60040

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to