March 2, 2022 at 16:47 #37755
I’ve installed one NoMachine Enterprise Terminal Server 7.7.4 and three NoMachine Terminal Server Nodes 7.7.4 in a multi-node-environment with load-balancing disabled and manual-selection enabled, all on RedHat Enterprise.
All three nodes provides desktops for Gnome, KDE and XFCE. On one of the nodes I want to disable KDE and Gnome.
I’ve set “AvailableSessionTypes xsession-xfce” in server.cfg and node.cfg as described in https://knowledgebase.nomachine.com/AR07P00989 on one node.
When I syncronize the node with
nxserver --nodeupdateon the server, the server replies that the gnome-sessions is available and I can start the Gnome sessions in the NoMachine client
NX> 187 Session types available on node: xsession-xfce,xsession-xfce,xsession-gnome-custom-session,xsession-gnome-xorg,xsession-gnome
I can’t deinstall gnome, because I need some packages which have dependencies on that. How can I disable access to Gnome sessions?
Regards,March 3, 2022 at 09:54 #37770
Please set in the server.cfg and node.cfg
and in node.cfg edit DefaultDesktopCommand.
DefaultDesktopCommand /usr/bin/startxfce4March 3, 2022 at 10:44 #37771
sorry, this has not fixed the problem.
nxserver –nodeupdate node002.mynet.local:4000
NX> 187 Session types available on node: virtualdefault,xsession-xfce,xsession-gnome-custom-session,xsession-gnome-xorg,xsession-gnome
and I can choose Gnome in the NoMachine client for this node.March 3, 2022 at 15:17 #37774
Please apply requested change in the node.cfg file on the required Terminal Server Node that you want to allow only Xfce4 session.March 4, 2022 at 08:15 #37781
I’ve changed the node.cfg on the Terminal Server Node as you reccommended. This has no effect, Gnome is still available on this node.March 4, 2022 at 10:47 #37786
I have just tested and following this, we will limit NoMachine to use ONLY xfce4 on the requested node
On the node “node002.mynet.local”, please update keys in the node.cfg with:
AvailableSessionTypes unix-xsession-default DefaultDesktopCommand /usr/bin/startxfce4
then on the Enterprise terminal server execute
nxserver --nodeupdate node002.mynet.local:4000
in the nodeupdate command you will see output with
NX> 187 Session types available on node: unix-xsession-default
unix-xsession-default listed there means that on that specific node, only DefaultDesktopCommand /usr/bin/startxfce4 session will be started.
If this still does not work, send us your output of the command
--nodelist, output of the command
--nodeupdateafter editing node.cfg file, and node.cfg file from the requested node.
Please note this that if you have automatic node selection, sessions will be started possibly on the node where gnome is enabled.
In case you want to disable automatic node selection, please check following document: DT11R00178 – NoMachine Enterprise Terminal Server – Installation and Configuration Guide.March 5, 2022 at 21:17 #37800
I’ve found the solution for my environment.
I need to set in node.cfg of the node:
DefaultDesktopCommand /usr/bin/startxfce4 AvailableSessionTypes unix-xsession-default,xsession-xfce
and in server.cfg of the node
xsession was set to 1 in my server.cfg on the node.
Thank you for your help, this topic can be marked as solved.
This topic was marked as solved, you can't post.