Forum / NoMachine for Linux / Connect only if the user is logged Ubuntu 26 NX 9.4.14
- This topic has 10 replies, 2 voices, and was last updated 2 weeks, 2 days ago by
froZZen.
-
AuthorPosts
-
April 29, 2026 at 12:15 #55934
froZZenParticipantUbuntu 26.04 NoMachine 9.4.14
The connection occurs only if the user is logged in and the screen is not locked.
How to set this up correctly?
May 4, 2026 at 18:15 #55952
BritgirlKeymasterCan you tell us what desktop environment you are connecting to? Logs from the Ubuntu machine would be useful as well. Go to the NoMachine settings on the Ubtunu server, security -> log level debug, restart, reproduce the problem, collect the logs (Take logs from the same Security panel) and share them with us. You can attach here or send directly to forum[at]nomachine[dot]com. In the case of the latter, please use the title of this topic as the subject of your email. Thanks.
May 5, 2026 at 07:22 #55953
froZZenParticipantUbuntu 26.04 – desktop – only Wayland
I sent three server log archives by email:
1. Before user login – error
2. After user login, screen locked – error
3. Screen unlocked – successfulThanks.
May 11, 2026 at 08:40 #55964
BritgirlKeymasterHi,
thanks for submitting the logs. It appears there is something wrong with the ‘gdm-greeter’ system user that is used for the login. The
debug --collectthat is in our logs procedure did not find your home directory and so we have no logs from there. You will need to gather them manually.By default on Ubuntu 26.04 the home directory should be in
/run/gdm3/home/gdm-greeter/. But since something is wrong they might be in another place. The command:echo ~gdm-greetershould point to them. We need the whole .nx directory that you find there. Zip that up and send as before 🙂
Can you also tell us if this is a fresh install or is it an update from another version. If it’s the latter, what version were you updating from? Also useful is any journalctl output from the last boot:
journalctl -b -1 > journal.logMay 11, 2026 at 10:46 #55965
froZZenParticipantHi,
Ubuntu 26.04 – fresh install
The system user ‘gdm-greeter’ is missing
May 21, 2026 at 09:02 #56013
BritgirlKeymasterIt sounds more like something is broken on the system OS. There are references in logs to ‘/run/user/60578/’ so this directory has to be present. Maybe you could investigate the user with uid 60578?
May 21, 2026 at 09:18 #56014
froZZenParticipantHi,
It sounds strange, but a user with such an uid 605787 does not exist, and the specified directory(‘/run/user/60578/’ ) does not exist either. Completely clean installation Ubuntu 26.04.
May 22, 2026 at 09:35 #56035
BritgirlKeymasterTo make sure the NoMachine logs are preserved is to edit the node.cfg file and set the key ‘UsersDirectoryPath’ to a directory that can be accessed by everyone e.g. to the main NoMachine log directory:
UsersDirectoryPath "/usr/NX/var/log/users"then ensure the directory is available for everyone:
sudo mkdir /usr/NX/var/log/users sudo chmod 777 /usr/NX/var/log/usersthen please restart NoMachine:
sudo /etc/NX/nxserver --restartand try to connect to Login Window again and collecting logs using
sudo /etc/NX/nxserver --debug --collectMay 22, 2026 at 10:07 #56036
froZZenParticipantHi,
I did everything described above, and also updated HX to version 9.5.7, and… everything worked!
Thanks, Britgirl!
May 22, 2026 at 16:38 #56042
BritgirlKeymasterSo you can now connect without any problems? Good to know.
May 25, 2026 at 07:22 #56051
froZZenParticipantIt seems to be working as expected.
-
AuthorPosts
You must be logged in to reply to this topic. Please login here.
