Terminating another user’s NX session as an admin unsuccessful

Forums / NoMachine for Linux / Terminating another user’s NX session as an admin unsuccessful

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42548
    Karthik.V.M
    Participant

    Hi,

    I allowed one of my clients to log into my server using  NoMachine which gives access to the physical monitor. Looks like he has completed his work but has not logged out. Can I know how to terminate his session without troubling him? I tried the below methods but did not work:

    1.  ‘sudo kill -9 <pids>’ where pids are the process id of the NoMachine related processes
    2.  Restart the NoMachine server.

    In both the above cases, the process is respawned by NoMachine daemon.

    Please find more info on the processes I tried to terminate:

    root     3307194 3305217  0 15:19 ?        00:00:00 /usr/NX/bin/nxexec –node –user mhalic –priority realtime –mode 0 –pid 47

    mhalic   3307201 3307194  4 15:19 ?        00:00:00 /usr/NX/bin/nxnode.bin

    Also the NoMachine daemon process which spawned them (identified based on parent pid #) is below:
    nx       3305217       1  0 15:05 ?        00:00:02 /usr/NX/bin/nxserver.bin –daemon

    Any pointer on how to successfuly terminate this session?

     

    System info:

    NoMachine local (Windows 10, free version): 7.10.2

    NoMachine remote (RHEL 8 Linux,  free version): 7.4.1

    GNOME 3.32.2 running on remote Linux box

     

    Thanks,

    Karthik

    #42607
    Britgirl
    Participant

    You could try connecting with ssh and:

    sudo /etc/NX/nxserver --history | grep Connected
    sudo /etc/NX/nxserver --disconnect <session ID>

     

     

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.