RE: Can't reboot or halt from gdm (FIXED)
Oki 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's the latest one, 2.2.5.4-2, from sid.
> 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
I found the problem; I still had xdm installed from when I
originally set up x-window-system. Removing xdm fixed gdm's
behaviour; no configuration changes required.
Thanks for your help!
--
Todd
Reply to: