Re: emacs to run as root from su, in its own X window?
The following message is a courtesy copy of an article
that has been posted to gnu.emacs.bug as well. Great.
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) :-) ]
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org