You are not logged in.
After doing a pacman -Syu yesterday, I have not been able to shudown under a normal user. I've tried all the things suggested in the wiki. Its very annoying to have to open the terminal and type 'sudo poweroff' everytime so if anyone can help me, I'd greatly appreciate it. Yes, dbus and hal are in MODULES.
R.I.P In Pieces
Offline
Telling us what WM or DE are you using might help find a solution.
Edit: Are you in the power group in /etc/group?
# gpasswd -a <USERNAME> power
Last edited by bgc1954 (2009-02-08 16:34:10)
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Telling us what WM or DE are you using might help find a solution.
Edit: Are you in the power group in /etc/group?
# gpasswd -a <USERNAME> power
I guess it won't help. The problem maybe happen after recent upgrade the HAL. I got two: this one and second with automount of USB disks. The second is already fixed and problem was in HAL. Still looking for fix of the first problem.
Archlinux? I really like it!
Offline
same problem here after last hal upgrade, cant mount device with hal or cant shudown or reboot xfce session
Offline
Looks like the new version of hal, 0.5.11-7, is causing lots of problems for people. I would suggest downgrading to 0.5.11-4. My Athlon X2 box (not in my sig) freezes up whenever I get to the slim login screen, and hal always fails to start.
My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! , OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor
Offline
same problem here after last hal upgrade, cant mount device with hal or cant shudown or reboot xfce session
To fix the problem with mounting, please go to HAL page in Wiki and read Troubleshooting. Edit /etc/PolicyKit/PolicyKit.conf as described.
Archlinux? I really like it!
Offline
ok, I found some info about policykit and hal and my question is: Is power and storage groups now needed? I dont now if I understand right, but it seems like now security is handled by policykit?
Last edited by fantomas (2009-02-09 00:07:32)
Offline
I hope they fix this soon.
Last edited by thatnewyorker (2009-02-08 22:56:00)
R.I.P In Pieces
Offline
Same here...
KDE refuses to mount cd or dvd media-just after the recent hal update
I hope that update is coming soon
Everything I build I destroy
Everything I love always hurts
Everything I hate I'd rather love
Everything I am is everything I'm not
Offline
I was having similar issues, went to System-Preferences-Authorizations.
Make sure you grant yourself permission under the options you want under power management.
Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN
Offline
This made it possible for me to reboot and shutdown:
polkit-action --set-defaults-any org.freedesktop.hal.power-management.reboot yes
polkit-action --set-defaults-any org.freedesktop.hal.power-management.shutdown yes
edit. That was pretty lame advice, here lies the ultimate fix:
fantomas wrote:same problem here after last hal upgrade, cant mount device with hal or cant shudown or reboot xfce session
To fix the problem with mounting, please go to HAL page in Wiki and read Troubleshooting. Edit /etc/PolicyKit/PolicyKit.conf as described.
Last edited by jass0 (2009-02-09 22:48:27)
Offline
same problem here after last hal upgrade, cant mount device with hal or cant shudown or reboot xfce session
Same here for me and xfce4.
Offline
westend wrote:fantomas wrote:same problem here after last hal upgrade, cant mount device with hal or cant shudown or reboot xfce session
To fix the problem with mounting, please go to HAL page in Wiki and read Troubleshooting. Edit /etc/PolicyKit/PolicyKit.conf as described.
This fixed my mounting issue for xfce4.
Does any body have a fix for the xfce4 restart/shutdown issue that keeps redirecting me back to the slim login screen?
Offline
I am a little surprised, because I havent seen any shutdown issues with the latest version of hal. What WM/DE do you use?
I use openbox and no login manager. Could that be it?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I am a little surprised, because I havent seen any shutdown issues with the latest version of hal. What WM/DE do you use?
I use openbox and no login manager. Could that be it?
xfce4 and slim.
Offline
For those out there having problems with last HAL update, I did as well, but with a little help I solved it
A thing of beauty is a joy forever
-John Keats
Offline
It seems there are 2 ways to do the same, one is to write it directly in /etc/PolicyKit/PolicyKit.conf and the other is to use polkit-action that stores changes I don't know where .... I prefer the first option although xml?? Wouldn't a simple well thought plaintext file suffice?
Anyway here's the "complete" shutdown/reboot/automount usb fix I'm using now
<?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">
<match action="org.freedesktop.hal.storage.mount-removable">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.power-management.shutdown">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.power-management.reboot">
<return result="yes"/>
</match>
</config>
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Thank you to everyone re-posting the same Policykit fix for the mounting issue..... westend was the first to point it out with post#6 comment:
fantomas wrote:same problem here after last hal upgrade, cant mount device with hal or cant shudown or reboot xfce session
To fix the problem with mounting, please go to HAL page in Wiki and read Troubleshooting. Edit /etc/PolicyKit/PolicyKit.conf as described.
But there is a SECOND bug that hasn't been fixed yet. It is about the "shutdown" and "reboot" not completing. It just goes back to the login screen. (for xfce4 and slim)
It's being reported by "thatnewyorker" (post#1), westend (post#3), fantomas (post#4), and me (methuselah post#12). It also is in the the BUGS section as comment #6: http://bugs.archlinux.org/task/13162#comment39047
Comment by ugaciaka (ugaciaka) - Monday, 09 February 2009, 03:51 GMT-5
another problem, when I will shutdown pc (i'm using xfce): relogin! I'm using slim...
"failed to execute login command" and relogin
Any ideas from anybody?
Last edited by methuselah (2009-02-10 19:04:38)
Offline
an easy way around this, is not to use a login manager if you're using one. I have herd many people with kde having similar problems, however since I don't use the login manager, kde doesn't monitor shutdown or restart of my computer.
use
sudo shutdown -h now
easy.
A thing of beauty is a joy forever
-John Keats
Offline
an easy way around this, is not to use a login manager if you're using one. I have herd many people with kde having similar problems, however since I don't use the login manager, kde doesn't monitor shutdown or restart of my computer.
use
sudo shutdown -h now
easy.
I have been using the "sudo poweroff" command, and the "sudo reboot -n" command..... It's what I have been doing since last night. I'll use "sudo shutdown -h now" if it's better for my laptop than the "sudo poweroff" command.
.....But I just want to fix my slim and gui shutdown method because it's the "easiest way" to just press the quit button and the shutdown button.
EDIT: also thank you. I know you were just trying to help and point out the easiest and best command to use to shutdown..... I just like to have all of my apps working in the way they are meant to work..... so that is why I was hoping to fix the xfce/slim logout problem.
Last edited by methuselah (2009-02-10 19:38:11)
Offline
If you start in CLI mode are you able to issue normal shutdown commands such as the one i posted?
A thing of beauty is a joy forever
-John Keats
Offline
If you start in CLI mode are you able to issue normal shutdown commands such as the one i posted?
I use slim as my login manager. I had originally been using the wrong "shutdown" commands with: "sudo shutdown -n" and "sudo shutdown -h" (without the now)......
So I just used the "sudo poweroff" command and it worked fine. Same as "sudo reboot -n". (I always use that command when in tty1 console)
Your command: "sudo shutdown -h now" works perfectly. (I didn't know you need the "now" part)
Is it better than the "sudo poweroff" command?
Anyway, all terminal commands aside..... I would like to fix the gui way because that is the way I usually quit/shutdown.
Last edited by methuselah (2009-02-10 19:50:10)
Offline
Didn't read to this topic fully, but it seems related to this: http://bbs.archlinux.org/viewtopic.php?id=65070
Offline
Thank you to everyone re-posting the same Policykit fix for the mounting issue..... westend was the first to point it out with post#6 comment:
westend wrote:fantomas wrote:same problem here after last hal upgrade, cant mount device with hal or cant shudown or reboot xfce session
To fix the problem with mounting, please go to HAL page in Wiki and read Troubleshooting. Edit /etc/PolicyKit/PolicyKit.conf as described.
But there is a SECOND bug that hasn't been fixed yet. It is about the "shutdown" and "reboot" not completing. It just goes back to the login screen. (for xfce4 and slim)
It's being reported by "thatnewyorker" (post#1), westend (post#3), fantomas (post#4), and me (methuselah post#12). It also is in the the BUGS section as comment #6: http://bugs.archlinux.org/task/13162#comment39047
Comment by ugaciaka (ugaciaka) - Monday, 09 February 2009, 03:51 GMT-5
another problem, when I will shutdown pc (i'm using xfce): relogin! I'm using slim...
"failed to execute login command" and reloginAny ideas from anybody?
I confirm that solution suggested by ROOKIE fixes bug with reboot on XFCE 4.4.3 with Slim (daemon). I did not test shutdown yet. Actually, I combine expressions from Wiki with two last expressions from ROOKIE.
Last edited by westend (2009-02-10 20:10:48)
Archlinux? I really like it!
Offline