Reply To: Configuring default guest sessions

Forums / NoMachine Cloud Server Products / Configuring default guest sessions / Reply To: Configuring default guest sessions

#5142
Avatarnars
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