On Thu, 24 Aug 2000, Ron Johnson, Jr. pushed some tiny letters in this order:
> > As he said - he wants to log in as root under one, and as a user under
> > the other. When I need to do a lot of stuff as root I do the same thing,
> > since I don't know much about using linux from the command line.
> 
> 1. Learn Unix.  It's slow.  I'm getting there and so will you.
> 2. su
> 3. There's a command (for the life of me I can't remember it, 
>    but a *real* expert will) that, along with the commands
>       su
>       export DISPLAY=localhost:0.0
>    will allow you to run X apps from root, even when u have done
>    startx from a non-root acct.
> 

You need to set the access control of the X server by running "xhost
+localhost" also. By default the line "/etc/X11R6/bin/xhost + localhost" is my
in /etc/X11/Xsession file that is run when X is started. I couldn't possibly
bring myself to run two X sessions, just the one uses up enough memory and cpu
time. :-)

Tony

Reply via email to