[Pkg-xfce-devel] Bug#379192: Bug#379192: user is unable to shutdown or restart from xfce4 quit menu (after default etch installation)
On 5/22/07, Simon Huggins wrote:
> reassign 379192 xfce4-session
> merge 379192 419576
> thanks
>
> On Sat, Jul 22, 2006 at 10:34:31AM -0400, Michael Gilbert wrote:
> > On 7/22/06, Yves-Alexis Perez wrote:
> > >On Fri, 2006-07-21 at 18:28 -0400, zero79 wrote:
> > >> directly after a default etch install (using the beta etch
> > >> debian-installer), the user is not permitted to restart or shutdown
> > >> the system from the xfce4 quit menu.
> > >>
> > >> it should be possible for the user (for which the first user
> > >> account was set up) to be able to shutdown his/her system directly
> > >> from the xfce4 menu.
> > >The restart/shutdown rights aren't managed by Xfce but via sudo. It uses
> > >xfsm-shutdown-helper which needs root rights to shutdown or reboot the
> > >machine. You only need to add your user rights to execute this command
> > >as root using sudo.
> > >
> > >Maybe it's debian-installer role to add the first user in sudoers. Or we
> > >could manage it via some install scripts via debconf, but I'm not really
> > >sure I want xfce4-session to depend on sudo.
> > i agree, this is probably a d-i issue. i suggest that it be
> > reassigned to them. thanks.
>
> debian-installer does install sudo if there isn't a real root account as
> per #421837
>
> We could perhaps recommend sudo but then we'd have to possibly set it up
> which I'm not very comfortable with.
>
> I'd rather users did this themselves as per the README but I guess I'm
> open to persuasion.
>
> Simon.
is there any other way to do shutdown without requiring root? somehow
gnome is able to shutdown without root privileges. can xfce use the
gnome approach?
mike
Reply to: