How to kill a remote session from physical display

Forum / NoMachine for Linux / How to kill a remote session from physical display

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14428
    fermulator
    Participant

    A typical scenario is remotely connecting to the physical display of a workstation.

    (say, connecting to my system at home from a different location)

    Rarely, I forgot to disconnect on the client side (oops), and when I return to my physical workstation, I find that I’m unable to “take back control”.

    What is the recommended way for a user to take back control at the physical display

    Requirements are:

    * non-auth’d users must not be able to “take back display” to avoid others from disrupting someone accessing the workstation remotely (use case: office/home, owner of workstation is remotely connected to physical display, and we must prevent user, non-owner, from disconnecting the remote session)

    * The owner of the workstation must be able to “take back display” (by password AUTH?), to disconnect a remote session, if at the physical display. (how this is done would ideally be “physical mouse/keyboard input”, prompts for password to disconnect remote;  alternatively or additionally, switch to different PTY, and run a NoMachine command to disconnect remote connections)

    #14531
    Britgirl
    Keymaster

    If you have NoMachine virtual desktop sessions running you can do (via ssh):

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

    (We’re currently evaluating simpler nxserver commands).

    Otherwise, a simple restart via ssh.

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

This topic was marked as solved, you can't post.