You are not logged in.
I guess this isn't the problem here since the shutdown is partially done, but what is the state of your user session? Is it Active=yes and State=active?
~$ loginctl show-session $XDG_SESSION_IDOr maybe your display manager is somehow interfering (tries to restart although it should exit) and that blocks the operation. Something like that happened to me once, I don't remember how I solved it. In the meantime I switched to VT1 logged into the shell and entered my shutdown command.
Hi It's already active ..
loginctl show-session $XDG_SESSION_ID
Id=1
Timestamp=Tue 2013-09-03 00:15:25 CEST
TimestampMonotonic=704102652
DefaultControlGroup=systemd:/user/1001.user/1.session
VTNr=7
Display=:0
Remote=no
Service=kde
Leader=361
Audit=1
Type=x11
Class=user
Active=yes
State=active
KillProcesses=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0I couldn't solve the problem until now ..
Offline
if this somehow got solved please edit your first post solved(?) my brane went 10 directions on this one
I need a nap...I dont see where acpi has anything todo with this and if you have a login manager installed nuke it!
you dont need it and it may be causing you problems.
end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'the machine is not the end to the means., we are. In history, in board rooms and politic the greatest decision and effort
evolves from passion, lust for life, and a common sense of humanity. Never forget what you are and why'. -me
Offline
if this somehow got solved please edit your first post solved(?) my brane went 10 directions on this one
I need a nap...I dont see where acpi has anything todo with this and if you have a login manager installed nuke it!
you dont need it and it may be causing you problems.
I just removed lxde and tried to Shutdown but it's not the problem ..
Offline
try killing X and see wot happens...
end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'the machine is not the end to the means., we are. In history, in board rooms and politic the greatest decision and effort
evolves from passion, lust for life, and a common sense of humanity. Never forget what you are and why'. -me
Offline
@carthagian theres a bit of confusion over what actually took place previously...
I would suggest starting clean reset your sudoers to the stock config, carefully as this is a picky config
then you might change to a root prompt and run #pacman -Syy && pacman -Syu
then reinstall KDE ie; #pacman -S kde
reboot and try #shutdown -h now
at this point if it doesnt power off, Im stumped, without delving into it more deeply, are you using UEFI?
especially the part about a default sudoers a corrupt sudoers can provide the damnest things.
end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'the machine is not the end to the means., we are. In history, in board rooms and politic the greatest decision and effort
evolves from passion, lust for life, and a common sense of humanity. Never forget what you are and why'. -me
Offline
@carthagian theres a bit of confusion over what actually took place previously...
I would suggest starting clean reset your sudoers to the stock config, carefully as this is a picky config
then you might change to a root prompt and run #pacman -Syy && pacman -Syu
then reinstall KDE ie; #pacman -S kde
reboot and try #shutdown -h now
at this point if it doesnt power off, Im stumped, without delving into it more deeply, are you using UEFI?
especially the part about a default sudoers a corrupt sudoers can provide the damnest things.
My Sudoers is ok ! no I don't use UEFI ! and no it doesn't poweroff ! I tried this 5 days ago and now again .. it doesn't work !
Offline
So I see that yu have now established that this does the same thing from outside of X (from the console/TTY), so I think that the only thing that you might be able to now do is try older/newer kernels in order to see if it is kernel related.
A while back, I experienced something a bit odd with my machine during shutdown as well. It didn't do what yours is doing exactly, but if I tried to shutdown, it would actually just reboot itself. If I rebooted it would be normal. But even the shutdown's resulting reboot was not quite the same as a normal reboot, pausing briefly before firing the POST screen back up.
I have no idea what ended up fixing my system… I suspected it was a kernel issue, but I had no proof of that either. When you get to this point where you are experiencing a problem after logging stops, there is not much you can do to really debug the situation. So I think the only reasonable thing you can do at this point (that doesn't require building a new kernel) is to try the linux-lts kernel, boot that and then see if the problem persists. If it doesn't, you've got a likely suspect.
Edit: You still may want to try upping the systemd_loglevel and enabling the debug shell as I described above. It should actually log ever so slightly later than the normal journal's logging.
Last edited by WonderWoofy (2013-09-03 02:46:59)
Offline
I dont know how you removed LXDE but make sure lxpolkit is gone your problem is most likely with polkit
I assume your wheel group is right and I hope your sudoers is right as you say because it could cause such a problem
go over the polkit wiki line by line. Im done. @carthagian if you dont follow our advise precisely we cant help.
end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'the machine is not the end to the means., we are. In history, in board rooms and politic the greatest decision and effort
evolves from passion, lust for life, and a common sense of humanity. Never forget what you are and why'. -me
Offline
@rufus, it has already been established long before you started posting in this thread that it is likely not an issue with permissions. The issue seems to occur whether carthagian shuts down with a normal user (via polkit) or with root. So I'm not sure what you're getting on about with this continued prodding in a totally irrelevant direction.
BTW, it is nice to see that you are starting to use some punctuation, a bit more and you would start to have some much clearer posts.
Offline
@ WonderWoofy Im glad you approve ....
If you read backwards it sure looks like we've been second guessed a lot and I dont know whats been tried in actuality
I have a dedicated account and know how long certain tasks take. I couldnt guess where he actually stands on this and won't.
so Im off the string. Have a Wonderful day.
end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'the machine is not the end to the means., we are. In history, in board rooms and politic the greatest decision and effort
evolves from passion, lust for life, and a common sense of humanity. Never forget what you are and why'. -me
Offline