Why node ID is different than physical display number?

Forum / NoMachine for Linux / Why node ID is different than physical display number?

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #48975
    mldm9
    Participant

    Hello,

    I have a question regarding the physical display / node ID numbering.
    When I connect to my workstation, the physical display is correctly referenced as :1.
    However, when I choose this display, the node ID is then referenced as 1002 (or whatever).

    If I run echo $DISPLAY, I get “:1” and not :1002. If I set the DISPLAY variable to :1002, no windows are shown anymore in my physical display. I dont understand why the node ID is not set to 1.

    Any advice or justifications are welcome!

    Thank you

    #49077
    Britgirl
    Keymaster

    As you know, the X server display is a communication port used by X applications. Since it is a basic information for an X server, we used it also as an ID for our display servers. Also, it is of course unique since two display servers can’t use the same port, and this is the reason why they’re different. The base port for our servers start by default to 1001 and is increased depending on running displays, free ports, etc. You can change that value through configuration files, if you prefer.

    Please note that, when running in mirror mode, our display server doesn’t accept connections on its port, so setting the DISPLAY variable to our display server ID value is useless. On the other side, by changing the correct connection port to your X applications, they’ll fail to connect to your physical display server and open their windows.

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

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