no session is set active by consolekit

Bug #221844 reported by Daniel Abel
8
Affects Status Importance Assigned to Milestone
consolekit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I installed hardy from the release candidate installer, and after a default install installed kubuntu-desktop.

logging in either in a gnome or kde session, and running 'ck-list-sessions' shows 'active = FALSE' for all sessions, even the one currently active (the one shown on the screen). As a large part of default authorizations are set to 'No' for everyone except the active session, this breaks all sorts of things. (For example, mounting usb thumbdrives, or changing authorizations, etc.)

If there is any way to debug this problem I would love to help, but I have no idea what I should be looking for (what logfile / etc.)

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Is this still an issue for you? What Ubuntu version do you use? Thank you for telling us!

Changed in consolekit (Ubuntu):
status: New → Incomplete
Changed in consolekit (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Lester Carballo Pérez (lestcape) wrote :

I use ubuntu 14.04, and i think that this is relate with this bug. I try use the last implementation of cinnamon desktop on ubuntu. The perceptible problem it's the impossibility of auto mount volumes, when they will connected.

dbus-send --system --dest=org.freedesktop.ConsoleKit \
--type=method_call --print-reply --reply-timeout=2000 \
/org/freedesktop/ConsoleKit/Manager \
org.freedesktop.ConsoleKit.Manager.GetCurrentSession

Error org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '436'

With root permission:

dbus-send --system --dest=org.freedesktop.ConsoleKit \
--type=method_call --print-reply --reply-timeout=2000 \
/org/freedesktop/ConsoleKit/Manager \
org.freedesktop.ConsoleKit.Manager.GetCurrentSession

Response:
object path "/org/freedesktop/ConsoleKit/Session1" i will change the title...

Where i can find XDG_SESSION_COOKIE

:~$ env | grep XDG
XDG_VTNR=7
XDG_SESSION_ID=c10
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/lestcape
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session4
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_SEAT=seat0
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_RUNTIME_DIR=/run/user/1000
XDG_CURRENT_DESKTOP=X-Cinnamon

The same as root and this not will fail (i have in this case an XDG_SESSION_COOKIE):
:~$ sudo su
[sudo] password for lestcape:
:# env | grep XDG
XDG_VTNR=7
XDG_SESSION_ID=c10
XDG_SESSION_COOKIE=2c315c97744118df7b4048755367fa70-1416820770.332184-1609949357
XDG_SEAT=seat0

Revision history for this message
Lester Carballo Pérez (lestcape) wrote :

The problem of my last comments apparently is the new cinnamon session name that is unsupported by lightdm.
Thanks.

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.