FS#29890 - Automount & reboot no longer working with latest Slim version

Attached to Project: Arch Linux
Opened by Alphazo (alphazo) - Monday, 14 May 2012, 19:47 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 14 May 2012, 20:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I use slim as login manager with autologin enabled and Gnome as DE.
When I upgraded from slim-1.3.2-7 to slim-1.3.3-3 I lost:
- Automount when plugging in USB dongles. I get prompted for sudo password.
- Shutdown and restart options. When using any of them it goes back to slim windows.

I had to revert back to 1.3.2 in order to gain above features back.

Here are my setup files:

/etc/inittab
id:5:initdefault:
x:5:respawn:/usr/bin/slim >/dev/null 2>&1

~/.xinitrc
exec ck-launch-session dbus-launch gnome-session

/etc/slim.conf
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
xauth_path /usr/bin/xauth
authfile /var/run/slim.auth
login_cmd exec /bin/bash -login ~/.xinitrc %session
sessions xfce4,icewm,wmaker,blackbox
screenshot_cmd import -window root /slim.png
default_user alpha
auto_login yes
current_theme default
lockfile /var/lock/slim.lock
logfile /var/log/slim.log
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 14 May 2012, 20:58 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Known transitional glitch.
Comment by Evangelos Foutras (foutrelis) - Monday, 14 May 2012, 20:07 GMT
Remove 'ck-launch-session' from your .xinitrc. Try removing 'dbus-launch' as well.
Comment by Alphazo (alphazo) - Monday, 14 May 2012, 20:43 GMT
Removed both options and it worked ;)

My ~/.xinitrc now shows "exec gnome-session"

When did that change happen?

I guess the Slim wiki page will have to be modified in order to reflect this change because the page heavily talks about ck-launch-session and dbus-launch. https://wiki.archlinux.org/index.php/Slim

Thanks for the quick reply.
Comment by Evangelos Foutras (foutrelis) - Monday, 14 May 2012, 20:50 GMT
The change happened in slim 1.3.3.

There is also this note in the wiki page:

"Note: slim is ConsoleKit capable since version 1.3.3. Unless you happen to run
an old version, you must no longer include ck-launch-session from your .xinitrc
or slim.conf login_cmd."

Loading...