Your message dated Tue, 19 Jun 2007 15:23:53 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#429669: xhost +localhost ignored
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: xbase-clients
Architecture: i386
Version: 1:7.1.ds1-2
[EMAIL PROTECTED]:~$ xhost
access control enabled, only authorized clients can connect
[EMAIL PROTECTED]:~$ xhost +localhost
localhost being added to access control list
[EMAIL PROTECTED]:~$ xhost
access control enabled, only authorized clients can connect
INET:localhost.localdomain
[EMAIL PROTECTED]:~$ su -
Password:
ridcully:~# export DISPLAY=:0
ridcully:~# xterm
Xlib: connection to ":0.0" refused by server
--- End Message ---
--- Begin Message ---
On Tue, 2007-06-19 at 14:43 +0200, Olaf Zaplinski wrote:
> Package: xbase-clients
> Architecture: i386
> Version: 1:7.1.ds1-2
>
> [EMAIL PROTECTED]:~$ xhost
> access control enabled, only authorized clients can connect
> [EMAIL PROTECTED]:~$ xhost +localhost
> localhost being added to access control list
> [EMAIL PROTECTED]:~$ xhost
> access control enabled, only authorized clients can connect
> INET:localhost.localdomain
As you can see, you enabled connections from localhost via TCP,
corresponding to DISPLAY=localhost:0 .
> [EMAIL PROTECTED]:~$ su -
> Password:
> ridcully:~# export DISPLAY=:0
> ridcully:~# xterm
> Xlib: connection to ":0.0" refused by server
DISPLAY=:0 is a UNIX socket connection, which is something different. To
enable UNIX socket connections, use
xhost +local:<username>
Closing this non-bug.
(BTW, if you use su without -, the superuser automatically has access to
the display of the user running it)
--
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
--- End Message ---