Reply To: nxnode process running even after logout

NoMachine for Linux / nxnode process running even after logout / Reply To: nxnode process running even after logout

#53557
Frank SteinerFrank Steiner
Participant

Hi,

the systemd session is running because some daemons started during the X11 login are not terminating when the user logs out. That’s stuff like gvfs daemons, but those are all no interactive and keep running even when the displaymanager/login manager is stopped. And a systemd session wouldn’t be a reason for running nxnode as such one is spawned also when the user logins via ssh, not graphically.

The Xorg process is not running for user tester, it never does. The Xorg process always belongs to the user root no matter if a user is logged in or not. That’s how kdm handles it. Maybe that is confusing NX somehow? gdm is doing it a different way: after logging in there is /usr/bin/X processed owned by the user:

tester   25968  5.4  0.2 581132 91324 tty2     Sl+  12:32   0:00 /usr/bin/X vt2 -displayfd 3 -auth /run/user/19036/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3

But for kdm the is always only the one Xorg process belonging to root.