Seeing two X server when trying to connect

Forum / NoMachine for Linux / Seeing two X server when trying to connect


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #14883

    Hi everyone,

    When I try to connect to my linux server through a Windows client, NoMachine shows me two X servers:

    “X server on :0” and “X server on :20”

    If I connect to the :20 one, it shows me another desktop without a menu bar. It’s like a totally separate desktop. However, the :0 one is my actual desktop.

    I would like to shut the :20 completely down on my linux machine. Does anyone know how I can do that?

    I guess my problem is mainly linux related, but I could only express it through NoMachine.

    Thanks alot,




    In node configuration file (/usr/NX/etc/node.cfg) there is a key which allows to limit
    the physical desktop display available:
    # Specify the physical display or range of X server displays which are
    # made available to NoMachine connections. It is possible to specify a
    # single display by display number, e.g. :0, or by port, e.g. 6000.
    # Range of displays can be specified as a dash separated list,
    # e.g. :0-:7 or, by port number, 6200-6204. By default all displays
    # detected as running will be made available for users.
    #PhysicalDisplays :0

    Set it to :0 and you should see only one display available.
    Depending on the Linux distribution, after login to Login window
    the user’s desktop could start on Display :1 so set a range as :0-:10
    could be better on some distros, and on others :0 is enough.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.