You are not logged in.

#1 2008-07-13 10:53:16

Jankosevic
Member
Registered: 2008-07-06
Posts: 82

Shutdown in KDEmod

Hello!

I don't wanna use a login manager. So I start KDEmod via "startx"   (.xinitrc)
But if I want to shutdown or reboot the computer, there are no options in KDEmod. I can only choose to logout (= quit KDEmod).
Then I can halt in the console.....but it's quite uncomfortable....

Perhaps someone could help? smile
Thx!

Last edited by Jankosevic (2008-07-13 10:54:12)

Offline

#2 2008-07-14 14:52:31

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: Shutdown in KDEmod

me too!


sorry for my bad english smile

Offline

#3 2008-07-14 15:19:53

freakcode
Member
From: São Paulo - Brazil
Registered: 2007-11-03
Posts: 410
Website

Re: Shutdown in KDEmod

It depends on the login manager to enable users to restart/suspend/shutdown, because of permissions to do so (the login manager runs as privileged user). Either use a login manager, or halt on terminal.

Offline

#4 2008-07-15 14:22:57

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: Shutdown in KDEmod

actually i'm using e17 and i can shutdown/restart/suspend without any quirk from within the menu, without using a login manager. so i think, it will be possible, but why the kde and gnome devs did not realize that?


sorry for my bad english smile

Offline

#5 2008-07-15 15:05:07

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: Shutdown in KDEmod

it's probably not about realizing anything its just that both gnome and kde are developed to be used with its corrsesponding login manager so they have never bothered adding code to enable shutdown/restart from menu when it's not started with login manager


dovie andi se tovya sagain

Offline

#6 2008-07-15 16:23:18

pseudonomous
Member
Registered: 2008-04-23
Posts: 349

Re: Shutdown in KDEmod

You can also halt from a Konsole / xterm, without quiting kde.

Edit:  If you do that, I think some settings, like which applications
you had open, and maybe changes to display/theme/etc. might not
get saved.

Last edited by pseudonomous (2008-07-15 16:25:28)

Offline

#7 2008-07-15 17:24:34

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: Shutdown in KDEmod

try this

#!/bin/bash
dcop ksmserver default logout 0 -1 -1
sudo shutdown now -h

chmod executable and add it to the menu

Offline

Board footer

Powered by FluxBB