New hal and consolekit
A new thing that has been introduced in HAL is the usage of consolekit and policies to allow users to do various stuff such as, mounting removable storage devices, ejecting CD’s and such things. But this requires to tell consolekit that a session has been started, otherwise you will not have permissions to do these things. Newer versions of GDM and KDM implement this and tells the consolekit deamon that it has started a session. Though some users do not use a graphical login manager, or uses one that does not support this.
A simple way to get around this is to do the following:
- Add the line
session optional pam_ck_connector.soto /etc/pam.d/login
- You will also have to start all your desktop environments in a new way:
In .xinitrc start your environment withexec ck-launch-session startxfce4Notice the ck-launch-session before startxfce4, this is what tells the consolekit daemon, that a new session has been started.
This is simmilar for other environments such as openbox and so on.