[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't reboot or halt from gdm



Todd Myhre wrote:
I've set up gdm on a new laptop but the System menu does not
seem to work correctly.  When I try to halt the system, it
simply reloads gdm and the following error messages appear
in my syslog:

  gdm_slave_xioerror_handler: Fatal X error - Restarting :0
  gdm_child_action: Reboot or Halt request when there is no
     system menu from display :0

Which gdm version are you using?
It happened to me once, when I upgraded gdm; I don't remember correctly, whether it was potato -> potato/woody or woody -> woody/sid. I found out that the newer gdm set the "gdm" username to not having the privilege to shutdown the system. So, I ended up utilizing sudo so that gdm can do the shutdown. In /etc/gdm/gdm.conf:
RebootCommand=/usr/bin/sudo /sbin/reboot
HaltCommand=/usr/bin/sudo /sbin/poweroff

And, of course, you have to add the gdm username to the sudo entries file using visudo.

Oki







Reply to: