Xlib error
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Jan 25 15:20:53 UTC 2005
On Mon, Jan 24, 2005 at 07:37:01PM -0500, Matt Cahill wrote:
> On January 24, 2005 04:25 pm, John Vetterli wrote:
>
> > Let me guess: from kdm, you log in as a regular user, then in an xterm,
> > you su to root? If so, the problem is that the info needed by X's
> > authorization thingee is in the regular user's .Xauthority, not root's.
> > Try try logging in as root, or running "xhost +" before su-ing to root.
> >
>
> Your solution is as brief as my problem seemed complex. Thanks very much -
> it worked. I'm going to have to read-up on 'xhost' now.
>
> Thanks again,
>
> Matt
>
> P.S. Any Synaptic-users using version 0.56? They've done a lot of work on
> it.
Use of xhost + is considered VERY insecure, with proper use of xauth
tokens better, and ssh -X much more secure (although overkill on local
machine). xhost + really should only be a problem with X over a network
link, so it shouldn't be a big deal in this case.
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list