I would like to accessing a remote computer via xpra or vnc or some other desktop sharing way, and

  • on the site of the remote machine , I would like to lock the screen (and optionally make it visible),

  • on my side, I want to keep it unlock and visible to me, so that I can still work on it

I would like to know both ways to make the screen of the remote computer visible and invisible on its site.



What about xtrlock?

xtrlock locks the X server till the user enters their password at the keyboard.

While xtrlock is running, the mouse and keyboard are grabbed and the mouse cursor becomes a padlock. Output displayed by X programs, and windows put up by new X clients, continue to be visible, and any new output is displayed normally.

The mouse and keyboard are returned when the user types their password, followed by Enter or Newline. If an incorrect password is entered the bell is sounded. Pressing Backspace or Delete erases one character of a password partially typed; pressing Escape or Clear clears anything that has been entered.

If too many attempts are made in too short a time further keystrokes generate bells and are otherwise ignored until a timeout has expired.

The X server screen saver continues to operate normally; if it comes into operation the display may be restored by the usual means of touching a key (Shift, for example) or the mouse.

On my Debian system, it's in the repositories:

sudo aptitude install xtrlock
  • Thanks. I would like to not just lock the screen and make it still visible on the machine, but also be able to remotely work on it both unlock and visible to me using vpn or xpra. Can xtrlock allow me to do that? – Tim Mar 15 at 15:00
  • I have updated my post to clarify more. – Tim Mar 15 at 19:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.