not using gdm does not create a ConsoleKit session

Bug #186353 reported by Lukas Hejtmanek
2
Affects Status Importance Assigned to Milestone
gnome-volume-manager (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: gnome-volume-manager

In the current Hardy (I know it is unstable/developement branch), the gnome-volume-manager does not start at all. mounter applet reports: Error org.freedesktop.DBus.Error.AccessDenied. (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal").

it quits immediately:
$ /usr/lib/gnome-volume-manager/gnome-volume-manager -n
$

Iulian Udrea (iulian)
description: updated
Revision history for this message
Pedro Villavicencio (pedro) wrote : Re: gnome-volume-manager does not start in Hardy

Thanks for your report, is that reproducible with another new user created on your system?

Changed in gnome-volume-manager:
status: New → Incomplete
Revision history for this message
Lukas Hejtmanek (xhejtman) wrote :

yes, it is.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 186353] [NEW] gnome-volume-manager does not start in Hurdy

Sounds like hal is not running? Does it work after

 sudo /etc/init.d/hal start

?

Revision history for this message
Lukas Hejtmanek (xhejtman) wrote : Re: gnome-volume-manager does not start in Hardy

hal is running.

$ ps ax |grep hal
 3308 ? Ss 0:05 /usr/sbin/hald
 3373 ? S 0:00 hald-runner
 3388 ? S 0:00 hald-addon-input: Listening on /dev/input/event4 /dev/input/event3 /dev/input/event5 /dev/input/event0 /dev/input/event1 /dev/input/event2
 3397 ? S 0:00 /usr/lib/hal/hald-addon-cpufreq
 3398 ? S 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
 3411 ? S 0:02 hald-addon-storage: polling /dev/scd0 (every 16 sec)
24841 pts/6 R+ 0:00 grep hal

$ ps ax |grep dbus
 3276 ? Ss 0:03 /usr/bin/dbus-daemon --system
 4075 ? Ss 0:00 dbus-daemon --fork --print-address 16 --print-pid 18 --session
24848 pts/6 R+ 0:00 grep dbus

Revision history for this message
Lukas Hejtmanek (xhejtman) wrote :

I found that problem is in function gvm_console_kit_seat_get_sessions.

do {
                if (dbus_message_iter_get_arg_type (&elem) == DBUS_TYPE_OBJECT_PATH) {
                        dbus_message_iter_get_basic (&elem, &path);
                        g_ptr_array_add (sessions, g_strdup (path));
                }
} while (dbus_message_iter_next (&elem));

this iteration is done but the condition in the if statement never holds.

Revision history for this message
Lukas Hejtmanek (xhejtman) wrote :

the problem will be probably in console kit or something as ck-list-sessions does not show any session.

Revision history for this message
Lukas Hejtmanek (xhejtman) wrote :

I do not use gdm so consolekit did not show any session. I installed libpam-ck-connector and now the gnome-volume-manager starts.

However, it used to work even without libpam-ck-connector in edgy. I wonder why it does not work in hardy.

Revision history for this message
Martin Pitt (pitti) wrote :

Which login manager do you use? The bug should be assigned to that one, and that login manager should create a ConsoleKit session.

Revision history for this message
Lukas Hejtmanek (xhejtman) wrote :

Just plain text oldschool login.

Revision history for this message
Martin Pitt (pitti) wrote :

So you are trying to use g-v-m in a text mode console? Hmm.

If you want to do that, please install libpam-ck-connector.

Also, g-v-m in hardy is not actually used to do automounting any more, that moved to nautilus. So we won't change this in Ubuntu any more.

Changed in gnome-volume-manager:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.