Hello

Kenneth Jacker (<[EMAIL PROTECTED]>) wrote:

> Though I know it is discouraged, I have a single-user 'sarge' system
> protected by 'iptables' on which I want to run X11 applications when
> logged in as 'root'.  I can use 'sudo' (e.g., "% sudo xlogo"), but I'd
> rather directly access the apps as 'root' (e.g., "# xlogo").
> 
> Though I've searched, I have not found!

What is your error message? Do you "xlibs: connection refused" error? Do
you log into X as a user, and opened a root shell using "su"? You can
allow the super user to access your X session:

# export XAUTHORITY=/home/kenneth/.Xauthority

After that you can start the programs as root.

Or you install some wrapper like sux, gksu oder kdesu. They don't need
any kind of configuration like sudo does.

best regards
        Andreas Janssen

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to