[Gllug] can't switch between virtual terminals
Christian Smith
csmith at micromuse.com
Mon Aug 4 18:47:08 UTC 2003
On 4 Aug 2003, Matthew King wrote:
>As for why root xterms cannot start X apps, there are a number of
>reasons. Debian may have some security thing (I haven't noticed) or
>Xauth may be denying access. The simplest way around this is 'xhost +'
>as user, the slightly less simple is to import xauth settings from user
>to root. I don't know how to do that.
Actually turns out to be surprisingly easy.
$ xauth list $DISPLAY
<blah>
$ su -
Password:
# DISPLAY=:0.0 ; export DISPLAY
# xauth add <blah>
Christian
--
"You have not converted a man because you have silenced him." -John Morley
----------------------------------------------------------------------
/"\
\ / ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
X - AGAINST MS ATTACHMENTS
/ \
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list