The NoMachine’ user home directory is located on a NFS share. By terminating an exisiting NM session of that user with “/etc/NX/nxserver --terminate
” stale NFS handles are left, i.e. I can’t remove that users home directory:
socvm400:/root# /etc/NX/nxserver –list
NX> 127 Available sessions:
Display Username Remote IP Session ID Node
——- ———— ————- ——————————– ————–
1002 7367004E7853E525EA710E6F6ADB0DD3 localhost:4000
socvm400:/root# /etc/NX/nxserver –terminate
NX> 900 Terminating session with id: 7367004E7853E525EA710E6F6ADB0DD3
NX> 900 Session id: 7367004E7853E525EA710E6F6ADB0DD3 terminated.
socvm400:/root# su –
Last login: Fri Oct 18 17:28:20 CEST 2024 on pts/0
socvm400:/home/$ cd ..
socvm400:/home$ rm -rf
rm: cannot remove ‘/.nx/node/F-C-socvm400-1002-7367004E7853E525EA710E6F6ADB0DD3’: Directory not empty
socvm400:/home$ ls -al /.nx/node/F-C-socvm400-1002-7367004E7853E525EA710E6F6ADB0DD3
total 12
drwx—— 2 users 4096 Oct 21 09:41 .
drwx—— 3 users 4096 Oct 21 09:40 ..
-rw——- 1 users 2016 Oct 21 09:40 .nfs0000000049b1009b00000011
Does anybody has an idea how to resolve this issue?
Server: RHEL7.9, NoMachine 7.8.2
Client: RHEL7.9, NoMachine 7.8.2
Virtual desktop
KDE 4.14.8
br,
Ruediger