[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: x apps won't start as root under normal user



Hello

Michael B. Levy (<mblevy2000@yahoo.com>) wrote:

> When I need to do file admin on my system, I often
> open up Konqueror as root while logged in as a normal
> user, or open up an X text editor to do the same, but
> for the last couple of days, any attempt to open up an
> application that depends on X returns this error:
> 
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> kwrite: cannot connect to X server :0.0
> 
> Does anyone know how to fix/bypass this?

export XAUTHORITY=/home/michael/.Xauthority

or

kdesu kwrite

best regards
        Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html



Reply to: