Preload headless session

Forum / NoMachine for Linux / Preload headless session

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9643
    devrandom
    Participant

    Is it possible to preload the NoMachine virtual session on a headless linux server?

    For example by command line?

    Tried:

    ./nxserver –startsession type=”physical-desktop” –display=:1001.0

    But this command gives no feedback.
    Autostarting the headless session on boot would allow to start graphical programs automatically.
    Currently I’m using Xvfb for this future, but NoMachine’s headless session is more comfortable (screen resize…)

    #9740
    Mth
    Contributor

    The free version of NoMachine has a preloadable virtual session to use in headless environments. This can be controlled by three keys in server.cfg:

    Setting CreateDisplay to 1, and then adjusting DisplayOwner and DisplayGeometry to your need.

    The startsession command will start Xsession specified in command parameters, or defined by DefaultDesktopCommand config key by default, but only on an already existing Xserver.

    #9844
    devrandom
    Participant

    Works perfect! Thanks

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

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