You are not logged in.

#1 2009-04-02 05:52:56

MetalheadGautham
Member
From: Bangalore, India
Registered: 2008-07-27
Posts: 143
Website

KDE not able to shutdown

Shutdown and Reboot options don't appear in KDE 4.2 menu.
I launch KDE from startx, with

exec ck-launch-session startkde

.
I tried following instructions here: http://wiki.archlinux.org/index.php/HAL
I am still unsuccessful after a sudo reboot.

Any workaround ?

Offline

#2 2009-04-02 06:55:57

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: KDE not able to shutdown

Are you sure you can do that? As far as i know that only works in runlvl5 with a loginmanager, but i could be wrong and maybe theres a way to hack it.

Edit: The work-around i guess would be to uncomment kdm in /etc/inittab and switch to runlvl 5 to start kde instead of startx... or uncoment runlvl5 in intittab too to boot straight to kdm.

Last edited by Chrysalis (2009-04-02 07:07:47)

Offline

#3 2009-04-02 08:50:03

MetalheadGautham
Member
From: Bangalore, India
Registered: 2008-07-27
Posts: 143
Website

Re: KDE not able to shutdown

I heard that using KDM will run X as root which is a security issue...

Offline

#4 2009-04-02 19:19:11

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: KDE not able to shutdown

I dont know, pretty much all other distros do this out of the box so as far as i am concerned its a non-issue.

Offline

#5 2009-04-03 00:29:30

chaospanda
Member
Registered: 2009-04-02
Posts: 2

Re: KDE not able to shutdown

I have program with my arch when I reboot. The screen goes black and nothing happen. I thinks I have this problem after I installed lxde.

Offline

#6 2009-04-03 02:25:31

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: KDE not able to shutdown

MetalheadGautham wrote:

Shutdown and Reboot options don't appear in KDE 4.2 menu.
I launch KDE from startx, with

exec ck-launch-session startkde

.
I tried following instructions here: http://wiki.archlinux.org/index.php/HAL
I am still unsuccessful after a sudo reboot.

Any workaround ?

How about using a login manager?:) I remember when I was starting my desktop with startx upon starting kde 4 it does not show the shutdown,logout, and reboot as well...


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#7 2009-04-03 05:30:00

markisthejob
Member
From: Cork, Ireland
Registered: 2008-09-01
Posts: 63

Re: KDE not able to shutdown

I heard that using KDM will run X as root which is a security issue...

enabling the kdm daemon should give you your shutdown options.kdm wont start X as root unless you tell it to.I dont use it myself anymore but if I remember correctly kdm doesnt let you start X as root until you change the allowrootlogin setting to true.

Offline

#8 2009-04-04 12:01:36

MetalheadGautham
Member
From: Bangalore, India
Registered: 2008-07-27
Posts: 143
Website

Re: KDE not able to shutdown

Well then, if no user is logged on, in WHO's name does KDM start when enabled in rc.conf ??? Doesn't KDM itself require X to run ?

Offline

#9 2009-04-05 10:47:00

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: KDE not able to shutdown

Even with startx it seems that it still runs as root (root,user), the user is there because it was started from a user shell, but it runs as root regardless. Its the same with every distro out there that has a login manager. If you are aware of any security issuse open a bug upstream. Also i recommend using inittab instead of rc.conf as i explained earlier, heres the wiki page...
http://wiki.archlinux.org/index.php/Log … tab_Method

Offline

Board footer

Powered by FluxBB