You are not logged in.
I noticed on the systemd wiki it says its now possible to replace the now un-maintained consolekit's functionality with systemd, but I had some concerns before trying it, and was wondering if anyone has tried this yet.
1. I noticed the polkit-systemd package in the aur is marked out of date since june. Should I just build it myself with the abs?
2. GDM and Gnome-Session still seem to require consolekit to be installed, if I have a systemd enabled polkit will they still try and use consolekit, or do they just support both at runtime?
Offline
I noticed on the systemd wiki it says its now possible to replace the now un-maintained consolekit's functionality with systemd, but I had some concerns before trying it, and was wondering if anyone has tried this yet.
1. I noticed the polkit-systemd package in the aur is marked out of date since june. Should I just build it myself with the abs?
2. GDM and Gnome-Session still seem to require consolekit to be installed, if I have a systemd enabled polkit will they still try and use consolekit, or do they just support both at runtime?
I just put a polkit package with systemd support (and CK support, if everything works as intended) up here: <https://dev.archlinux.org/~tomegun/>.
(That's clearly not all you need, but hope it helps a bit).
Offline
I just put a polkit package with systemd support (and CK support, if everything works as intended) up here: <https://dev.archlinux.org/~tomegun/>.
(That's clearly not all you need, but hope it helps a bit).
Is there a plan to remove Console kit -make it optional for the systemd crowd- in the (not so distant) future ???
Offline
2. GDM and Gnome-Session still seem to require consolekit to be installed, if I have a systemd enabled polkit will they still try and use consolekit, or do they just support both at runtime?
I think you should rebuild them without the ck dep...but i'm not sure. I'm waiting for ck removal too (hope with gnome3.6 ck will be completely removed from gnome, and then from every de).
@tomegun, is there a possibility that your polkit with systemd support will hit some repo?
Thanks!
Offline
Hello,
i'm also interested in replacing console-kit. Is there a list of packages which have to be build with systemd support? And do i have to make changes to my pam config?
Regards,
Robert
Offline
xfce4-session must also be altered, but there is no patch yet. As far as I know it uses consolekit only for shutdown and restart, so it is not too difficult.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
@tomegun, is there a possibility that your polkit with systemd support will hit some repo?
I committed it to SVN, but it depends on the maintainer (JGC), and on whether or not any problems crop up with it.
Offline
I just tested—you still have to recompile polkit, but the versions of gdm and gnome-session in the repos can be used with a ck-less systemd without having to recompile them.
So:
recompile polkit with systemd
remove consolekit with pacman -Rdd consolekit
restart
and everything should still work.
Offline
I followed the steps Runiq layed out a couple days ago, and still can't mount anything. I'm not sure where to start debugging; is the wiki incorrect on this? tomegun, is your package different in any way other than "--enable-systemd" being added to the build section of the PKGBIULD?
Last edited by ANOKNUSA (2012-09-01 14:51:06)
Offline
installed tomegun's polkit and removed consolekit using Rdd as suggested by Runiq. Seems to be working fine, I can mount removable drivers, smb shares etc.. in nautilus and gdm works fine. However after doing this for some strange reason the gnome-shell networkmanager applet is showing the wired connection icon (computer screen) when I am connected to wireless instead of the wireless bars (otherwise the applet is working totally fine). Not sure if removing consolekit caused it or the polkit package, not a big deal though.
EDIT: I also can't access the advanced networking options in the gnome network settings now, its greyed out. Perhaps gnome still has some bugs with systemd only setup. I'll try again when gnome 3.6 comes out ![]()
Last edited by bwat47 (2012-09-01 16:10:02)
Offline
@bwat47: you need to recompile NetworkManager with systemd/logind support.
Offline
@bwat47: you need to recompile NetworkManager with systemd/logind support.
Ugh, I wish these projects would support systemd as a runtime option rather than compile time!
Offline
installed tomegun's polkit and removed consolekit using Rdd as suggested by Runiq. Seems to be working fine, I can mount removable drivers, smb shares etc.. in nautilus and gdm works fine. However after doing this for some strange reason the gnome-shell networkmanager applet is showing the wired connection icon (computer screen) when I am connected to wireless instead of the wireless bars (otherwise the applet is working totally fine). Not sure if removing consolekit caused it or the polkit package, not a big deal though.
EDIT: I also can't access the advanced networking options in the gnome network settings now, its greyed out. Perhaps gnome still has some bugs with systemd only setup.
A clarification: I just recompiled polkit with ABS (version 0.105 vs. tomegun's 0.107). At first I also recompiled gdm and gnome-session, found that everything worked, and worked my way back to a minimal working version. I eventually ended up using the recompiled gdm and gnome-session packages, though; but that was mainly to get pacman to shut up about the unresolved consolekit dependency.
still can't mount anything. I'm not sure where to start debugging
How do you mount things? I'm using a custom Python script that runs udisks over dbus in the background, so I need a working udisks.service and a working dbus session bus (check for DBUS_SESSION_BUS_ADDRESS and, for good measure, see that loginctl shows an active session for your user).
Last edited by Runiq (2012-09-01 16:23:29)
Offline
Using xfce 4.10...replaced polkit with tomegun's one, but i can't mount as user, it needs my password. Probably i should recompile xfce4-session with systemd support, while gnome for example, already has runtime systemd support, i guess.
But i was wondering: can you hibernate/suspend too from the user menu, without consolekit?
EDIT: well, I finally managed to get it working!
I enabled systemd support in repo's polkit, removed consolekit with "pacman -Rdd" and now i'm fine! I'm using this kind of service to start xfce4: https://wiki.archlinux.org/index.php/Sy … rvice_file ...and everything works! Wow, i'm really happy now ![]()
EDIT2:damn, everything works, but it asks me for root privileges to power off or reboot...any solution?
EDIT3: i found a solution: create a botton that run "sudo systemctl reboot" etc etc, after altering my /etc/sudoers not to ask for a password. It now works.
Btw, suddenly my notification area is no more used by applications: it is empty. If i open for example guayadeque, its icon is not shown there, but in the middle of the desktop! Sure, no kidding... any idea? ![]()
EDIT4 (last) : last problem seems gone, well don't know why, but it sounds good ![]()
Last edited by nierro (2012-09-03 18:34:48)
Offline
Tried compiling gnome-session, gdm, polkit, and networkmanager with --enable-systemd with ABS, again most things worked fine, but still had the exact same issues with networkmanager (showing wrong icon in gnome-shell, can't access advanced network options). Guess its just not meant to be yet ![]()
Last edited by bwat47 (2012-09-10 14:05:21)
Offline
On my Gentoo box I built my entire system with systemd support (without consolekit), to be able to use NetowrkManager i had to add pam_systemd.so
to /etc/pam.d/system-auth:
session required pam_systemd.soOffline
I've done it! I was being stupid and using the wrong configure option when compiling networkmanager from the abs, even though it was right in front of my face. I needed to change --with-session-tracking=ck to --with-session-tracking=systemd. I also compiled gdm and gnome-session from abs, removing the consolekit dependency from both, and changing --with-systemd=no to yes in the gdm pkgbuild. I'm using the polkit from [testing] and everything works perfectly.
Does anyone know, when gnome 3.6 hits the repos will this still be necessary?
Offline
Does anyone know, when gnome 3.6 hits the repos will this still be necessary?
This is not a direct answer, but I do know that networkmanager will be switched to default to using systemd in the near future.
Tim
Offline
bwat47 wrote:Does anyone know, when gnome 3.6 hits the repos will this still be necessary?
This is not a direct answer, but I do know that networkmanager will be switched to default to using systemd in the near future.
Tim
Excellent
Hopefully the gnome situation changes soon too
.
Offline