What you need to do is specify to the X server which console (or
"display") it needs to start on.
You know that terminals 1-6 are for text mode, and when you start X from,
for example, terminal 1, it starts X on terminal 7 - you can Ctrl-Alt-F1
to go back to terminal 1, then Alt-F7 to go back to X. Terminal 7 is, for
X, display 0.
Now, log in on terminal 2, and start X with this command:
$ startx -- :1
This tells X to start on display 1, rather than trying to start on display
0. Now, you can Ctrl-Alt-F3 to log in to yet another terminal, and Alt-F8
will take you back to display 1.
-Matt Stegman
<[EMAIL PROTECTED]>
On Sat, 6 May 2000, bascule wrote:
> i have read that it is possible to have more than one X session open (on
> different consoles) but when i switch to ctrl-alt-2 for example, and
> login and then run startx i get an error message:
> Server already active for display 0
> if no server running , remove /tmp/.X0-lock
>
> Xlib: connection "0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 KEY
> giving up
> xinit: unable to connect to X server
> xinit: no such process (errno 3):
>
> is there a way to have more than one X session open on one machine?
> i am using kde and i am often switching between user and root as i am
> still sorting things out with my installation, i know that some programs
> (Draksconf for example) can be run as root in a user X session but i
> read that the above was possible and if it is it would be quicker.
>
> bascule
>