LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   running multiple GUIs at the same time (https://www.linuxquestions.org/questions/linux-software-2/running-multiple-guis-at-the-same-time-492109/)

vargadanis 10-13-2006 10:24 AM

running multiple GUIs at the same time
 
Hi

I wonder how is it possible to allow the users (all of them) to run their own GUI (gnome) at the same time. Eg: user1 and user2 are logged in on tty1 and tty2. They want to run their own Gnome not just switch users cause it takes time. With ctrl+alt+# they can change quickly.
I hope it is possible to solve without installing multiple X-window server on the same machine.

pljvaldez 10-13-2006 10:53 AM

This is written for an old Red Hat w/ gdm, but should apply to both current xdm and kdm also (though the syntax may be different). Basically you need to start multiple instances of the graphical login on different virtual terminals (the default is gui on vt7 for most distros).

macemoneta 10-13-2006 10:58 AM

If you are accessing remotely, you can start a GUI on a remote system with:

Place this in '~/.vnc/xstartup':

Code:

#!/bin/sh
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

Then, ssh to the remote server and run these two commands:

vncserver -geometry 1024x768 -depth 24 :4
vncviewer :4

When you are done:

vncserver -kill :4

vargadanis 10-13-2006 11:10 AM

wov... that seems to be simple. I like it. ^_^ Especially with the vnc solution.


All times are GMT -5. The time now is 03:37 PM.