Hi Praveen,

Nice article.

There's a couple of other things you can do also:

1.  Instead of setting the DISPLAY in the environment unconditionally,
just give it for that specific command:

     DISPLAY=:2 gnome-session &
     DISPLAY=:1 twm &
     ...etc...

In [t]csh, you can:

     env DISPLAY=:2 <command>
     env DISPLAY=:1 <command>

This will avoid cluttering up your environment, and you can keep a
default ``export DISPLAY=:0'' for commands which are run without an
explicit DISPLAY prefix.

2.  You can also run multiple gdm's (I use Gnome usually) by editing
/etc/X11/gdm/gdm.conf .  At the end, add lines like:

     1=/usr/bin/X11/X
     2=/usr/bin/X11/X

to start gdm on multiple displays.  Then you can do a seperate login
with a seperate environment on each display.  Of course, the rest of
your article applies as it is.

Regards,

-- Raju

>>>>> "Praveen" == Praveen Kannan <[EMAIL PROTECTED]> writes:

    Praveen> Hey guys, Check out this new article on running multiple
    Praveen> X-Servers on the same machine written by me on my website
    Praveen> http://spacelinux.cjb.net.  The link is
    Praveen> http://praveen-linux.8m.com/art/mulitple-x-servers.htm .
    Praveen> (original link given to avoid redirection errors) . Hope
    Praveen> you'll find this article useful. Do let me know if there
    Praveen> any typos, suggestions etc.  by mailing me. Bye !!!

-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/
                     It is the mind that moves

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to