Re: Unable to perform shutdown from Xfce
[Please follow-up only to the Debian bug in CC, this is getting a bit off-topic for the list] On Thu,20.Aug.09, 19:12:15, Liviu Andronic wrote: On 8/20/09, Liviu Andronic landronim...@gmail.com wrote: Since at release time Ubuntu is patched Debian sid, I feel that the issue affects both distributions in a very similar way. Understanding what happens in Ubuntu may help understand what happens in Debian. There is one Ubuntu bug report [1] that may apply to our case. Especially comment #8 seems interesting. Liviu [1] https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/251337 That's interesting. Maybe we should forward the bug upstream instead of reassigning it to policykit? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: Unable to perform shutdown from Xfce
On Fri,21.Aug.09, 00:42:58, go...@dobosevic.com wrote: Liviu Andronic wrote: On 8/20/09, go...@dobosevic.com go...@dobosevic.com wrote: I was just install Debian Squeeze on one laptop. After installation I was remove Gnome and install XFCE. Shutdown and restart works normal without any tweaking. In Xfce, did you try to open a root terminal, or synaptic, and shutdown/reboot? Liviu I just tried with opened Synaptic and it's worked. Could you please also try with an open 'su' root session? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: Unable to perform shutdown from Xfce
Andrei Popescu wrote: On Fri,21.Aug.09, 00:42:58, go...@dobosevic.com wrote: Liviu Andronic wrote: On 8/20/09, go...@dobosevic.com go...@dobosevic.com wrote: I was just install Debian Squeeze on one laptop. After installation I was remove Gnome and install XFCE. Shutdown and restart works normal without any tweaking. In Xfce, did you try to open a root terminal, or synaptic, and shutdown/reboot? Liviu I just tried with opened Synaptic and it's worked. Could you please also try with an open 'su' root session? Regards, Andrei I just did. It works. Ok I em new and don't have so much experience with Linux but maybe is problem if you install just basic Debian without GUI and then apt-get XFCE. I knew I will get Lenovo S10e so i was experiment with XFCE and LXDE on my VirtualBox. I was installed Debian without GUI. After XFCE installation I can't shut down until I add myself to powerdev group. Maybe some kind of magic come if you install Debian with KDE/Gnome and then switch to XFCE? -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
Liviu Andronic wrote: On 8/20/09, go...@dobosevic.com go...@dobosevic.com wrote: I just tried with opened Synaptic and it's worked. Is there any chance that this issue be linked to the architecture? I'm running amd64. Liviu Don't know I don't have 64 just 32 :-( -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On 8/21/09, go...@dobosevic.com go...@dobosevic.com wrote: Don't know I don't have 64 just 32 :-( Andrei, are you using 64 or 32 bits? Liviu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
Liviu Andronic wrote: On 8/21/09, go...@dobosevic.com go...@dobosevic.com wrote: Don't know I don't have 64 just 32 :-( Andrei, are you using 64 or 32 bits? Liviu 32, don't have 64 bit PC. -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On Fri,21.Aug.09, 12:21:24, Liviu Andronic wrote: On 8/21/09, go...@dobosevic.com go...@dobosevic.com wrote: Don't know I don't have 64 just 32 :-( Andrei, are you using 64 or 32 bits? 64 bits as well, hhmm. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: Unable to perform shutdown from Xfce
Is there any chance that this issue be linked to the architecture? I'm running amd64. Liviu Can you install 32 bit in VirtualBox maybe if you have free time and space? Or can I look for something in my Squeeze XFCE? -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On 8/20/09, Andrei Popescu andreimpope...@gmail.com wrote: Would be interesting to know which package (libpam-ck-connector, consolekit or policykit) is responsible for this. The Xfce bug needs reassigning. Should this info be of any interest, a fresh install of Ubuntu Jackalope had no such issues. Bringing the system up-to-date introduced the same offensive behaviour. Might make sense to check the version changes in Ubuntu for these packages. Liviu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On Thu,20.Aug.09, 08:05:35, Liviu Andronic wrote: On 8/20/09, Andrei Popescu andreimpope...@gmail.com wrote: Would be interesting to know which package (libpam-ck-connector, consolekit or policykit) is responsible for this. The Xfce bug needs reassigning. Should this info be of any interest, a fresh install of Ubuntu Jackalope had no such issues. Bringing the system up-to-date introduced the same offensive behaviour. Might make sense to check the version changes in Ubuntu for these packages. Liviu I don't run Ubuntu, so can't help here. I will have to do some regression tests, by downgrading one (or as few packages as possible) at a time. Unfortunately snapshots is down which makes it harder. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: Unable to perform shutdown from Xfce
On 8/20/09, Andrei Popescu andreimpope...@gmail.com wrote: I don't run Ubuntu, so can't help here. I will have to do some regression tests, by downgrading one (or as few packages as possible) at a time. Unfortunately snapshots is down which makes it harder. Since at release time Ubuntu is patched Debian sid, I feel that the issue affects both distributions in a very similar way. Understanding what happens in Ubuntu may help understand what happens in Debian. Ubuntu 9.04 came with [1]: libpam-ck-connector 0.3.0-2ubuntu3 consolekit 0.3.0-2ubuntu3 policykit 0.9-2ubuntu1 With the default distribution xfce shutdown/reboot worked just fine. Up-to-date Ubuntu [2] has: libpam-ck-connector (0.3.0-2ubuntu4) consolekit (0.3.0-2ubuntu4) It seems that policykit hasn't been updated. With the updated packages the issue arose. Perhaps these PolicyKit.conf rules for Ubuntu would work on Debian [3]. Hmm, I ain't very sure that all this is of any help. Liviu [1] http://packages.ubuntu.com/jaunty/allpackages [2] http://packages.ubuntu.com/jaunty-updates/allpackages [3] https://lists.ubuntu.com/archives/xubuntu-users/2009-June/001779.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On Thu,20.Aug.09, 10:21:26, Liviu Andronic wrote: On 8/20/09, Andrei Popescu andreimpope...@gmail.com wrote: I don't run Ubuntu, so can't help here. I will have to do some regression tests, by downgrading one (or as few packages as possible) at a time. Unfortunately snapshots is down which makes it harder. Since at release time Ubuntu is patched Debian sid, I feel that the issue affects both distributions in a very similar way. Understanding what happens in Ubuntu may help understand what happens in Debian. Ubuntu 9.04 came with [1]: libpam-ck-connector 0.3.0-2ubuntu3 consolekit 0.3.0-2ubuntu3 policykit 0.9-2ubuntu1 With the default distribution xfce shutdown/reboot worked just fine. Up-to-date Ubuntu [2] has: libpam-ck-connector (0.3.0-2ubuntu4) consolekit (0.3.0-2ubuntu4) It seems that policykit hasn't been updated. With the updated packages the issue arose. Perhaps these PolicyKit.conf rules for Ubuntu would work on Debian [3]. Ok, but what about Xfce (especially xfce4-session), is it version 4.4 or 4.6? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: Unable to perform shutdown from Xfce
On 8/20/09, Andrei Popescu andreimpope...@gmail.com wrote: Ok, but what about Xfce (especially xfce4-session), is it version 4.4 or 4.6? xfce4 (4.6.0) xfce4-session (4.6.0-1ubuntu2) The two packages included in the default Jackalope have not been updated. Liviu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On 8/20/09, Liviu Andronic landronim...@gmail.com wrote: Since at release time Ubuntu is patched Debian sid, I feel that the issue affects both distributions in a very similar way. Understanding what happens in Ubuntu may help understand what happens in Debian. There is one Ubuntu bug report [1] that may apply to our case. Especially comment #8 seems interesting. Liviu [1] https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/251337 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
Liviu Andronic wrote: Dear all, More shutdown blues. Whenever I hit the Restart/Shut Down buttons in Xfce log-off-er, I get the following error, and the system falls back to gdm. Unable to perform shutdown org.freedesktop.hal.power-management.shutdown-multiple-sessions auth_admin -- (action, result) I get the exact same issue on an up-to-date Ubuntu Jackalope, and here I'm running Debian Squeeze. I see that the issue was discussed on Debian [1] and Ubuntu [2]. Following the Debian thread, I checked that I have libpam-ck-connector and policykit installed. I've read that the issue might go away if an appropriate PolicyKit.conf was configured. Could anyone attach a PolicyKit.conf that works on Debian Squeeze? Or perhaps suggest a different way to work around the issue? Thank you Liviu [1] http://osdir.com/ml/debian-bugs-dist/2009-04/msg08404.html [2] https://lists.ubuntu.com/archives/xubuntu-users/2009-June/001778.html li...@debian-liv:~$ polkit-auth | grep -i power org.freedesktop.hal.power-management.shutdown org.freedesktop.hal.power-management.reboot org.freedesktop.hal.power-management.set-powersave org.freedesktop.hal.power-management.suspend org.freedesktop.hal.power-management.hibernate org.freedesktop.hal.power-management.cpufreq org.freedesktop.hal.power-management.lcd-panel org.freedesktop.hal.power-management.light-sensor org.freedesktop.hal.power-management.keyboard-backlight I was just install Debian Squeeze on one laptop. After installation I was remove Gnome and install XFCE. Shutdown and restart works normal without any tweaking. -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On 8/20/09, go...@dobosevic.com go...@dobosevic.com wrote: I was just install Debian Squeeze on one laptop. After installation I was remove Gnome and install XFCE. Shutdown and restart works normal without any tweaking. In Xfce, did you try to open a root terminal, or synaptic, and shutdown/reboot? Liviu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
Liviu Andronic wrote: On 8/20/09, go...@dobosevic.com go...@dobosevic.com wrote: I was just install Debian Squeeze on one laptop. After installation I was remove Gnome and install XFCE. Shutdown and restart works normal without any tweaking. In Xfce, did you try to open a root terminal, or synaptic, and shutdown/reboot? Liviu I just tried with opened Synaptic and it's worked. -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On 8/20/09, go...@dobosevic.com go...@dobosevic.com wrote: I just tried with opened Synaptic and it's worked. Is there any chance that this issue be linked to the architecture? I'm running amd64. Liviu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Unable to perform shutdown from Xfce
Dear all, More shutdown blues. Whenever I hit the Restart/Shut Down buttons in Xfce log-off-er, I get the following error, and the system falls back to gdm. Unable to perform shutdown org.freedesktop.hal.power-management.shutdown-multiple-sessions auth_admin -- (action, result) I get the exact same issue on an up-to-date Ubuntu Jackalope, and here I'm running Debian Squeeze. I see that the issue was discussed on Debian [1] and Ubuntu [2]. Following the Debian thread, I checked that I have libpam-ck-connector and policykit installed. I've read that the issue might go away if an appropriate PolicyKit.conf was configured. Could anyone attach a PolicyKit.conf that works on Debian Squeeze? Or perhaps suggest a different way to work around the issue? Thank you Liviu [1] http://osdir.com/ml/debian-bugs-dist/2009-04/msg08404.html [2] https://lists.ubuntu.com/archives/xubuntu-users/2009-June/001778.html li...@debian-liv:~$ polkit-auth | grep -i power org.freedesktop.hal.power-management.shutdown org.freedesktop.hal.power-management.reboot org.freedesktop.hal.power-management.set-powersave org.freedesktop.hal.power-management.suspend org.freedesktop.hal.power-management.hibernate org.freedesktop.hal.power-management.cpufreq org.freedesktop.hal.power-management.lcd-panel org.freedesktop.hal.power-management.light-sensor org.freedesktop.hal.power-management.keyboard-backlight -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
Liviu Andronic wrote: Dear all, More shutdown blues. Whenever I hit the Restart/Shut Down buttons in Xfce log-off-er, I get the following error, and the system falls back to gdm. Unable to perform shutdown org.freedesktop.hal.power-management.shutdown-multiple-sessions auth_admin -- (action, result) I get the exact same issue on an up-to-date Ubuntu Jackalope, and here I'm running Debian Squeeze. I see that the issue was discussed on Debian [1] and Ubuntu [2]. Following the Debian thread, I checked that I have libpam-ck-connector and policykit installed. I've read that the issue might go away if an appropriate PolicyKit.conf was configured. Could anyone attach a PolicyKit.conf that works on Debian Squeeze? Or perhaps suggest a different way to work around the issue? Thank you Liviu [1] http://osdir.com/ml/debian-bugs-dist/2009-04/msg08404.html [2] https://lists.ubuntu.com/archives/xubuntu-users/2009-June/001778.html li...@debian-liv:~$ polkit-auth | grep -i power org.freedesktop.hal.power-management.shutdown org.freedesktop.hal.power-management.reboot org.freedesktop.hal.power-management.set-powersave org.freedesktop.hal.power-management.suspend org.freedesktop.hal.power-management.hibernate org.freedesktop.hal.power-management.cpufreq org.freedesktop.hal.power-management.lcd-panel org.freedesktop.hal.power-management.light-sensor org.freedesktop.hal.power-management.keyboard-backlight Hi, here is my PolicyKit.conf from Sid XFCE (upgrade from Squeeze): ?xml version=1.0 encoding=UTF-8? !-- -*- XML -*- -- !DOCTYPE pkconfig PUBLIC -//freedesktop//DTD PolicyKit Configuration 1.0//EN http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd; !-- See the manual page PolicyKit.conf(5) for file format -- config version=0.1 /config I really don't remember how I did it but it was first link from google. If I can send you something else let me know. -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
Hello, The /etc/PolicyKit/PolicyKit.conf that I have is an exact replica of the one that you attached. Unfortunately it is not enough to shutdown/reboot Xfce. I am looking for one similar to the one attached in this e-mail [1], but that is known to solve the issue. Liviu [1] http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg641252.html On 8/19/09, go...@dobosevic.com go...@dobosevic.com wrote: here is my PolicyKit.conf from Sid XFCE (upgrade from Squeeze): ?xml version=1.0 encoding=UTF-8? !-- -*- XML -*- -- !DOCTYPE pkconfig PUBLIC -//freedesktop//DTD PolicyKit Configuration 1.0//EN http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd; !-- See the manual page PolicyKit.conf(5) for file format -- config version=0.1 /config I really don't remember how I did it but it was first link from google. If I can send you something else let me know. -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ -- Do you know how to read? http://www.alienetworks.com/srtest.cfm Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On Wed, Aug 19, 2009 at 04:43:56PM +0100, Liviu Andronic wrote: Hello, The /etc/PolicyKit/PolicyKit.conf that I have is an exact replica of the one that you attached. Unfortunately it is not enough to shutdown/reboot Xfce. I am looking for one similar to the one attached in this e-mail [1], but that is known to solve the issue. is it a permissions issue? are you in the (I think) powerdev group? I have vague memories of that being helpful in that case. A signature.asc Description: Digital signature
Re: Unable to perform shutdown from Xfce
On Wed,19.Aug.09, 13:48:16, Liviu Andronic wrote: Dear all, More shutdown blues. Whenever I hit the Restart/Shut Down buttons in Xfce log-off-er, I get the following error, and the system falls back to gdm. Unable to perform shutdown org.freedesktop.hal.power-management.shutdown-multiple-sessions auth_admin -- (action, result) Maybe you are seeing bug #526009. Try closing all 'su' or similar sessions before trying to shutdown. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: Unable to perform shutdown from Xfce
Liviu Andronic wrote: Hello, The /etc/PolicyKit/PolicyKit.conf that I have is an exact replica of the one that you attached. Unfortunately it is not enough to shutdown/reboot Xfce. I am looking for one similar to the one attached in this e-mail [1], but that is known to solve the issue. Liviu [1] http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg641252.html I don't think editing the default PolicyKit.conf should be necessary. Are you starting Xfce with startx/startxfce4 from ~/.xinitrc or similar? If so, make sure to start it with the ck-launch-session command. For example, if your .xinitrc file currently contains exec startxfce4 replace it with ck-launch-session startxfce4 That way you get a ConsoleKit session and everything (Shutdown, suspend, automount, etc) should work again. (Alternatively, that thread you linked to suggested you can put exec startxfce4 in .xession, and then start with startx, and Debian will take care of the ck stuff.) If you are using GDM or KDM, then something else is wrong... - Chris Burkhardt -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On 2009-08-19T13:48:16, Liviu Andronic wrote: More shutdown blues. Whenever I hit the Restart/Shut Down buttons in Xfce log-off-er, I get the following error, and the system falls back to gdm. Unable to perform shutdown http://www.xfce.org/documentation/4.2/manuals/xfce4-session lead me to add this at some point to /etc/sudoers: allan ALL=(root) NOPASSWD:/usr/sbin/xfsm-shutdown-helper /Allan -- Allan Wind Life Integrity, LLC http://lifeintegrity.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On 8/19/09, Andrei Popescu andreimpope...@gmail.com wrote: Maybe you are seeing bug #526009. Try closing all 'su' or similar sessions before trying to shutdown. Thanks. From the potential solutions mentioned, at least this trick works. Liviu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Unable to perform shutdown from Xfce
On Thu,20.Aug.09, 06:18:03, Liviu Andronic wrote: On 8/19/09, Andrei Popescu andreimpope...@gmail.com wrote: Maybe you are seeing bug #526009. Try closing all 'su' or similar sessions before trying to shutdown. Thanks. From the potential solutions mentioned, at least this trick works. Liviu Would be interesting to know which package (libpam-ck-connector, consolekit or policykit) is responsible for this. The Xfce bug needs reassigning. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature