From ArchWiki

== PolicyKit/Consolekit ==--Anonymo 02:30, 26 April 2009 (EDT)

To get your External Drives to Automount:

Open /etc/pam.d/login Add "session optional" without quotes Save

Open ~/.xinitrc Add "exec ck-launch-session" without quotes before your WM or DE Save

From a Forum Post: [I won the struggle against hal and policykit[1]]

(1) Create /etc/Policykit/Policykit.conf as follows:

<?xml version="1.0" encoding="UTF-8"?> <config version="0.1"> <match user="$storage_users"> <match action="*"> <return result="yes"/> </match> <match action="hal-storage-mount-fixed-extra-options"> <return result="yes" /> </match> <match action="hal-storage-mount-removable-extra-options"> <return result="yes" /> </match> </match> <match user="$power_users"> <match action="org.freedesktop.hal.power-management.shutdown"> <return result="yes"/> </match> <match action="org.freedesktop.hal.power-management.reboot"> <return result="yes"/> </match> </match> </config>

(2) Create /etc/rc.d/polkitparser and chmod +x it

1. !/bin/bash 1. general config . /etc/rc.conf . /etc/rc.d/functions stat_busy "Parsing groups for policykit handling" export storage_users=$(cat /etc/group | grep -i storage | cut -d ':' -f 4 | sed 's/,/|/') export power_users=$(cat /etc/group | grep -i power | cut -d ':' -f 4 | sed 's/,/|/') stat_done exit 0

(3) Add polkitparser to your DAEMONS list on rc.conf *before* hal.