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

Re: User shutdown from xfce4 or gdm



On 10/15/2005 02:00 AM, Donald Perkovich wrote:
> I am using gdm and xfce 4.0 and would like to be able to shutdown
> as my normal user without giving a password.  It seems like this
> is possible.  Xfce4 gives a message when I try to shutdown when I
> log out that I must install sudo or put the user name in
> /usr/xfce4/shutdown.allow.  Both are set and the result is the same
> as before.  I've given the user permission to execute shutdown,
> halt and reboot sans password.
> 
> The docs show how to do it with xfce 4.2, but there is no mention
> in the 4.0 docs about it that I can find.  I didn't find anything
> in the gdm docs about it either.  Did I miss it?
> 
> Don

Same problem for my wife's system (P1 200 mhz, 96mb, 2Gb, sarge) with
xfce4 4.0.5-1.  (She has full sudo powers and is listed in
shutdown.allow.)  xfce4 won't shutdown the system.

gdm is easily configured, however, for any user to shutdown or reboot.

Searching the archives may have saved you some time for this answer...
Here's what I posted on Sept. 24:

As root, edit /etc/gdm/gdm.conf to allow these functions without
password or log-in.  For good reason, this is not the default behavior.
Here's what I have on my sarge, and it works fine:

SystemMenu=true
# The Actions in the Actions menu require the root password
SecureSystemMenu=false

You may be able to configure this (as root) with gdmsetup, but editing
the config file has more tweaks available.



As for my wife, she found it much easier to click on a terminal icon in
the panel, and then enter   sudo halt  .  On the slow machine, as long
as she's saved her work, sarge does just fine closing all the apps,
xfce, gdm and sarge itself.  Much faster than going back through gdm to
shutdown.

Regards.



Reply to: