When I switched GDM for SLiM, I noticed that when I insert my USB flash disk it doesn't mount automatically anymore.
The problem seems to be with PolicyKit's PAM module not being used, as well as using the right command to start openbox-session.
Here's how I fixed it:
Make sure you installed SLiM and have set it as the default display manager, and that you have already restarted the computer.
Open the file /etc/slim.conf as root, find the line which begins with login_cmd, comment it and below it write:
login_cmd exec ck-launch-session dbus-launch --sh-syntax --exit-with-session openbox-session
Replace openbox-session with the name of the launcher of the session manager of your choice.
For those who start their window manager via ~/.xinitrc, write this line instead:
login_cmd exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /bin/bash -login ~/.xinitrc %session
Append this line at the end of the file /etc/pam.d/login to complete the solution:
session optional ck_connector.so
That's all. SLiM works as it should, Openbox starts quickly, the USB drives are mounted automatically, and NetworkManager allows me to connect via 3G on my Nokia E71 and write you this post.
Tested on #! Statler.
Last edited by bjorn (2011-08-02 23:38:44)