Click to See Complete Forum and Search --> : Run multiple sessions of X


andycrofts
04-06-2004, 07:17 AM
Hi
This is magic...can't believe I didn't stumble on this before. I'd heard of it, but somehow never found it....(sure some of you out there are going "yeah, yeah, what's new?")

As you know, Ctrl-Alt-F7 takes you (in most, if not all distributions) to your graphical interface. Ctrl-Alt-F1 through F6 takes you through terminals.

In brief, from a terminal do
startx -- :1 (only one space between the elements, but it wasn't clear)

Now, you've got one X session at Ctrl-Alt-F7 and another at Ctrl-Alt-F8. Unreal!! Doesn't load my IBM 600E laptop one bit!

Link to the article I found this:
http://linuxguide.automatedshops.com/LinuxGuide/linux-X-multiple.html

-Enjoy!
-Andy

Bam
04-07-2004, 01:59 AM
I've read about this here on the forum before, but never got around to trying it until now. That is pretty cool!! Now I have KDE running on F7 & XFCE4 running on F8. Nice :D

Loki3
04-07-2004, 02:57 AM
I've heard about this before. I poked around the fourms a little looking for the command but couldn't find it. Thanks for listing it! It's sweet! Let's see windows do this...

mdwatts
04-07-2004, 10:23 AM
You can also use Xnest to run a nested X server (local or remote).

man Xnest

I used Xnest at work for AIX sessions (CDE) instead of eXceed.

Example of the commands...

Xnest :1 -geometry 1600x1200+0+0 -name AIX -ac -indirect 172.16.1.134 &

Xnest :2 -geometry 1600x1200+0+0 -name OPENUNIX -ac -indirect 172.16.1.134 &