Configuring default guest sessions

Forum / NoMachine Cloud Server Products / Configuring default guest sessions

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5060
    spookydude
    Participant

    I’m currently building a POC system to allow guests to access desktop sessions on an Enterprise Server 4.3 installation.

    Guests successfully log in but are prompted with a ‘Custom Session’ dialogue whereas we would prefer if they are automatically logged into the DefaultXSession.

    I’ve attempted to disable all other session types for guest accounts but guests are still prompted with the Custom Session dialogue.

    Is there a way to set a default session for guest accounts?

    #5142
    nars
    Contributor

    Hi, spookydude

    Please note that it’s currently impossible to automatically start Custom session set to “Run the default X client script on server”.

    However it’s possible to automatically start a Default session and you can adjust it to whatever you need.

    Please change DefaultDesktopCommand key in /usr/NX/etc/node.cfg to command you prefer.

    To configure server to run automatically default virtual desktop you should use profiles to disable all other session types except of unix-xsession-default for guest users by executing:

    /usr/NX/bin/nxserver –ruleadd –class session –type physical-desktop –value no –guest

    /usr/NX/bin/nxserver –ruleadd –class session –type unix-console –value no –guest

    /usr/NX/bin/nxserver –ruleadd –class session –type unix-default –value no –guest

    /usr/NX/bin/nxserver –ruleadd –class session –type unix-application –value no –guest

    /usr/NX/bin/nxserver –ruleadd –class session –type vnc –value no –guest

    /usr/NX/bin/nxserver –ruleadd –class session –type windows –value no –guest

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

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