Create a new virtual desktop automatically after login

Forums / NoMachine Terminal Server Products / Create a new virtual desktop automatically after login

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #21435

    Hello all,

    I am using Workstation on a Linux host, we use the product in order to give access to the users using web player (mostly windows using chrome or IE) to reach their own desktop. We would need to minimize the user interaction and I would like to know if it is possible that after the first login from the player the new virtual desktop option starts automatically (no option to customize desktop is needed and every time that a user connect, he will create a new virtual desktop connection).

    Thanks for your help

    Best regards



    Hello oolmedo,

    In order to implement behavior you have described, you will need to use custom scripts.
    When do you want to run virtual desktop?

    a)Run new virtual desktop every time every time user connects.

    b)Run new virtual desktop only the first ever login from user.

    c)Run new virtual desktop only in case user has no running virtual desktops.


    Hello Gega,

    Definitely, I would need to implement the option a that you describes. Also, I wonder if when the user disconnects the virtual desktops are stoped or killed (I would need to kill them all when the user logout)

    Thanks for your reply

    Best regards



    There’s an upcoming FR which will be available in the next version of NX – This FR will be enough to cover your case.

    Before this FR is implemented you can do it this way:

    Set DisablePersistentSession all, in server.cfg, what this will do is that virtual desktops will be terminated upon disconnection.

    Next remove everything from AvailableSessionTypes key and leave only unix-xsession-default:
    AvailableSessionTypes unix-xsession-default.

    This will make default virtual desktop as only available session. After this change, webplayer will start new virtual session upon login. If you’re using nxplayer, nxplayer will show only one icon “new virtual desktop icon” – to start a new session you simply click on it.

    To save this behavior the user could switch shown desktops from “all desktops” to “my desktops”; after this change if same connection is used, the user will start a new virtual desktop after login, without the need for clicking a new session again.

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

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