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

Re: how does root run a graphical prog



On Mon, May 20, 2002 at 11:45:31PM +0700, Willy S wrote:
>hi,
>
>How come root can not run a graphical program under other user
>session. Let say, I do 'su' and I try to launch gkrellm. Xterm will
>produce this message:
>
>Xlib: connection to ":0.0" refused by server
>Xlib: Client is not authorized to connect to Server
>

Just put this in your .bashrc file

XAUTHORITY=$HOME/.Xauthority

export XAUTHORITY



-- 
Peter Hicks
http://jah.net/~petong
4E24 3C78 A165 537C 729C  8D25 3547 3CE9 9E7D 42B6


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: