I use NoMachine at work on a corporate license, and I would like to use it at home on a Fedora 36 system. I can start a display from the F36 console (“startx”), and that works. NoMachine can connect to that display, but if no display is running it can’t start one – I get the “cannot find the default environment…” popup.
I’ve tried the following in /usr/NX/etc/node.cfg:
#DefaultDesktopCommand "/etc/X11/Xsession default"
DefaultDesktopCommand "/etc/X11/Xsession gnome-session --session=gnome'"
#DefaultDesktopCommand "/usr/bin/gnome-session"
#DefaultDesktopCommand "/usr/bin/startx"
(the uncommented line is what works for me at work, but not at home)
What I want is a gnome session that can be resized to fit full-screen on my monitor (which is QHD – 3440×1440) – which does not work if I’m connected to a display that is bound to an actual monitor on the Linux box.
[jmg@fedora ~]$ sudo /etc/NX/nxserver --version
NoMachine – Version 8.3.1
Client is also 8.3.1, on a Mac running Ventura.
Any tips would be appreciated!