I did a fresh install of Arch. Then installed several windowmanagers / DE’s. But it didnt’ matter which I choose, everytime I tried to mount a external storage device i.e. USB drive, hardrive, MMC card that horrible error popped up: Error mounting the device: Not authorized….
After hours digging in the forums I found the solution:
First, remove your “dbus-launch” and “ck-launch-session” calls in your .xinitrc. Then, in /etc/slim.conf, change “login_cmd” to this:
“login_cmd exec ck-launch-session /bin/bash -login ~/.xinitrc %session”
This circumvents the need for dbus-launch, and also makes sure that everything in .xinitrc is automatically in a ConsoleKit session. This is documented here. (https://wiki.archlinux.org/index.php/Slim#PolicyKit)
Install udisk and udiskie:
#yaourt -S udisk
#yaourt -S udiskie