Comment 2 for bug 221844

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