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

Re: [desktop] enabling gnome-session reboot and halt options on logout



On Tue, Mar 04, 2003 at 08:18:24PM -0500, James D Strandboge wrote:
> Currently, logging out of gnome in debian only presents the user with
> saving the current session.  However, there is code in gnome-session to
> give users the option to logout, reboot and shutdown.  The code says
> that enabling this functionality is redhat specific however.
> 
> I have user's that have complained about this missing functionality when
> we switched from redhat to debian.  As such, I have compiled the
> functionality into gnome-session, so they can be presented with that
> option.
> 

Although I don't know how it works, I will point out that wdm has the 
Halt, Reboot, and Exit login functions which do exactly what appears to 
be desired. As it turns out only root can actuallly use any of the three 
options. I do not know if it can be modified to allow a group or list of 
users to do the same. But the underlying code could prove useful.

Good Luck

Matthew McGuire

-- 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Matthew P. McGuire <gray@shadowglade.net> 1024D/E21C0E88
CB82 7859 26B2 95E3 1328  5198 D57A D072 E21C 0E88
          When choice matters, choose Debian.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Reply to: