XFCE - can't shutdown/reboot

Everything about X, Gnome, KDE, ... and everything running on it

XFCE - can't shutdown/reboot

Postby kdeready » 2018-03-07 22:44

I installed XFCE on Sid. First issue was I couldn't open Synaptic - that was because there was no policy kit installed. I installed policykit-1-gnome and it worked. But I still can't shutdown/reboot - nothing happens when I do that.
I tried starting XFCE through LightDM and startx. What am I missing?
kdeready
 
Posts: 10
Joined: 2018-02-27 11:27

Re: XFCE - can't shutdown/reboot

Postby stevepusser » 2018-03-07 22:50

Run stable if you really want things to "just work".
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 28.0.0, wine-staging 3.13, qBittorrent 4.1.2, Linux kernel 4.17.14, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9802
Joined: 2009-10-06 05:53

Re: XFCE - can't shutdown/reboot

Postby kdeready » 2018-03-08 08:59

Same thing happens in Stretch, I just checked.

First shutdown attempt - nothing happens.
Next attempts:
Received error when trying to log out
Session manager must be in idle state when requesting a shutdown


EDIT: Solution found. Installing package x11-xserver-utils fixes the problem. I wonder why it's not marked as a dependency. Same with policykit-1-gnome.
kdeready
 
Posts: 10
Joined: 2018-02-27 11:27

Re: XFCE - can't shutdown/reboot

Postby stevepusser » 2018-03-08 18:28

In Stretch, xfce4-session depends on it. I can't really see how you installed xfce4 without it.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 28.0.0, wine-staging 3.13, qBittorrent 4.1.2, Linux kernel 4.17.14, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9802
Joined: 2009-10-06 05:53

Re: XFCE - can't shutdown/reboot

Postby ticojohn » 2018-03-08 19:56

stevepusser wrote:In Stretch, xfce4-session depends on it. I can't really see how you installed xfce4 without it.

Not an expert here, but I've been using Stretch and XFCE for quite some time and have never had a problem with shutdown/reboot.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 801
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: XFCE - can't shutdown/reboot

Postby kdeready » 2018-03-12 22:28

stevepusser wrote:In Stretch, xfce4-session depends on it. I can't really see how you installed xfce4 without it.

It doesn't, it's recommended.

Another issue with XFCE someone might have:
If xfce4-notifyd service doesn't start for you and you're using startx instead of a desktop manager, don't create a .xinitrc file with just "exec startxfce4" in it. Instead, copy /etc/X11/xinit/xinitrc to your home folder, rename to .xinitrc and add "exec startxfce4" at the end of it. Or, if XFCE is you only DE, you don't need .xinitrc in your home folder at all.
kdeready
 
Posts: 10
Joined: 2018-02-27 11:27

Re: XFCE - can't shutdown/reboot

Postby Kali93 » 2018-04-25 22:50

I got this error message yesterday on a fresh debian 9 installation with xfce. X11-xserver-utils is installed. The last times the system shut down with no issues.

What's a bit strange. When shutting down last week there where some messages on the black screen written from top left to bottom right, just before the pc went off. The messages are gone now and the PC immediately switches off. What's the normal behavoir? Just off without messages? Maybe it's related to saving the last session, cause this is the only thing I have changed.
Kali93
 
Posts: 5
Joined: 2018-04-21 11:04

Re: XFCE - can't shutdown/reboot

Postby stevepusser » 2018-04-25 23:55

kdeready wrote:
stevepusser wrote:In Stretch, xfce4-session depends on it. I can't really see how you installed xfce4 without it.

It doesn't, it's recommended.

Another issue with XFCE someone might have:
If xfce4-notifyd service doesn't start for you and you're using startx instead of a desktop manager, don't create a .xinitrc file with just "exec startxfce4" in it. Instead, copy /etc/X11/xinit/xinitrc to your home folder, rename to .xinitrc and add "exec startxfce4" at the end of it. Or, if XFCE is you only DE, you don't need .xinitrc in your home folder at all.


Debian installs recommended packages by default. If you're going to change that manually and then wonder why something won't work, you should at least mention that when asking for help.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 28.0.0, wine-staging 3.13, qBittorrent 4.1.2, Linux kernel 4.17.14, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9802
Joined: 2009-10-06 05:53

Re: XFCE - can't shutdown/reboot

Postby spacex » 2018-04-30 22:08

I stick with stevepusser on this. Unless you actually want the learning curve by fixing things post-install, you should stick with the default install. You can't do a minimal install without the recommends, and expect that everything will work properly OOTB. There is a reason why packages are recommended. In many cases you will lack functionality without them. If you do know exactly which ones you need, or don't need, or want to learn by trial and error, go ahead. More power to you. But don't complaint about it :)
spacex
 
Posts: 637
Joined: 2015-01-17 01:27


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable