gnome-session-quit does nothing

Bug #931437 reported by Juan Simón
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I select "Shutdown" from gnome menu or I execute "gnome-session-quit" in console but it does nothing. It shows nothing.

$ gnome-session-quit
Gtk-Message: Failed to load module "pk-gtk-module"

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-session 3.2.1-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.2.0-14.23-i7 3.2.3-ck1
Uname: Linux 3.2.0-14-i7 x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Feb 13 14:39:53 2012
PackageArchitecture: all
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Juan Simón (simonbcn) wrote :
Revision history for this message
hakaishi (hakaishi) wrote :

Does "dbus-send --print-reply --system --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop" work for you? If it doesn't, it is a problem with ConsoleKit if it does, then the problem could lie in the package gnome-session-bin. Especially if gnome-session-quit also does nothing when the --no-prompt option is used.

Revision history for this message
Juan Simón (simonbcn) wrote :

"dbus-send --print-reply --system ..." works.

"gnome-session-quit --logout --no-prompt" does nothing too.

Revision history for this message
hakaishi (hakaishi) wrote :

well, the way I get it is that gnome-session-quit uses ConsoleKit but because of the implementation with the dialog (GTK) it won't work.

Revision history for this message
Juan Simón (simonbcn) wrote :

Is this a bug of package or a problem in my system?

Revision history for this message
hakaishi (hakaishi) wrote :

I dont't know since I'm not a maintainer of that package nor do I fully understand how the package works because I'm not into C and the depths of the system.
I just wanted to provide some additional information to the maintainers and the other subscribers, thus I was asking.

I don't think that the problem lies in your system but the package or its dependencies. More likely within the dependencies...

Revision history for this message
Juan Simón (simonbcn) wrote :

"dbus-send --print-reply --system --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop" is to shutdown the computer.
What would be the instructions to restart and log off?

When I press Suspend it works well. And sometimes, when I press in "Shutdown...", it shows the shutdown dialog to select "Restart", "Suspend", etc...

Revision history for this message
hakaishi (hakaishi) wrote :

Sorry, strangely I wasn't notified that you commented again.

For ConsoleKit there is Stop and Restart -> "dbus-send --print-reply --system --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart".

I'm not sure about log off... You could try CloseSession (I cant test that right now).

Revision history for this message
dino99 (9d9) wrote :

That version is no more supported

Changed in gnome-session (Ubuntu):
status: New → Invalid
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.