How can I make the shutdown button shutdown, instead of logout, in Xubuntu?

Asked by Daniel Drucker on 2014-09-04

In Xubuntu 14.04, using the xubuntu-desktop, if I push the physical power button on my computer, a panel pops up asking if I would like to log out, restart, or shut down.

If I select "shut down", I am logged out. Expected behavior: computer shuts down.

How can I configure it to do the correct thing? This is a vanilla, totally out of the box setup.

Question information

English Edit question
Ubuntu xubuntu-meta Edit question
No assignee Edit question
Last query:
Last reply:

If you run:

sudo shutdown -h now

Does it shutdown ok?

Daniel Drucker (dmd-c) said : #2

Yes, that works fine. And selecting 'shutdown' from the action menu works fine, and selecting shutdown from the lightdm screen works fine. It's only the shutdown button on that panel that logs out instead of shutting down.

Daniel Drucker (dmd-c) said : #3 I'm referring to this panel.

Try adding the boot option :


May help

Daniel Drucker (dmd-c) said : #5

No, that does not help.

Chris Rainey (ckrzen) said : #6

Is this still a problem with Xubuntu 18.04/18.10? I think that the logout dialog is comprehensive now.

Can you help with this problem?

Provide an answer of your own, or ask Daniel Drucker for more information if necessary.

To post a message you must log in.