views:

63

answers:

1

How would you lock the screen of an active X session, through an SSH connection? My test platform is Ubuntu 10.04.

The command "gnome-screensaver-command --lock" works when run from inside the X session, but fails from the SSH session, presumably because SSH doesn't have immediate access to X. Is there a workaround?