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

Re: how does root run a graphical prog



> 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
> 
> Everything fine if I run a console program under root. This problem
> only occurs if I run a program as a root under other people session.
> 
> Please enlighten me.
> 

When you log in as a regular user, type on a terminal: xhost localhost
This command will enable you to run any graphical program as root.

Rogerio Acquadro

-- 
 :::  .''`.  :::  Rogerio Acquadro <racquad@led.unicamp.br>
 ::: : :'  : :::  ICQ UIN: 6543753
 ::: `. `'`  :::  Administrador de rede - CCS - UNICAMP
 :::   `-    :::  http://www.ccs.unicamp.br/~racquad



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



Reply to: