This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Shutdown without KDM

Tags: None
(comma "," separated)
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS

Shutdown without KDM

Thu Jan 21, 2010 5:44 pm
Does Plasma support system shutdown/reboot without KDM or GDM login managers? (I use SLiM).

It seems using ConsoleKit and/or pam-ck connector gives support for this, but my self-compiled KDE only gives me Log out option.

ConsoleKit is working here: $ ck-list-sessions
Session1:
uid = '1000'
realname = '***** *******,,,'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2010-01-21T16:39:32.233648Z'


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Shutdown without KDM

Thu Jan 21, 2010 10:07 pm
I self compile KDE and my system shows those options. I use KDM though. It could very well be possible that KDM is somehow involved in it.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
pinotree
KDE Developer
Posts
222
Karma
7
OS

Re: Shutdown without KDM

Fri Jan 22, 2010 12:52 am
dpalacio wrote:Does Plasma support system shutdown/reboot without KDM or GDM login managers? (I use SLiM)

The right component for the job is the session manager, called ksmserver.
For shutdown and reboot, currently it supports only KDM, and any pre-D-Bus GDM (< 2.26 IIRC). Any other option, from more recent GDM to other login managers or ConsoleKit, is unsupported.


Pino Toscano
Shining Arcanine
Registered Member
Posts
73
Karma
0
OS

Re: Shutdown without KDM

Fri Jan 22, 2010 2:51 am
Why not just log into a terminal as root and do "poweroff"?
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS

Re: Shutdown without KDM

Fri Jan 22, 2010 4:19 am
Shining Arcanine wrote:Why not just log into a terminal as root and do "poweroff"?

I do, some times. Most of the time I just press the power button. I just prefer a one step, clean shutdown from within the session.

@pinotree. I guess I will fill a wish bug report.

Thanks.


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], Yahoo [Bot]