You are not logged in.

#1 2010-05-02 20:13:19

Arthenik
Member
Registered: 2010-02-13
Posts: 44

Cannot Shutdown/Restart from KDE

I cannot shut down from the Lancelot menu, or any other KDE menu for that matter. Whatever I choose, Shutdown, Suspend to RAM, etc., the system always asks me whether I want to log out.

I originally thought that this was a KDEmod issue, so I switched to standard KDE, but the problem persists.

Offline

#2 2010-05-02 21:12:16

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Cannot Shutdown/Restart from KDE

How do you start KDE?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2010-05-02 21:48:38

JezdziecBezNicka
Member
From: Cracow, Poland
Registered: 2009-12-03
Posts: 89

Re: Cannot Shutdown/Restart from KDE

You need

exec ck-launch-session startkde

in your xinitrc. Or use kdm.


This is my signature. If you want to read it, first you need to agree to the EULA.

Offline

#4 2010-05-02 22:23:06

Arthenik
Member
Registered: 2010-02-13
Posts: 44

Re: Cannot Shutdown/Restart from KDE

I use CDM. I was under the impression that it added the necessary bits by itself, but I guess it didn't. Thanks a lot. smile

Offline

#5 2010-05-03 10:51:35

Soumyadeep
Member
From: kolkata,India
Registered: 2009-09-09
Posts: 218

Re: Cannot Shutdown/Restart from KDE

I also have this same issue , my .xinitrc is like the above: exec ck-launch-session startkde, using slim as login manger. But still I cant shutdown or restart from kde, only when using kdm I can shutdown.

Offline

#6 2010-05-03 12:28:30

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Cannot Shutdown/Restart from KDE

Similar problem here:

exec ck-launch-session startkde

in .xinitrc doesn't work anymore. It works for Lxde, but in KDE the shutdown / reboot options are not shown in the Leave section of Kmenu.

This used to work a few months ago, but I'm using kdm, so I didn't notice it until now. I didn't find anything relevant via google or the wiki.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#7 2010-05-03 20:34:39

Arthenik
Member
Registered: 2010-02-13
Posts: 44

Re: Cannot Shutdown/Restart from KDE

It didn't work. sad

Offline

#8 2010-05-03 20:58:50

JezdziecBezNicka
Member
From: Cracow, Poland
Registered: 2009-12-03
Posts: 89

Re: Cannot Shutdown/Restart from KDE

exec ck-launch-session startkde

works for sessions started with startx or xinit, not ones started by a display manager.


This is my signature. If you want to read it, first you need to agree to the EULA.

Offline

#9 2010-05-03 23:50:16

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Cannot Shutdown/Restart from KDE

JezdziecBezNicka wrote:
exec ck-launch-session startkde

works for sessions started with startx or xinit, not ones started by a display manager.

That doesn't make sense. There are display managers (e.g. slim) that call startx / xinit. If you use one of them, ck-launch-session should work. KDM, on the other hand, doesn't call the users .xinitrc. So it's not a question of display manger vs. startx.

Also, ck-launch-session still does what it's supposed to do: it allows the desktop environment access to the shutdown / reboot service via hal. That part still works. What doesn't work is that KDE doesn't show the shutdown / reboot options.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#10 2010-05-04 00:24:13

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Cannot Shutdown/Restart from KDE

If you use kdm (or gdm I suppose) it will work. I also heard that being in the power group works too but I can't verify that.


neutral

Offline

#11 2010-05-04 00:34:14

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Cannot Shutdown/Restart from KDE

sand_man wrote:

I also heard that being in the power group works too but I can't verify that.

Nope. At least not for me. The only way I can get the shutdown option in Kmenu->Leave is by starting the session via kdm. Does anyone know when and why this changed?


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#12 2010-05-04 01:48:38

Soumyadeep
Member
From: kolkata,India
Registered: 2009-09-09
Posts: 218

Re: Cannot Shutdown/Restart from KDE

not working for me either, even when using gdm, kde wont show the shutdown buttons.

Offline

#13 2010-05-09 02:54:16

lasu1
Member
Registered: 2010-02-10
Posts: 83

Re: Cannot Shutdown/Restart from KDE

I have this problem as well, and use the ck-launch-session command in .xinitrc. I start X with "startx." I'm not too keen on using KDM as I like starting from the CL if I need to do fsck or whatever, or mount/umount, etc. Is there a way without KDM?

EDIT: my user is also in the power group.

Last edited by lasu1 (2010-05-09 02:54:41)

Offline

#14 2010-06-21 20:13:09

Mystal
Member
From: fancy glass enclosure
Registered: 2007-04-27
Posts: 13

Re: Cannot Shutdown/Restart from KDE

I've been looking around for a while and have yet to find an answer to this problem. I use CDM to launch KDE (which uses ck-launch-session). I've tried adding myself to the power group.. to no avail.

Has anyone found a solution?

Offline

#15 2010-10-02 09:07:22

sickill
Member
Registered: 2010-01-12
Posts: 10

Re: Cannot Shutdown/Restart from KDE

I have the same problem. I tried using CDM (which uses ck-launch-session) and I also tried ck-launch-session startkde from console. There must be a solution for this.... Anyone know it already?

Offline

#16 2010-12-13 17:39:09

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Cannot Shutdown/Restart from KDE

another user with the same issue.. (xinit started from inittab, exec ck-launch-session startkde in ~/.xinitrc )

Offline

#17 2010-12-18 04:21:35

meop
Member
Registered: 2010-11-01
Posts: 31

Re: Cannot Shutdown/Restart from KDE

I have the same issue on only one of two machines. It is not solved by removing and then reinstalling the main KDE packages through pacman.

Offline

#18 2010-12-18 13:42:32

kikinovak
Member
From: Montpezat (South France)
Registered: 2005-12-07
Posts: 96
Website

Re: Cannot Shutdown/Restart from KDE

Just did a fresh install of Arch with a minimal KDE set and KDM. KDM is launched from /etc/inittab. I do have Restart, Shutdown and Disconnect buttons in my menu, they also show up for confirmation when I click on them... only they don't do a thing. Which leaves me clueless.


Dyslexics have more fnu.

Offline

#19 2010-12-18 14:21:27

kikinovak
Member
From: Montpezat (South France)
Registered: 2005-12-07
Posts: 96
Website

Re: Cannot Shutdown/Restart from KDE

I investigated this problem a little further. Many folks seem to face the same issue. Curiously enough (to make a long story short), installing the 'speex' package solves the problem. Weird but it works.


Dyslexics have more fnu.

Offline

#20 2010-12-19 19:24:12

xainan66
Member
From: north of south, south of north
Registered: 2010-12-19
Posts: 1

Re: Cannot Shutdown/Restart from KDE

kikinovak wrote:

installing the 'speex' package solves the problem

I confirm that works. But that drives me to the next question: shouldn't be "speex" added as a dependency by pacman when installing kdebase?
I think KDE needs it to play the login and logoff sounds (correct me if I'm wrong), and since it isn't installed, you can't close session.

Offline

#21 2010-12-20 01:21:05

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Cannot Shutdown/Restart from KDE

xainan66 wrote:
kikinovak wrote:

installing the 'speex' package solves the problem

I confirm that works. But that drives me to the next question: shouldn't be "speex" added as a dependency by pacman when installing kdebase?

http://bugs.archlinux.org/

Offline

#22 2010-12-20 15:30:57

meop
Member
Registered: 2010-11-01
Posts: 31

Re: Cannot Shutdown/Restart from KDE

Adding speex does not cause the shutdown or restart buttons to reappear in the kde menu for me.

Offline

#23 2011-01-18 19:08:33

meop
Member
Registered: 2010-11-01
Posts: 31

Re: Cannot Shutdown/Restart from KDE

My issue was something different. If adding 'speex' causes buttons that are present but not functional to become functional, than this is solved.

Offline

#24 2011-04-15 19:30:09

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: Cannot Shutdown/Restart from KDE

meop wrote:

My issue was something different. If adding 'speex' causes buttons that are present but not functional to become functional, than this is solved.

I have this problem too on kde 4.6.2. Speex is installed. I press shutdown/reboot/logout, sound is playing, screen is dimming, and then nothing more happens. I can still launch programs, desktop is dimmed when showing desktop, but if I start a new application it is not dimmed.

Edit: Sorry for waking old thread.

Last edited by KlavKalashj (2011-04-15 19:30:43)

Offline

#25 2011-04-16 01:48:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Cannot Shutdown/Restart from KDE

Moderator -- This thread is getting a little "long-in-the-tooth" (old) and was reported dor necrobumping.  As far as I am aware, this problem does remain, so I am leaving this open


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB