Bug#79381: x11-xserver-utils: bug almost clsoed, just need a little more doc
Package: x11-xserver-utils
Version: 7.5+3
Severity: normal
Dear Debian developpers and maintainers,
erayo@ said (in 2001) that xhost was working properly on redhat
systems while logged in as root. It is not the case in squeeze.
xhost user@host seems to work (which was I believe fix the complaint
of the first bug reporter).
The OPTIONS section of the man page is misleading. I quote:
"[+]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 important part is "The name can be a host name or a user
name". This statement also appear in the next line of the man page and
is incorrect since running "xhost foo" is always interpreted as the
host foo. Actually even "xhost -help" reports this.
One can use the complete name syntax to provide a username by running
"xhost si:localuser:foo".
I suggest changing the man page to reflect this such as:
"The name can be a host name or a complete name (see NAMES for more
details)."
I also believe adding an example of the syntax "xhost +
si:localuser:foo" or a hint of its existance in the section NAMES
would be useful. Adding a sentence such as : "The server interpreted
addresses can also be used to specify a local user using
si:localuser:login." before the "For more information on the available
forms of server interpreted addresses, see the Xsecurity(7) manual
page." would I believe be useful.
Thank you
Erik
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages x11-xserver-utils depends on:
ii cpp 4:4.4.5-1 The GNU C preprocessor (cpp)
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libice6 2:1.0.6-2 X11 Inter-Client Exchange library
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxau6 1:1.0.6-1 X11 authorisation library
ii libxaw7 2:1.0.7-1 X11 Athena Widget library
ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar
ii libxi6 2:1.3-6 X11 Input extension library
ii libxmu6 2:1.0.5-2 X11 miscellaneous utility library
ii libxmuu1 2:1.0.5-2 X11 miscellaneous micro-utility li
ii libxrandr2 2:1.3.0-3 X11 RandR extension library
ii libxrender1 1:0.9.6-1 X Rendering Extension client libra
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii libxxf86vm1 1:1.1.0-2 X11 XFree86 video mode extension l
x11-xserver-utils recommends no packages.
Versions of packages x11-xserver-utils suggests:
pn cairo-5c <none> (no description available)
pn nickle <none> (no description available)
ii xorg-docs-core 1:1.5-1 Core documentation for the X.org X
-- no debconf information
Reply to: