This page is a part of XConnectPro online Help Manual.
XConnectPro is X Server for windows by Labtam bringing your PC to Unix and X-Windows. Visit Home of X Server for windows for more information.



Running Several X-sessions

Different X-sessions running simultaneously on your PC must use different Display Numbers. So you have to launch each X-session with a proper ini-file specified in a command line when invoking XServer. These ini-files must differ at least by Display Numbers. You may specify other settings of the ini-files as different as you need for particular X-sessions.

Example

  1. Create two copies of your current ini-file, xwp.ini, with names session0.ini and session1.ini

  2. Create two copies of the XSettings shortcut with names XSettings0 and XSettings1 and specify the ini-files for them respectively

  3. Launch XSettings with XSettings0, specify 0 for Display Number, and exit

  4. Launch XSettings with XSettings1, specify 1 for Display Number, and exit

  5. Create two copies of the XSession shortcut with names XSession0 and XSession1 and specify the ini-files for them respectively.

Another way (without creating two XSettings shortcuts) is as follows:

  1. Create two copies of your current ini-file, xwp.ini, with names session0.ini and session1.ini

  2. Create two copies of the XSession shortcut with names XSession0 and XSession1 and specify the ini-files for them respectively

  3. Launch X-session with XSession0, launch XSettings from the XServer/Run menu, specify 0 for Display Number, and exit from both programs

  4. Launch X-session with XSession1, launch XSettings from the XServer/Run menu, specify 1 for Display Number, and exit from both programs

Now you can run these two XSessions at the same time - XSession0 with Display Number 0 and XSession1 with Display Number 1 (both for your display).

If you want three XSessions to run simultaneously, then, in addition to above:

  1. Create a copy of one of your ini-files and give it a name session2.ini

  2. Create a copy of the XSettings shortcut with a name XSettings2 and specify the ini-file for it

  3. Launch XSettings with XSettings2, specify 2 for Display Number, and exit

  4. Create a copy of the XSession shortcut with a name XSession2 and specify the ini-files for it.

Then you may run these three XSessions at the same time - XSession0 with Display Number 0, XSession1 with Display Number 1 and XSession2 with Display Number 2 (all for your display).

To specify an ini-file in these shortcuts, see section Running XServer with Command Line Parameters in this chapter.

Another way to launch several X-sessions simultaneously is to use the DynamicDisplayNumber, XTcpPort, and XsessionTitle settings described in section The "[XSETUP]" Section of the ini-file below.






Home | Product | Download | Order Now | Upgrade | Support | Pricing | Company Information | Contact Us


Labtam Copyright 1999 - 2009 LabtamTM Inc.