How to un-blank screen from console

Forum / NoMachine for Linux / How to un-blank screen from console

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44906
    kdwelch11
    Participant

    On a Linux server, a user has the blank screen enabled so that the local screen blanks during NoMachine connections.  If they accidentally leave a virtual session active from home and want to access the physical server locally, how can they deactivate the screen blanking from the command line?  The user does not have permissions to restart nxserver.

    #45019
    Britgirl
    Keymaster

    Hi, “virtual session active” you probably mean the physical desktop session given that your question is about screen blanking.

    A user must be “sudo” in order to disconnect another user By disconnecting that user, the screen will unblank.

    From a terminal, run sudo nxserver --disconnect [sessionID/username/display]

    #45082
    bjlockie
    Participant

    I recently needed to get into a locked computer when the wifi died.

    It would have been nice to have the screen locked but have it ask for the password to unlock the console.

    #45087
    Britgirl
    Keymaster

    If I understand correctly, what you need to do is set the “lock the physical screen on disconnect”. This is useful in conjunction with screen-blanking.

    When the screen blanking feature is activated, the remote screen is blanked, and the remote keyboard and mouse are locked whilst the user is connected by NoMachine. I.e. operations made on the physical screen by the NoMachine user are not shown and the local user cannot interact with the desktop until the NoMachine user logs-out.

    As soon as the session is disconnected, the remote screen is unblanked, mouse and keyboard are released. To avoid this, it’s possible to activate the automatic lock of the screen, even if the user didn’t lock the screen before disconnecting by NoMachine.

    See here more details:

    https://www.nomachine.com/protecting-the-host-screen-during-a-remote-control-session

    and

    How to enable screen blanking and the automatic lock of the screen
    https://kb.nomachine.com/AR07M00851

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

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