Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xfce4 power/logout issues [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Wed Aug 23, 2017 4:21 pm    Post subject: Xfce4 power/logout issues [SOLVED] Reply with quote

1. xfce4-power-manager, when started from settings menu, shows an endless "Xfce4 power manager not running. Do you want to start it now?" dialog. Click Yes or No, instantly pops back up, ad infinitum. Must be killed in terminal.

2. Log out: Every option except logout is greyed out.

DM is lightdm.

Starting consolekit results in Xfce4 being useless. No programs start, logout dialog does not appear, must alt-Fn to console, kill xdm pid and stop consolekit.

3. Quirk, not real problem: pulling in upower use flag results in being unable to change Xfce4 appearance. Can select any style I want, but Xfce4 maintains default look regardless.

Have been searching, tried some things, no luck yet.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.


Last edited by audiodef on Thu Aug 24, 2017 4:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Wed Aug 23, 2017 5:29 pm    Post subject: Reply with quote

Uh, weird...

You've had lightdm running without consolekit since xfce borks with consolekit running? Your setup sounds pretty broken... or is this after a recent update?

Consolekit is necessary with upower to allow for the log out options hibernate/sleep/etc. to show up.

I'd probably carefully look at your USE flags and start with a deep reemerge with --newuse. Perhaps even with --emptytree ... Also make sure your etc-update/dispatch-conf is up to date.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Wed Aug 23, 2017 7:48 pm    Post subject: Reply with quote

Should consolekit be in the default runlevel? It was emerged and set as a use flag, but never added to a runlevel. I just added upower and emerged -uDN, which pulled in upower and deps, but didn't actually change anything functionally. I'm currently running emerge -e @system @world because I'm just that stumped.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Wed Aug 23, 2017 8:10 pm    Post subject: Reply with quote

Yes, consolekit should be started as an rc-service:

Code:
# rc-update add consolekit default


You should see a process /usr/sbin/console-kit-daemon running.

However I would think lightdm (service xdm) should have started consolekit, and adding it would be superfluous... Won't hurt though.

Hopefully that emptytree fixes things, and make sure consolekit starts.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Thu Aug 24, 2017 4:11 pm    Post subject: Reply with quote

emerge -e worked. Still not sure what went wrong or why emptytree fixed it, but it's all fixed.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Thu Aug 24, 2017 4:36 pm    Post subject: Reply with quote

You probably had a dirty USE flag somewhere that was changed in make.profile, make.conf, or package.use, but it didn't completely apply to all packages on the system - or two packages had conflicting USE flags. The --emptytree forced all packages to resync all the USE flags and that's what fixed the issue.

Yeah, it probably is possible to cherry pick the packages to rebuild but emerge -e tends to fix a lot of problems. At the very least, everything is now built with fresh gcc and glibc :D
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum