[EMAIL PROTECTED] wrote: >On Sunday 24 June 2001 05:35 pm, csj wrote: >> Thanks for the tip. I didn't know that. But I'm worried. What sort of >> magic does kdesu do? As console (konsole, xterm) root, I can't run >> konqueror. >> >> alpha:/web/debian/http# konqueror >> Xlib: connection to ":0.0" refused by server >> Xlib: Client is not authorized to connect to Server >> konqueror: cannot connect to X server :0 > >as the user you logged into X as, you have to do >xhost local: > >to allow root (and other users on localhost) to open things in X.
Don't use xhost. Try 'export XAUTHORITY=~/.Xauthority' as your ordinary user instead. That way, unless you use 'su -' or su to a user who can't read your .Xauthority file, the authority to use the X server will be transferred properly. If you want to su to a user you can't read your .Xauthority, you can do tricks with xauth. -- Colin Watson [EMAIL PROTECTED]