[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#385572: xhost not working



On Fri, 2006-09-01 at 11:44 +0200, Olaf Zaplinski wrote:
> Package: xbase-clients
> Version: 6.9.0.dfsg.1-5bpo2
> 
> As some ordinary user I say:
> 
> olaf@ridcully:~$ xhost localhost
> localhost being added to access control list
> 
> But it does not work:
> 
> ridcully:~# xterm -display :0
> Xlib: connection to ":0.0" refused by server

:0 (UNIX socket connection) isn't the same thing as localhost:0 (TCP
socket connection over the local loopback interface). To allow a local
user to connect via UNIX sockets, you need

xhost local:<username>


> ridcully:~# xterm -display localhost:0
> 
> does not work also.

How does it fail?


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer



Reply to: