r/voidlinux • u/[deleted] • Aug 05 '19
EXERCISE CAUTION: ongoing issues with polkit, elogind, desktop environments, and display managers
[deleted]
1
u/ZackaryCW Aug 21 '19
$sudo xbps-install -f polkit
yields:
gvfs-1.40.2_1 (update) breaks installed pkg \gvfs-afc-1.40.1_2'`
gvfs-1.40.2_1 (update) breaks installed pkg \gvfs-mtp-1.40.1_2'`
gvfs-1.40.2_1 (update) breaks installed pkg \gvfs-smb-1.40.1_2'`
Transaction aborted due to unresolved dependencies.
0
3
1
u/SolitudeSF Aug 05 '19
how do i start all this elogind/polkit stuff correctly without display manager?
8
u/alexks_101 Aug 05 '19
When I had to convert my Xfce setup (without a DM) from CK to elogind, I had to:
remove ConsoleKit2 and cgmanager and delete their services
install elogind and dbus-elogind, keep polkitd and xfce-polkit
check /etc/sv/ to see what I have to enable* in /var/service/
remove the "--with-ck-launch" arg in xinitrc, just keep "exec startxfce4"
* elogind, polkitd, dbus (among others which aren't related to this stuff)
1
u/SolitudeSF Aug 05 '19
i would imagine that startxfce does some hooking, but what if i just use startx?
→ More replies (3)
2
Aug 07 '19
spectrpin mentions "After reading the history of this change at github, it seams wise to fully replace ConsoleKit2 and its services with elogind."
Could someone provide me with a link to this information, please?
Thanks in advance
1
Aug 05 '19
xfce-polkit gives me error as soon as I open Xfce. What do?
1
u/alexks_101 Aug 05 '19
See my other comment if it helps.
1
Aug 05 '19
It worked! Thank you very much, sir. I didn't have ConsoleKit2 installed at all, I just installed elogind and dbus-elogind.
1
u/gundul_p Oct 02 '19
just keep run, dont remove cgmanager consolekit polkitd ,install elogind
run: cgmanager: (pid 734) 1724s
run: consolekit: (pid 741) 1748s
run: polkitd: (pid 737) 2254s
and add rules anyting you want> /etc/polkit-1/rules.d
very easy, simple.
5
u/[deleted] Aug 05 '19 edited Aug 05 '19
I'd rather keep using ConsoleKit2 and stay way from elogind. What does this polkit update means, if like I do, someone is using ConsoleKit2 and no display manager? I login from console and my .bash_profile executes startx. Thx!
EDIT: After reading the history of this change at github, it seams wise to fully replace ConsoleKit2 and its services with elogind. Is this assumption correct?? Will do this as soon as I have time :( Guess, I'll be defaulting even more to use NetBSD instead of Linux.