When I use Ubuntu 12.04, after I click the "Lock" button from status bar in desktop, it will show the locked screen. I use another computer to ssh to this locked computer. And use command
export DISPLAY=:0
gnome-screensaver-command -d
to unlock the screen. It works well.
But now, I upgrade Ubuntu from 12.04 to 14.04. When I click the "Lock" button from status bar, it will show the new locked screen which looks like the unity-greeter. Then I use the same command as before:
export DISPLAY=:0
gnome-screensaver-command -d
Nothing happens~ I can't unlock the screen by command.
It looks like a bug in Ubuntu. https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/1307163
But is there any workaround to solve this problem?
[update]
I found if we use lock screen command from ssh
export DISPLAY=:0
gnome-screensaver-command -l
it will show the gnome classic screensaver just like Ubuntu 12.04. And use command gnome-screensaver-command -d can unlock the screen.
So is there a way to switch to gnome classical screensaver when click the lock button in status bar?
PS, I have tried CompizConfig Settings Manager, there is not option about changing the lockscreen~~