! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-session 'reboot'/'turn off' options only do a 'quit session'
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-session
Component:
General

Comments

Description Nikolas.Arend 2004-07-23 08:32:13 CEST
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?
Comment 1 Benedikt Meurer 2004-07-23 08:43:58 CEST
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.
Comment 2 Nikolas.Arend 2004-07-23 08:48:40 CEST
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?
Comment 3 Benedikt Meurer 2004-07-23 09:06:24 CEST
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.
Comment 4 Nikolas.Arend 2004-07-23 09:35:08 CEST
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 ;-)
Comment 5 Benedikt Meurer 2004-07-23 12:38:23 CEST
The problem is that - even tho the redhat method is simple and nice - it does
not work. Therefore I disabled the redhat shutdown style for now, until some
redhat user can clarify whats wrong with my xfsm-shutdown-helper-redhat.c.
Comment 6 Brian J. Tarricone (not reading bugmail) 2004-10-12 22:25:30 CEST
mass reassign from zz-do-not-use to general, so i can remove the zz-do-not-use
component.  sorry for the spam, search for this string to filter these:
fis7cldoq35p3kjdu74emc
Comment 7 Jasper Huijsmans editbugs 2004-12-12 09:31:18 CET
Ok, I set severity to enhancement, since it's more of a feature request now.
Comment 8 mpol 2005-07-31 13:27:38 CEST
Afaik there's nothing wrong with xfce4-session/xfsm-shutdown-helper-redhat.c. I run Mandriva Cooker, and with pam_console (which provides /var/run/console.lock) and usermode-consoleonly (which provides /usr/bin/halt and /usr/bin/reboot) everything works as expected. I did have a bit of a hardtime to have xfce-session use the redhat method, because it's disabled by default (as I just read here). Could you please enable an option for --with-shutdown-style=redhat? 
Comment 9 Benedikt Meurer editbugs 2005-07-31 13:32:07 CEST
Well, I'm still waiting for someone with RedHat to verify that it works.
Comment 10 NEWTral 2006-06-25 10:46:27 CEST
I use xubuntu, XFCE version=4.3.90.2 (4.4 Beta1) and I have the same problem. A click on shut down , which causes logout to XFCE-login-dialog or to console-login-dialog. :(
Comment 11 jbb 2006-09-08 18:22:59 CEST
I just happend to have the same issue.
It worked good from xfce 4.2 to 4.3.90beta2, and in 4.4.rc1, when i try to reboot or stop, i'm now in front in kdm ( yes i use kdm ...)
So still an actual problem

(gentoo, xfce 4.4rc1 from unofficial ebuilds)
Comment 12 Benedikt Meurer editbugs 2006-09-08 23:59:24 CEST
Please try with revision 23113 or later.
Comment 13 Harold Aling 2007-02-14 22:39:04 CET
(In reply to comment #12)
> Please try with revision 23113 or later.
> 

No reports since... (?)

If someone still has this problem, please reopen this bug...

Bug #270

Reported by:
Nikolas.Arend
Reported on: 2004-07-23
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
1 user

Version

Attachments

Additional information