I confirm what Antoine said. Try to run either:

sudo apt-get install gdm

or

sudo dpkg-reconfigure lightdm

(if you've already installed gdm but left lightdm as the default login
manager)

and select gdm as the default login manager. The issue is gone. This is
related to the lockscreen used by lightdm which is different from the
one used by gdm. Infact the function which causes the problem is called
"lock". This is the body:

/* Fallback code to handle session locking using gnome-screensaver,
   in case the required GDM dependency is not there
*/
[... some code ...]
lock: function() {
        this._proxy.call('Lock', null, Gio.DBusCallFlags.NONE, -1, null,
                         Lang.bind(this, function(proxy, result) {
                             proxy.call_finish(result);    <------ the cause is 
this call

                             this.emit('lock-screen-shown');
                         }));
    },
[... some more code ...]


The problem is that neither gnome-screensaver nor gdm are installed so none of 
the above mentioned "dependencies" is satisfied (my might-be-wrong personal 
opinion). I didn't try installing gnome-screensaver instead of gdm though, it 
could work too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1057960

Title:
  Suspend does not work in Gnome-Shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1057960/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to