Permissions: xhost +
Matthew Carpenter
matt
Mon May 17 11:58:45 PDT 2004
David A. Bandel wrote:
> 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
I never do.
More information about the Linux-users
mailing list