* deFreese, Barry ([EMAIL PROTECTED]) [030213 11:07]:
> >-----Original Message-----
> >From: Haralambos Geortgilakis [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, February 13, 2003 1:30 AM
> >To: Debian User Listie
> >Subject: Synaptic & can't run in console with "su" or "xhost local:root"
> >
> >Hi Yall,
> >
> >having finally, after many months of trying, finally gotten my Radeon 
> >going with the ATI drivers, Synaptic is now not happy!
> >
> >Here is a cut & past of what is up-it used to work!
> >
> >Any ideas?
> >
> ><snip>
> >Hellene:/home/haralambos# synaptic
> >Xlib: connection to ":0.0" refused by server
> >Xlib: No protocol specified
> >
> >
> >Gtk-WARNING **: cannot open display: :0
> >Hellene:/home/haralambos# xhost local:root
> >Xlib: connection to ":0.0" refused by server
> >Xlib: No protocol specified
> >
> >xhost: unable to open display ":0"
> >Hellene:/home/haralambos#
> ><snip>
> >
> 
> One thing you can try is when you su, do an su -p to preserve your
> environment.  Other than that, good luck, I could never get X apps to start
> when I su'd either??

Use sudo or 'ssh -X root@localhost'.  Forget about xhost.  Really.
Remove it from your vocabulary.  Really.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
Microsoft has argued that open source is bad for business, but you
have to ask, "Whose business? Theirs, or yours?"     --Tim O'Reilly

Attachment: msg30586/pgp00000.pgp
Description: PGP signature

Reply via email to