Hello, I think that I found a solution... I tested (and retested) and it works 
for me.
To discover what's the problem that was causing the longer time I executed

    $ tail -f ~/.xsession-errors

and then I executed

    $ gnome-session-save --kil

that is the same command that runs when you click on "Session > Quit" button.
After some time I got the following message

    ** (x-session-manager:7532): WARNING **: Couldn't connect to
PowerManager Did not receive a reply. Possible causes include: the
remote application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network connection
was broken.

It occurs for me because I disabled the gnome-power-manager of session startup 
(I have a desktop, so it's unecessary).
To solve the bug I opened the "System > Preferences > Sessions" and added the 
gnome-power-manager as a startup program.

Anybody can confirm if it really solves the problem?

-- 
System -> Quit takes a long time to appear
https://bugs.launchpad.net/bugs/123078
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to