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

Re: How do you use su under X?



Hi!

Sorry, for hiding this to you - my direct reply to Chip Grandits should have
gone to the list ...

Helge Hafting (helge.hafting@daldata.no):
> I want the cookie security so other users can't do anything wrong.
> I also want "root" to be able to use the X display no matter
> who is running x.  What is the simplest way to 
> achieve this?

sudo xterm

ssh -l root localhost xterm

su
<enter pass>
export XAUTHORITY=/home/<your login>/.Xauthirity


Rainer

-- 
KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB  78 1D B5 64 E0 BF 72 EB

Attachment: pgpyq2uL5aCfc.pgp
Description: PGP signature


Reply to: