Le lun 26/07/2004 � 15:32, Mattias Eriksson a �crit : > That is the ugly and old solution created by redhat to be used with > their console helper architecture. > > In gdm 2.6.x it is possible to do this by the use of the SUP protocol[1] > but this is not implemented in the session-manager upstream. So instead > of doing a ugly hack I suggest just implementing the use of SUP in > gnome-session (or whatever is handling the logout these days). Agree, of course.
> //Snaggen > > [1] http://mail.gnome.org/archives/gnome-announce-list/2004- > January/msg00026.html > > > On m�n, 2004-07-26 at 15:19 +0200, J�r�me Warnier wrote: > > Le lun 26/07/2004 � 14:38, Sebastien Bacher a �crit : > > > Le lundi 26 juillet 2004 � 14:31 +0200, J�r�me Warnier a �crit : > > > > > > > He won't probably, because such feature has been integrated upstream. We > > > > already talked about this on this same mailing-list. > > > > > > Hi, > > > > > > What has been integrated upstream ? > > Integration of gnome-session with GDM, which permits to shutdown or > > reboot without actually having to logout and tell GDM to do so. > > > > I had to search for a long time before finding something related. > > So here it is: > > Create a file /var/lock/console/<user> where <user> is the login name of > > the user which should be presented a choice at "logout". Then, this user > > need to be able to execute some sort of shutdown command. Don't ask me > > how, I don't know and cannot put one hand on the solution somewhere. > > > > > Cheers, > > > > > > Sebastien Bacher > > > > PS: please don't CC: me all the time, I am subscribed, and would > > otherwise tell it. Thanks -- J�r�me Warnier Consultant BeezNest http://beeznest.net

