Reply To: Two sessions created with each connection

Forums / NoMachine Cloud Server Products / Two sessions created with each connection / Reply To: Two sessions created with each connection

#766
Avatarreza
Moderator

When the user runs a virtual desktop session, the server creates a new desktop.
This desktop is listed in the session list (displayed by ‘nxserver –list’)
and corresponds to the entry with the actual DISPLAY. At the same time,
the server adds the user’s connection to the session list: this is the
entry with the IP of the connected client.

There are actually 2 node instances. One is the display session itself,
the other is the user session connecting to that display.

The connection entry is present until the user closes (disconnects) the
session. If the user makes logout (i.e. terminates the session), both
desktop and connection entries are removed from the session list
and disappear from the ‘nxserver –list’ output.