mhelios
2004-05-15, 08:35 PM CDT
Just came across a cool way to run two or more X sessions with GNOME/KDE and GDM on the same computer.
Firstly, there are many ways to accomplish this; one of the simplest being to switch to VT[1-6] and running `startx -- :1`. However, by default, the startx script will load the very minimal TWM environment which is probably not what most people want.
There's a handy program gdmflexiserver (Thx to Alexander Dalloz for pointing this out) that when run will save the state of your current X session, load the GDM login screen where you can then login as another user concurrently with the original X session. This X server will run on VT8 (or VT9 etc for more X sessions).
Once logged into GNOME as the other user, you can use the key-combo Ctrl + Alt + F7 to return to your previous X session and similarly Ctrl + Alt + F8 to get back to the new X session.
When you decide you want to get out of this secondary X session, just select Log Out from the menu and the X server will be killed and you'll return to the original session.
Just run /usr/bin/gdmflexiserver as regular user on the command-line and you're done! :)
Firstly, there are many ways to accomplish this; one of the simplest being to switch to VT[1-6] and running `startx -- :1`. However, by default, the startx script will load the very minimal TWM environment which is probably not what most people want.
There's a handy program gdmflexiserver (Thx to Alexander Dalloz for pointing this out) that when run will save the state of your current X session, load the GDM login screen where you can then login as another user concurrently with the original X session. This X server will run on VT8 (or VT9 etc for more X sessions).
Once logged into GNOME as the other user, you can use the key-combo Ctrl + Alt + F7 to return to your previous X session and similarly Ctrl + Alt + F8 to get back to the new X session.
When you decide you want to get out of this secondary X session, just select Log Out from the menu and the X server will be killed and you'll return to the original session.
Just run /usr/bin/gdmflexiserver as regular user on the command-line and you're done! :)