[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs to run as root from su, in its own X window?
From: |
Dan Jacobson |
Subject: |
Re: emacs to run as root from su, in its own X window? |
Date: |
16 Jun 2002 10:58:16 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Sorry for the irrelevant groups and even mangled address, but I just
wanted to say I found the solution to folks on the places where I
posted my original question. Solution =
You guys gotta be kidding about the books and classes. I found all I
needed was a simple export XAUTHORITY=$HOME/.Xauthority at the top of
the user's .xsession file and he could then su to root and run all the
X apps he wanted... probably covers 99% of the cases... [Note that if
one uses ~ instead of $HOME, one can't even login (no X app will
work) :-) ]
--
http://jidanni.org/ Taiwan(04)25854780