cairo-dock-team team mailing list archive
-
cairo-dock-team team
-
Mailing list archive
-
Message #06952
[Bug 1448418] Re: Logout not working in Cairo Dock
The third command line given in post #4
dbus-send --session --type=method_call --print-reply
--dest=org.gnome.SessionManager /org/gnome/SessionManager
org.gnome.SessionManager.Logout uint32:1
actually DOES WORK if no other method has been used since login (the
other two lines from post #4 or log out menu). It immedeately logs out,
no dialog is presented.
I've tested the behaviour on my laptop (Thinkpad X61 Tablet) with an
installed up-to-date Ubuntu Gnome 16.04, Ubuntu Gnome live cd 16.04.1,
and Ubuntu live cd 16.04.1. In addition I've tested this on another,
more modern computer (i5 etc.) with the live cd:s. It works always,
unless one of the other methods is used first. In that case it behaves
just as in the earlier posts.
For live cd:s I installed packages cairo-dock, compiz, and unity-
settings-daemon. Ubuntu cd needed adding universe to sources.list to
find cairo-dock. Then I created a new test user, logged out from the
current session, and logged in with the test user. I tried the
different command lines and log out menu, and if failed, forced logout
('killall gdm-x-session' or 'killall -9 gnome-session-binary') and tried
again.
First and second command lines in post #4 seem to do something, as first
run of either of these after login completes without error, though it
does not actually log out.
Unfortunately it seems that currently editing log out applet settings to add a custom command line for logout does nothing, so no clean workaround there. (Command line for shutdown command doesn't work either, but switch user does.)
Hope this helps :)
command output examples:
$ gnome-session-quit --logout
1st run:
[nothing]
run after any method except the 3rd line:
** (gnome-session-quit:4081): WARNING **: Failed to call logout: GDBus.Error:org.gnome.SessionManager.NotInRunning: Logout interface is only available during the Running phase
$ dbus-send --session --type=method_call --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.Logout uint32:0
1st run:
method return time=1471195552.785564 sender=:1.6 -> destination=:1.87 serial=122 reply_serial=2
run after any method except the 3rd line:
Error org.gnome.SessionManager.NotInRunning: Logout interface is only available during the Running phase
$ dbus-send --session --type=method_call --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.Logout uint32:0
1st run (in addition to actually logging out):
method return time=1471187571.534848 sender=:1.5 -> destination=:1.82 serial=115 reply_serial=2
run after any other method:
Error org.gnome.SessionManager.NotInRunning: Logout interface is only available during the Running phase
--
You received this bug notification because you are a member of Cairo-
Dock Devs, which is subscribed to cairo-dock in Ubuntu.
https://bugs.launchpad.net/bugs/1448418
Title:
Logout not working in Cairo Dock
Status in cairo-dock package in Ubuntu:
Triaged
Bug description:
I am running cairo-dock 3.4 on a fresh clean install of Ubuntu 15.04.
The logout menu in the dock does not work. That is, it does nothing if
the "Logout" menu item is clicked.
However, Restart and Shutdown work properly.
On clicking the Logout item, nothing happens.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: cairo-dock 3.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CompositingMetacity: No value set for `/apps/metacity/general/compositing_manager'
CurrentDesktop: Unity
Date: Sat Apr 25 15:43:16 2015
InstallationDate: Installed on 2015-04-24 (0 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
PciDisplay: 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])
RelatedPackageVersions:
xserver-xorg 1:7.7+7ubuntu4
libgl1-mesa-glx 10.5.2-0ubuntu1
libdrm2 2.4.60-2
xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2build1
xserver-xorg-video-ati 1:7.5.0-1ubuntu2
SourcePackage: cairo-dock
UpgradeStatus: No upgrade log present (probably fresh install)
WM: No value set for `/desktop/gnome/applications/window_manager/current'
glxinfo: Error: [Errno 2] No such file or directory: 'glxinfo'
system: distro = Ubuntu, architecture = x86_64, kernel = 3.19.0-15-generic
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/1448418/+subscriptions
References