Ok, let me try and address this "xhost +" habit most people have. Try
the following instead:
        $ id
        uid=500(myname) gid=500(mygroup)
        $ echo $DISPLAY
        :0.0
        $ xauth list $DISPLAY
        localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1 31a6e34f...
        $ su - root
        Password: **************
        # export DISPLAY=:0.0
        # xauth list $DISPLAY
        # xauth merge ~myname/.Xauthority
        # xauth list $DISPLAY
        localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1 31a6e34f...
The trick is merging your users' .Xauthority file with root's
.Xauthority file using the "xauth merge" command.
By doing this, you do not risk others on the box (when using a named
pipe socket in /tmp) or anyone on the planet (when using a TCP socket
listener) from attaching to and controlling/recording your X11 traffic.
If you do X11 on my network, I'm going to play nasty tricks on you.
That's all I'm going to say about that.
- Ian
On Tue, Jan 21, 2003 at 08:27:21PM -0500, A2L1 wrote:
> 
> Thanks Jeff and Logan     
> The xhost + did the trick and reading the man helped
> just needed to know where to look
> Thanks again.
> 
>             A J
> 
> 
> 
> 
> 
> 
> 
> On Tuesday 21 January 2003 07:35 pm, you wrote:
> > On Tue, 2003-01-21 at 18:04, A2L1 wrote:
> > <snip>
> >
> > > Gtk-WARNING **: cannot open display: :0.0
> >
> > <snip>
> > As a user, from an xterm type:
> >
> > xhost +
> >
> > For further elucidation to the command "xhost," type:
> >
> > man xhost
> >
> > in the same xterm.
> >
> > HTH,
> >
> > The Logan
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:41:10 EDT