Stop screenblanking when screen is locked

Forum / NoMachine for Linux / Stop screenblanking when screen is locked

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32392
    yesmachine
    Participant

    All our workstations are Ubuntu. We are highly considering using NoMachine as the primary way of employees working from home. It works great and is very intuitive.

    There’s just one thing we’d like to solve before rolling it out. For privacy, screen-blanking is enabled. There’s a potential problem that if an employee worked from home, came to work the next day, and forgot to stop his NoMachine connection. Restarting the workstation is not an option is users constantly run heavy operations on their computers.

    One solution I thought of is to somehow make screen-blanking disabled if ubuntu is at it’s lockscreen. This way, an employee could come to the office, press Super (windows key) + L (shortcut to lock the screen), and log back in regularly.

    Is it possible to do? Is there a better way?

    Thanks ahead!

    #32411
    Britgirl
    Keymaster

    Setting the automatic disconnection of the NoMachine user after a certain time of inactivity would mitigate the problem of users forgetting to log off and leaving the session open.

    To enable this feature, edit /usr/NX/etc/node.cfg and set an appropriate value (in seconds) for this key:

    DisplayAgentExtraOptions “-timeout s”

    For example, to disconnect the user after 10 minutes of inactivity, set:

    DisplayAgentExtraOptions “-timeout 600”

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

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