Re: Starting X programs
Dale Scheetz wrote:
> > > Xlib: connectionto ":0.0" refused by server
> > > Xlib: Client is not authorized to connect to server
> > > Error: Can't open display: :0.0
> > >
> > > However, once I installed the menu package, I can run spider from the
> > > menu, but from an xterm I continue to get the above errors.
> > >
> > > Can anyone clue me as to what is happening?
> >
> > (I don't use spider myself, though)
> > Have you looked for the menu file of 'spider'? How does it start the
> > program?
>
> This is not specific to spider. It also occurs with any other program I
> have tried
Are all these programs using X?
> > Another possibility:
> > It looks like something is wrong with your xauth. Try 'xhost +' as a
> > temporary workaround. Maybe menu connects to the correct host by itself?
>
> I'm not familiar with either of these.
[...]
> This is still very strange. The logged in user has permissions that root
> does not? Or is it the fact that the logged in user is the owner of the
> display and root is not?
Exactly. I guess, you su 'ed to root inside an x-term?
Try
export XAUTHORITY=$HomeOfYourUser/.xauthority
(please check the spelling with man xauth, I can't do it at the moment).
HTH,
Ulf
--
#include <signature>
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: