Monday, January 22, 2007

sudo su - & .Xauthority

Seems that I keep forgetting how to sudo su - and properly transfer xauthority to the root shell.

Here is to do it when logged into :0.0 on FC5:




sudo su -
xauth merge ~username/.Xauthority



where username is the user that you have sudo'd out of.
This should also work with X forwarding over SSH.

No comments:

Post a Comment