Xfce Forum

Sub domains
 

You are not logged in.

#1 2006-09-18 18:49:42

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

upgrade - lost hibernation, sudo'd shutdown

I upgraded to the latest Xfrce RC1 on Ubuntu 6.06.

When I quit, I no longer has suspend and hibernate options, and I need to enter my password to shutdown.

Advice on how to fix this?

Offline

#2 2006-09-20 09:55:33

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: upgrade - lost hibernation, sudo'd shutdown

Xfce4-session in 4.4rc1 has support for HAL to shutdown:

README wrote:

Starting with xfce4-session 4.3.99.2 xfce4-session will first try to use
HAL (if built with D-Bus support) and fallback to the sudo method described
above. So if you have HAL installed on your system, and your account is
allowed to shutdown/reboot the computer using HAL, you don't need to setup
sudo at all.

NEWS wrote:

Add support for HAL to shutdown/reboot the computer. Must be enabled
  explicitly using --with-shutdown-style=hal to configure (Bug #2046).

You can disable dbus when compiling (check ./configure --help).

Offline

#3 2006-09-20 10:23:53

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: upgrade - lost hibernation, sudo'd shutdown

Nick wrote:

Xfce4-session in 4.4rc1 has support for HAL to shutdown:

NEWS wrote:

Add support for HAL to shutdown/reboot the computer. Must be enabled
  explicitly using --with-shutdown-style=hal to configure (Bug #2046).

You can disable dbus when compiling (check ./configure --help).

I used the graphical installer. So how do I configure that option with the installer? Otherwise, which individual components of Xfce should I download and build manually?

Offline

#4 2006-09-20 11:27:33

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: upgrade - lost hibernation, sudo'd shutdown

Offline

#5 2006-09-20 12:28:05

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: upgrade - lost hibernation, sudo'd shutdown

Nick wrote:

I rebuilt it with the hal support option, and it still doesn't work.

Offline

#6 2006-12-16 15:06:15

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: upgrade - lost hibernation, sudo'd shutdown

Well, due to other problems I re-installed the default Xfce from within Ubuntu.

I have since upgraded Ubuntu to Edge Eft 6.10. I've gotten fed up with various other problems with Xfce on Ubuntu (such as mangled menu titles), so I've upgraded to Xfce 4.4 RC2.  Everything seems to work well, except that I've lost the hibernate/suspend options in Quit, again.  I can close my laptop and it will hibernate, though.

I've (re)tried rebuilding xfce4-session, and it's not fixed the problem. But I'm confused about your response: should I build it with or without dbus support?  If I build it without dbus, what of the Trash?

Nick wrote:

Xfce4-session in 4.4rc1 has support for HAL to shutdown:

README wrote:

Starting with xfce4-session 4.3.99.2 xfce4-session will first try to use
HAL (if built with D-Bus support) and fallback to the sudo method described
above. So if you have HAL installed on your system, and your account is
allowed to shutdown/reboot the computer using HAL, you don't need to setup
sudo at all.

NEWS wrote:

Add support for HAL to shutdown/reboot the computer. Must be enabled
  explicitly using --with-shutdown-style=hal to configure (Bug #2046).

You can disable dbus when compiling (check ./configure --help).

Offline

#7 2007-01-23 16:24:23

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: upgrade - lost hibernation, sudo'd shutdown

I upgraded to Xfce 4.4. The graphical installer recommended various -dev packages for hal and dbus support. I thought "Ah, this will fix the problems I am having with hibernation."

Alas no. I still do not get the hibernate/suspend options when shutting down.

Offline

#8 2007-01-23 18:13:11

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: upgrade - lost hibernation, sudo'd shutdown

Well if xfce4-session is compiled with hal support, you probably don't have right to suspend/hibernate. Maybe you need to add yourself to the hal or power group.

Offline

#9 2007-01-23 21:03:33

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: upgrade - lost hibernation, sudo'd shutdown

I don't think it's a permissions issue, since I <i>used</i> to have suspend/hibernate options before upgrading.  I have those options when using Gnome.

Also, there are no hal or power groups on my system (or anything resembling them).

Offline

Board footer

Powered by FluxBB