EDIT:
yes it's gvfs automounting... without the package gvfs it doesn't work. So I'll keep gvfs installed, and automount with it.
I'll also keep starting openbox with the command "exec ck-launch-session dbus-launch openbox-session" I just don't really know why. If someone could explain a good reason why it's better to start it with consolekit, I would appreciate it.
]]>I removed the package consolekit, so there is no way ck-launch-session is running. Automounting with thunar works just fine, I also think udev is doing it just fine. So why bothering starting with ck-launch-session if you see no use in it?
As far as I know, Thunar needs consolekit for automount. Never worked for me otherwise.
You must have something else automounting the drives.
]]>I suspect something is summoning consolekit or a leftover dbus-session somehow still has the rights. I was once told, that the only way to stop dbus from running even after the session terminates is this:
exec dbus-launch --exit-with-session ck-launch-session {_session_}
Hurrdurr. Definitly consolekit at it's best...
]]>I read throught the Wiki of Openbox and Consolekit, but I can't really understand it.
In the Wiki of Openbox it's described like this:
If you also use polkit and D-Bus (e.g. for auto-mount drivers in Nautilus/Gnome) use:
exec ck-launch-session dbus-launch openbox-session
I use openbox as a standalone WM and got thunar installed. I tried yesterday to remove consolekit and start openbox just by this command "exec openbox-session" auto mount worked for me without problems, as soon as I plugged in my usb-sticks thunar would mount them automatically, no permissions issues either.
The Description of Consolekit in the wiki is clear:
ConsoleKit is a framework for managing user sessions and permissions. Some of the most common usages of consolekit is allowing non-root users to mount removable media and suspending/shutting down the computer through common desktop applications (ie: thunar, nautilus, the gnome shutdown menu, etc).
But as I said, Thunar is mounting automatically without having consolekit installed.
Another thing: Is it only me, or are all this ck-launch-session threads slowing down my desktop when consolekit is running?
Thanks in advance.
]]>