[Xfce-bugs] [XFCE 0000270]: xfce4-session 'reboot'/'turn off' options only do a 'quit session'

xfce-bugs at xfce.org xfce-bugs at xfce.org
Fri Jul 23 11:35:08 CEST 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000270
=======================================================================
Reporter:                   nick_08150
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000270
Category:                   other
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     assigned
=======================================================================
Date Submitted:             2004-07-23 08:32 GMT
Last Modified:              2004-07-23 09:35 GMT
=======================================================================
Summary:                    xfce4-session 'reboot'/'turn off' options only do a 'quit session'
Description: 
The 'reboot' and 'turn off' options at the exit confirmation widget only
quit the current session, no reboot or shutdown.
This seems to be introduced in 4.1.12, didn't experience it with any
4.1.10 version.
Maybe it's not actually a xfce4-session issue?

=======================================================================

-----------------------------------------------------------------------
 bmeurer - 2004-07-23 08:43 GMT 
-----------------------------------------------------------------------
The problem is with the xfce4-session configure script. It fails to detect
the optimal shutdown style for your system (it looks like it detects
redhat style and you don't seem to use redhat). If you run configure with
--with-shutdown-style=sudo, everything should be working again.

-----------------------------------------------------------------------
 nick_08150 - 2004-07-23 08:48 GMT 
-----------------------------------------------------------------------
But something must have changed, since I'm actually using Fedora Core 2 (so
very RedHat like) and have done so when xfce4-session 4.1.10 was installed
(then it worked). How does the shutdown style detection work?

-----------------------------------------------------------------------
 bmeurer - 2004-07-23 09:06 GMT 
-----------------------------------------------------------------------
Hm, I was told that on redhat every user can shutdown the system as long as
a file /var/lock/console/<user> or /var/run/console/<user> exists.

-----------------------------------------------------------------------
 nick_08150 - 2004-07-23 09:35 GMT 
-----------------------------------------------------------------------
I recompiled with --with-shutdown-style=sudo and everything works again as
expected. But there is a file /var/run/console/<user> on my system, and as
far as I know, a user that logs in locally is listed there and is therefore
allowed to shutdown the system, just as you said. (which is not a very nice
mechanism, imo). The sudo method is good, so I'm happy with this ;-)



More information about the Xfce-bugs mailing list