You are not logged in.

#1 2011-04-07 02:21:38

off220
Member
Registered: 2010-04-01
Posts: 92

(Solved)kde 4.6.2 cannot shutdown.

Hello. After upgrading to 4.6.2 I cannot shutdown anymore. When I chose shutdowk kdm stops, I'm back to tty1 and thats all. Nothing happens. I cannot find anything suspicious in logs.

Last edited by off220 (2011-04-07 18:45:07)

Offline

#2 2011-04-07 02:50:19

ejmarkow
Member
From: Siemiechów, Poland
Registered: 2008-09-02
Posts: 84
Website

Re: (Solved)kde 4.6.2 cannot shutdown.

@off220:   I am also experiencing the same issue. When I click on the red "Turn Off Computer" button, it goes out of KDE, into (tty1), and then I must manually log in (with username and password),  go into root (#), and exit the system using "shutdown -h now".

Last edited by ejmarkow (2011-04-07 03:44:05)

Offline

#3 2011-04-07 04:51:23

trc
Member
From: Beaver Dam, WI
Registered: 2010-01-14
Posts: 85
Website

Re: (Solved)kde 4.6.2 cannot shutdown.

*joins ship*

not a huge deal but would be nice to see it fixed


~trc

Offline

#4 2011-04-07 05:08:10

ushimitsudoki
Member
From: Okinawa
Registered: 2010-07-20
Posts: 18
Website

Re: (Solved)kde 4.6.2 cannot shutdown.

Check the [Shutdown] value in /usr/share/config/kdm/kdmrc

It should be something like:

[Shutdown]
BootManager=None
HaltCmd=/sbin/halt
RebootCmd=/sbin/reboot

shutdown -p or whatever in there will fail and drop you to a tty[1]

[1] https://bugs.kde.org/show_bug.cgi?id=270228

I can report that 4.6.2 shutdowns fine for me.


Free Software, Free Society

Offline

#5 2011-04-07 09:47:42

frankifol
Member
Registered: 2007-11-12
Posts: 46

Re: (Solved)kde 4.6.2 cannot shutdown.

I use Arch64 on a Dell Xps Desktop with last kde release. Now when I halt the system through the graphic tool of Kde the system does not switch off. I have the command line shell asking me to log in. So I nedd to log in as root and the switch off with halt command. Any suggestion?

Offline

#6 2011-04-07 10:03:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: (Solved)kde 4.6.2 cannot shutdown.

merging...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2011-04-07 12:37:55

Andrenas
Member
From: Coimbra, Portugal
Registered: 2011-03-14
Posts: 19

Re: (Solved)kde 4.6.2 cannot shutdown.

ushimitsudoki wrote:

Check the [Shutdown] value in /usr/share/config/kdm/kdmrc

It should be something like:

[Shutdown]
BootManager=None
HaltCmd=/sbin/halt
RebootCmd=/sbin/reboot

shutdown -p or whatever in there will fail and drop you to a tty[1]

[1] https://bugs.kde.org/show_bug.cgi?id=270228

I can report that 4.6.2 shutdowns fine for me.

Thank you. That solved the problem in my laptop.

Edit: in my case, all that lines are commented and without any command.

Last edited by Andrenas (2011-04-07 12:43:53)

Offline

#8 2011-04-07 16:20:07

frankifol
Member
Registered: 2007-11-12
Posts: 46

Re: (Solved)kde 4.6.2 cannot shutdown.

thanks, solved also for me.

Offline

#9 2011-04-07 18:44:41

off220
Member
Registered: 2010-04-01
Posts: 92

Re: (Solved)kde 4.6.2 cannot shutdown.

thanx, worked for me also. solved.

Offline

#10 2011-04-08 01:41:12

AurosGamma
Member
From: San Cristobal,Venezuela
Registered: 2011-02-22
Posts: 132

Re: (Solved)kde 4.6.2 cannot shutdown.

I was searching about this problem for a proper way solve this issue, and this isn't really a bug. Let me explain.
KDE 4.6.2 changed /usr/share/config/kdm/kdmrc file, so the problem is that the old config file is not totally compatible, so to generate a compatible file do the following:

1- Go to System Settings->Login Screen and set the defaults settings, this will generate a new kdmrc file
Note:This is just to regenerate a new kmdrc,with the next settings

[Shutdown]
BootManager=None
HaltCmd=/sbin/shutdown -p now
RebootCmd=/sbin/shutdown -r now

Which is worng, because shutdown command has no -p argument, so you will be droped to tty1 session...

2- Go to shutdown tab and change the halt setting from "/sbin/shutdown -p now" to "/sbin/shutdown -h now"
3- The theme of KDM also has changed so set your preferred theme and you are done

I hope this helps to understand the source of this problem
Take Care big_smile

P.S. You maybe are wondering yourself "Why i want to generate a wrong kmdrc file?" well... apart of shutdown settings, there is other settings in the same file, so is a good idea to regenerate it

Last edited by AurosGamma (2011-04-08 01:59:07)

Offline

#11 2011-04-10 12:59:33

Malkavian
Member
From: Germany
Registered: 2011-02-27
Posts: 6

Re: (Solved)kde 4.6.2 cannot shutdown.

Thanks!

Offline

#12 2011-08-07 16:51:58

weltio
Member
From: Germany
Registered: 2009-04-05
Posts: 87

Re: (Solved)kde 4.6.2 cannot shutdown.

AurosGamma wrote:

2- Go to shutdown tab and change the halt setting from "/sbin/shutdown -p now" to "/sbin/shutdown -h now"

This is correct, but the original kdmrc doesnt use the -p but -P option.
So the line is "/sbin/shutdown -h -P now".

I had the same problem and got the hint with kdmrc in this thread. So I took a look at the pacnew-file (which I obviously should do more often).
I havent shutdown since I replaced kdmrc with kdmrc.pacnew, but I should solve the problem.

So thank you and replace kdmrc big_smile

Offline

Board footer

Powered by FluxBB