Difference between revisions of "ConsoleKit"

From ArchWiki
Jump to: navigation, search
(Switching to systemd no longer optional (for support))
(synchronized interlanguage links with the other wikis)
Line 1: Line 1:
 
[[Category:Security]]
 
[[Category:Security]]
[[fr:Consolekit]]
 
 
[[it:ConsoleKit]]
 
[[it:ConsoleKit]]
[[tr:Consolekit]]
 
 
{{Warning|From ConsoleKit's [http://www.freedesktop.org/wiki/Software/ConsoleKit web site]:<br>
 
{{Warning|From ConsoleKit's [http://www.freedesktop.org/wiki/Software/ConsoleKit web site]:<br>
 
''[http://www.freedesktop.org/wiki/ConsoleKit ConsoleKit] is not actively maintained. The focus has shifted to the built-in seat/user/session management of [http://www.freedesktop.org/wiki/Software/systemd systemd] called [http://0pointer.de/public/systemd-man/systemd-loginctl.html systemd-loginctl].''}}
 
''[http://www.freedesktop.org/wiki/ConsoleKit ConsoleKit] is not actively maintained. The focus has shifted to the built-in seat/user/session management of [http://www.freedesktop.org/wiki/Software/systemd systemd] called [http://0pointer.de/public/systemd-man/systemd-loginctl.html systemd-loginctl].''}}

Revision as of 15:21, 23 February 2014

Warning: From ConsoleKit's web site:
ConsoleKit is not actively maintained. The focus has shifted to the built-in seat/user/session management of systemd called systemd-loginctl.

See the 2012-10-30 news announcement: https://www.archlinux.org/news/consolekit-replaced-by-logind/

If you are looking for a convenient way to mount disks as user, have a look at udev, udiskie and PolicyKit. For Arch support, you need to switch to systemd.

Arch Repositories

ConsoleKit is no longer packaged in the official repositories [1]. It is strongly discouraged to continue to use or to start using ConsoleKit.

Replacing ConsoleKit with systemd-logind

Note: Starting with polkit 0.107-4, ConsoleKit must be completely replaced by systemd-logind[2], even when using a display manager. The system must be booted with systemd to be fully functional.

An easy method to be able to remove ConsoleKit is to automatically log in to a virtual console and start X from there. It is important that, as mentioned in the latter article, the X server is started on the same virtual console that you log in to, otherwise logind can not keep track of the user session. You can then simply remove ck-launch-session from your ~/.xinitrc.

In order to check the status of your user session, you can use loginctl. To see if your user session is properly set up, check if the following command contains Active=yes. All PolicyKit actions like suspending the system or mounting external drives with Udisks should then work automatically.

$ loginctl show-session $XDG_SESSION_ID