solved: x restarts after halt in gdm and displayes ugly screen



Dear Brian Cameron,

the following indeed shuts down the machine properly:

# halt command in gdm.conf
HaltCommand=/sbin/init 0

Thank you very much.

Regards,

Rob de Graaf

email: rdegraaf at rdegraaf dot nl
pgp: http://www dot rdegraaf dot nl slash pgp





On Mon, 11 Jul 2005 17:36:15 -0500
Brian Cameron <Brian Cameron Sun COM> wrote:

> 
> Hello,
> 
> > I'm running gdm on FreeBSD5.2 on a laptop and I am having the following problem:
> > 
> > When the machine is halted from the GDM Greeter, the Greeter stops but X restarts.After a certain point the display turns into chaos; nevertheless a complete shutdown is performed and the machine turns itself off.
> > When I do a reboot, the Greeter stops and X does not restart; thus the normal shutdown commands are visible and the reboot is performed.
> > 
> > Does anybody have any idea why X does restart on Halt command?
> > 
> > configurationfile gdm.conf is attached
> 
> Note that in your gdm.conf file your HaltCommand is defined as follows:
> 
>    HaltCommand=/sbin/shutdown -p now;/usr/sbin/shutdown -p now
> 
> Not sure why the shutdown command isn't doing what you want, but perhaps
> you might check what the best shutdown command for FreeBSD is and use that
> instead.
> 
> Perhaps changing this to "/usr/sbin/init 5" or "/usr/sbin/init 0" might work better.
> 
> Brian

Attachment: pgpLR8wxTubOC.pgp
Description: PGP signature



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