Knowledge Base
Searching in : Article
ID: AR12L00830
Applies to: NoMachine Software
Added on: 2014-12-05
Last Update: 2015-02-11

Running a XDM virtual desktop on Linux

This article applies to all NoMachine server types supporting virtual desktops.

In order to create a new XDM virtual desktop launch the NoMachine GUI on the computer from which you connect and follow steps below .

1. Connect to the server and click on the <Create a new desktop or custom session> link.
   
2. Choose 'Create a new custom session'.

3. Select 'Run the following command' option and specify the command in the format:

   xdm://<mode>[@server[:port]]
   
   where <mode> can be:
   
   server decide (in this case do not specify @server:port)
   query
   list
   broadcast
   
   Note:
   Specifying the port is optional.  If port is not specified, the default XDM port 7000 will be used.

  Some examples:
   xdm://server decide
   xdm://query@192.168.2.250:7000
   xdm://list@192.168.2.250
   xdm://broadcast@192.168.2.250:7000
 


As an alternative, administrators may configure the server (v. 4 or later)  to show all desktop types, included XDM:

1. Edit /usr/NX/etc/server.cfg and set:

   ConnectPolicy autocreate=1,autoconnect=1,automigrate=1,desktop=1  
   
Enabling this key will make the client to list all desktop types set in the AvailableSessionTypes configuration key.
   
2. Connect to the server and click on the <Create a new desktop or custom session> link.

3. Click on the 'Create a new XDM virtual desktop' and choose the proper options to connect the desktop via XDM.