Prev: kernel modules
Next: FreeBSD 8.0 released!
From: John Rushford on 24 Nov 2009 18:39 Greetings, I've installed FreeBSD 8.0-RC3 on a laptop and am trying to get the 'Restart' and 'Shutdown' buttons to work from the gdm-greeter. I haven't had much luck with configuring the files shown below and was wondering if someone here might have an idea on what's needed. thanks John /usr/local/etc/gdm/custom.conf: [daemon] HaltCommand=/sbin/shutdown -h now RebootCommand=/sbin/shutdown -r now [xdmcp] [chooser] [security] /usr/local/etc/PolicyKit/PolicyKit.conf: <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> <!-- See the manual page PolicyKit.conf(5) for file format --> <config version="0.1"> <define_admin_auth group="operator" /> <match action="org.freedesktop.hal.storage.mount-removable"> <return result="yes" /> </match> <match action="org.freedesktop.hal.storage.mount-fixed"> <return result="yes" /> </match> <match action="org.freedesktop.hal.storage.eject"> <return result="yes" /> </match> <match action="org.freedesktop.hal.storage.unmount-others"> <return result="yes" /> </match> <match action="org.freedesktop.hal.power-management.reboot"> <return result="yes" /> </match> <match action="org.freedesktop.hal.power-management.shutdown"> <return result="yes" /> </match> <match action="org.freedesktop.hal.power-management.hibernate"> <return result="yes" /> </match> <match action="org.freedesktop.hal.power-management.suspend"> <return result="yes" /> </match> </config>
From: Dominic Fandrey on 25 Nov 2009 08:30 John Rushford wrote: > Greetings, > > I've installed FreeBSD 8.0-RC3 on a laptop and am trying to get the > 'Restart' and 'Shutdown' buttons to work from the gdm-greeter. I > haven't had much luck with configuring the files shown below and was > wondering if someone here might have an idea on what's needed. Find out as which user gdm is run and add that user to the operator group. > thanks > John > > /usr/local/etc/gdm/custom.conf: > [daemon] > HaltCommand=/sbin/shutdown -h now It's "-p now" on FreeBSD. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
From: John Rushford on 25 Nov 2009 16:13 On Nov 25, 6:30 am, Dominic Fandrey <kamik...(a)bsdforen.de> wrote: > John Rushford wrote: > > Greetings, > > > I've installed FreeBSD 8.0-RC3 on a laptop and am trying to get the > > 'Restart' and 'Shutdown' buttons to work from the gdm-greeter. I > > haven't had much luck with configuring the files shown below and was > > wondering if someone here might have an idea on what's needed. > > Find out as which user gdm is run and add that user to the operator > group. > > > thanks > > John > > > /usr/local/etc/gdm/custom.conf: > > [daemon] > > HaltCommand=/sbin/shutdown -h now > > It's "-p now" on FreeBSD. > > -- > A: Because it fouls the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in e-mail? Dominic, Thanks, I had actually added root and gdm to the operator group earlier but these functions still do not operate in gdm. I installed kdm and it's working fine, so I'm giving up on gdm. John
From: Dominic Fandrey on 26 Nov 2009 07:49 John Rushford wrote: > On Nov 25, 6:30 am, Dominic Fandrey <kamik...(a)bsdforen.de> wrote: >> John Rushford wrote: >>> Greetings, >>> I've installed FreeBSD 8.0-RC3 on a laptop and am trying to get the >>> 'Restart' and 'Shutdown' buttons to work from the gdm-greeter. I >>> haven't had much luck with configuring the files shown below and was >>> wondering if someone here might have an idea on what's needed. >> Find out as which user gdm is run and add that user to the operator >> group. >> >>> thanks >>> John >>> /usr/local/etc/gdm/custom.conf: >>> [daemon] >>> HaltCommand=/sbin/shutdown -h now >> It's "-p now" on FreeBSD. >> > Thanks, I had actually added root and gdm to the operator group > earlier but these functions still do not operate in gdm. I installed > kdm and it's working fine, so I'm giving up on gdm. I made some blind shots there, I'm an XDM user. I wouldn't have answered at all if I hadn't seen the "shutdown -h now". Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
Pages: 1 Prev: kernel modules Next: FreeBSD 8.0 released! |