Shut Down and Restart buttons gone--hibernate instead

Bug #57548 reported by Mackenzie Morgan
4
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

I'm not sure how to reproduce it. It happened about 2 days after installing Ubuntu. I think it was when I was trying to patch it to allow external module creation (something that was in kernel 2.6.13 but not in 2.6.15--a driver needed it). I never did get the patch applied though, so maybe it was when I ran build-essentials that it happened. Others have said it happened when they tried to add other desktops (to use instead of gnome).

Anyway, what happened is the shut down and restart buttons are gone when you click the red power button icon. Hibernate is just one really really wide screen.

http://www.ubuntuforums.org/showthread.php?t=242210
http://www.ubuntuforums.org/showthread.php?t=239302
http://www.ubuntuforums.org/showthread.php?t=234048
http://www.ubuntuforums.org/showthread.php?t=192871
Those posts are all about this bug.

To see what happens:
http://www.ubuntuforums.org/attachment.php?attachmentid=12593&d=1152682781
(it's from the last link)

Revision history for this message
Simon Law (sfllaw) wrote :

You have to be running GDM in order for those buttons to appear.

This requirement will go away when the next version of gnome-panel uses
gnome-power-manager for shutting down.

Changed in gnome-panel:
importance: Untriaged → Low
status: Unconfirmed → Confirmed
Revision history for this message
Mackenzie Morgan (maco.m) wrote : Re: [Bug 57548] Re: Shut Down and Restart buttons gone--hibernate instead

How do you turn on GDM?

----- Original Message -----
From: Simon Law <email address hidden>
Date: Thursday, August 24, 2006 6:30 am
Subject: [Bug 57548] Re: Shut Down and Restart buttons gone--hibernate instead
To: <email address hidden>

> You have to be running GDM in order for those buttons to appear.
>
> This requirement will go away when the next version of gnome-panel
> usesgnome-power-manager for shutting down.
>
> ** Changed in: gnome-panel (Ubuntu)
> Importance: Untriaged => Low
> Status: Unconfirmed => Confirmed
>
> --
> Shut Down and Restart buttons gone--hibernate instead
> https://launchpad.net/bugs/57548
>

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

I typed "sudo gdm" in the shell and it said "GDM already running! Aborting". So, GDM is running on this computer, and the bug is still there.

----- Original Message -----
From: Simon Law <email address hidden>
Date: Thursday, August 24, 2006 6:30 am
Subject: [Bug 57548] Re: Shut Down and Restart buttons gone--hibernate instead
To: <email address hidden>

> You have to be running GDM in order for those buttons to appear.
>
> This requirement will go away when the next version of gnome-panel
> usesgnome-power-manager for shutting down.
>
> ** Changed in: gnome-panel (Ubuntu)
> Importance: Untriaged => Low
> Status: Unconfirmed => Confirmed
>
> --
> Shut Down and Restart buttons gone--hibernate instead
> https://launchpad.net/bugs/57548
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

how do you start your session? from the standard login manager? could you run "gdmflexiserver -a -c QUERY_LOGOUT_ACTION" and copy the text to a comment?

Changed in gnome-panel:
assignee: nobody → desktop-bugs
status: Confirmed → Needs Info
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

(process:3160): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:3160): Gdk-CRITICAL **: gdk_display_get_name: assertion 'GDK_IS_DISPLAY (display)' failed
OK

Yes, I start from the standard login screen.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you run "grep Reboot /etc/gdm/gdm*.conf" and copy that to a comment?

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

# Reboot, Halt and suspend commands, you can add different commands separated
RebootCommand=/sbin/shutdown -r now "Rebooted from gdm menu."

and the buttons are still missing, in case you're wondering

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you run "grep SystemMenu /etc/gdm/gdm*.conf" too and copy that to a comment?

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

#SystemMenu=true

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you have those actions listed from the gdm menu? what file does have that "SystemMenu=true" comment? Does gdm-custom.conf has any special option?

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

When I ran
grep SystemMenu /etc/gdm/gdm*.conf
all that happened was "SystemMenu=true" appeared right below it in the terminal.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you attach your /etc/gdm/gdm.conf and /etc/gdm/gdm.conf-custom to the bug (feel free to replace any user name or data you think should not be on the bug tracker by random chars by example)

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

The gdm.conf is attached, and here's the contents of gdm.conf-custom (because it's shorter and I can only attach one)

# GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration. If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration. Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below. Refer to the comments in the
# gdm.conf file for information about each option. Also refer to the reference
# documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change. Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# For example, the "Enable" key in the "[debug]" section would be specified by
# "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings. You can also restart GDM by sending
# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category. You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!

[daemon]

[security]

[xdmcp]

[gui]

[greeter]
SoundOnLoginSuccess=true
SoundOnLoginFailure=true
Include=*myusername*,guest
SystemMenu=false
SoundOnLoginSuccessFile=/usr/share/sounds/generic.wav
SoundOnLoginFailureFile=/usr/share/sounds/error.wav

[chooser]

[debug]

[servers]

Revision history for this message
Sebastien Bacher (seb128) wrote :

your gdm.conf-custom has "SystemMenu=false", weird it didn't got listed by the grep. Does changing it to true and restarting gdm fixes the issue?

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Yep, that fixed it :) Thank you!

Now if only gdm-restart and gdm-safe-restart would stop saying it's not a valid command so I could restart gdm without rebooting, that'd be lovely...

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [Bug 57548] Re: Shut Down and Restart buttons gone--hibernate instead

Le mercredi 20 septembre 2006 à 20:53 +0000, maco a écrit :
> Yep, that fixed it :) Thank you!

No problem, closing the bug since that's not a bug but a configuration
option you activated

> Now if only gdm-restart and gdm-safe-restart would stop saying it's not
> a valid command so I could restart gdm without rebooting, that'd be
> lovely...

 what are gdm-restart and gdm-safe-restart? you can restart gdm with
"/etc/init.d/gdm restart" (it'll close your running xorg sessions
started by gdm)

Changed in gnome-session:
status: Needs Info → Fix Released
status: Fix Released → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

marking as rejected since that was not a bug

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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