Permissions: xhost +
David A. Bandel
david
Mon May 17 11:58:41 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 25 Jan 2004 22:08:31 -0500
edj <ejbr at comcast.net> wrote:
> On Sunday 25 January 2004 06:54 pm, Matthew Carpenter wrote:
> [snipped]
> >
> > Please use "xhost localhost" as this only allows local processes
> > access to the screen...
>
> "xhost +localhost" never worked for me. It returns:
>
> localhost being added to access control list
>
> But, upon "su" to root,I always get something like:
>
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Gtk-WARNING **: cannot open display: :0
>
> A plain "xhost +" works, of course. Any advice appreciated. Thanks.
you need to set the display: export DISPLAY=LOCALHOST:0.0
There's a big difference between :0.0 and LOCALHOST:0.0.
Ciao,
David A. Bandel
- --
Focus on the dream, not the competition.
Nemesis Racing Team motto
GPG key autoresponder: mailto:david_key at pananix.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAFQ48j31PLQNUbV4RApjtAKCKcMDTcufBvruFHgBa+bdax3ug/ACeKW7P
TL7l2bM5N67hibIR4fnirRM=
=H10f
-----END PGP SIGNATURE-----
More information about the Linux-users
mailing list