On Mon, Apr 19, 2004 at 04:28:44PM +0100, adam@thebowery.co.uk wrote:
On Mon, Apr 19, 2004 at 03:57:30PM +0100, MJ Ray wrote:
On 2004-04-19 15:40:07 +0100 Steve Engledow stechjo@btinternet.com wrote:
an 'xhost +' before su-ing you'll be ok.
xhost +localhost would be better if you're on a network. If you have other users, Xauthority is better.
My preference is to do a
ssh -X root@localhost
(I usually replace localhost with the name of the machine even if it is localhost, oh, and you will need ssh installed and configured to allow root logins)
my preference is su -m, which leaves your sheel and variables in tact, gerenally works rather nicely. That or run them via sudo, which works nicely also :)
Cheers,