Re: [gdm-list] GDM reboot/shutdown script
- From: Brian Cameron <Brian Cameron Sun COM>
- To: Jakub Ružička <yaccobb centrum cz>
- Cc: gdm-list gnome org
- Subject: Re: [gdm-list] GDM reboot/shutdown script
- Date: Sat, 23 Sep 2006 19:33:45 -0500
Jakub:
I like the way GDM shuts down the PC - switching to the text
console and showing shutdown progres there - unlike just calling
shutdown from X, where X is killed, I see vc1 login and shutdown
progress is shown in vc7. How can I achieve that effect ? Does GDM have
separate script for that purpose I can use ? Calling
$ sudo gdmflexiserver --command=QUERY_LOGOUT_ACTION
returns
ERROR 100 Not authenticated.
You need to include the "-a" option to authenticate. Some gdmflexiserer
command require authentication which is turned on by passing this option
to gdmflexiserver.c.
Note that GDM 2.16.0 has some crashing problems, and the GDM daemon may
crash if you run this command unless you upgrade to GDM CVS head.
Note that setting the logout action via using gdmflexiserver
SET_LOGOUT_ACTION can be used to cause the machine to shutdown or
reboot after the current session exits.
You can read more here about how this works:
http://www.gnome.org/projects/gdm/docs/2.15/controlling.html
Hope this helps.
Brian
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]