You are not logged in.

#26 2011-06-15 14:10:43

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: Cannot Shutdown/Restart from KDE

same here with kde 4.7 (kde-testing). this problem occur since kde 4.6.X (for me)

Offline

#27 2011-06-15 14:55:02

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

Re: Cannot Shutdown/Restart from KDE

sl1pkn07 wrote:

same here with kde 4.7 (kde-testing). this problem occur since kde 4.6.X (for me)

The problem went away for me, it works perfectly now... But I don't remember what I did, if anything at all. I'm allso using kde-unstable, 4.7b1. What method do you use to start X? I use KDM throuh inittab. Shutdown command in systemsettings is '/sbin/shutdown -h -P now'.

Offline

#28 2011-06-15 19:10:40

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: Cannot Shutdown/Restart from KDE

KlavKalashj wrote:
sl1pkn07 wrote:

same here with kde 4.7 (kde-testing). this problem occur since kde 4.6.X (for me)

The problem went away for me, it works perfectly now... But I don't remember what I did, if anything at all. I'm allso using kde-unstable, 4.7b1. What method do you use to start X? I use KDM throuh inittab. Shutdown command in systemsettings is '/sbin/shutdown -h -P now'.


yes, kdm through inittab


# Boot to X11
id:5:initdefault:


# Example lines for starting a login manager
....
x:5:respawn:/usr/bin/kdm -nodaemon

http://i.imgur.com/xClPz.png


when close session/reboot/Shutdown my screen turn like this:

http://wstaw.org/m/2011/05/17/plasma-desktopIg3785.jpg

when open other program, this program runs and the window color is normally (without "blur" and gray color )


only "works" using alt+cntrl+backspace


any idea?

PD: sorry my bad english

Last edited by sl1pkn07 (2011-06-15 19:58:53)

Offline

#29 2011-06-16 10:23:15

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

Re: Cannot Shutdown/Restart from KDE

sl1pkn07 wrote:
KlavKalashj wrote:
sl1pkn07 wrote:

same here with kde 4.7 (kde-testing). this problem occur since kde 4.6.X (for me)

The problem went away for me, it works perfectly now... But I don't remember what I did, if anything at all. I'm allso using kde-unstable, 4.7b1. What method do you use to start X? I use KDM throuh inittab. Shutdown command in systemsettings is '/sbin/shutdown -h -P now'.


yes, kdm through inittab


# Boot to X11
id:5:initdefault:


# Example lines for starting a login manager
....
x:5:respawn:/usr/bin/kdm -nodaemon

http://i.imgur.com/xClPz.png


when close session/reboot/Shutdown my screen turn like this:

http://wstaw.org/m/2011/05/17/plasma-desktopIg3785.jpg

when open other program, this program runs and the window color is normally (without "blur" and gray color )


only "works" using alt+cntrl+backspace


any idea?

PD: sorry my bad english

Ok, your problem seems identical to the one I had, with the screen darkening and all. Your setup is also identical to mine, so I'm running out of ideas. Maybe some kind of permission problem somewhere?
There is one thing I did, mainly for aestetics (I use plymouth), I don't think it'll help you but it doesn't hurt to try. In /etc/inittab, I've commented out TTY1, like this:

#c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

By doing this I won't see a login prompt flash between plymouth and KDM smile I have no idea if this could be related or helpful in any way, but it's my last idea. Good luck!

Offline

#30 2011-06-26 10:37:01

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: Cannot Shutdown/Restart from KDE

not working :S

same in laptop (kde 4.6.4) and desktop (kde 4.7*)

Offline

#31 2011-06-26 16:46:14

k_ibou
Member
From: Costa Rica
Registered: 2009-06-09
Posts: 101

Re: Cannot Shutdown/Restart from KDE

Offline

#32 2011-07-01 14:02:35

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: Cannot Shutdown/Restart from KDE

nothing ><

not works :S

Offline

#33 2011-07-21 17:15:59

Epicanis
Member
Registered: 2011-07-21
Posts: 11

Re: Cannot Shutdown/Restart from KDE

I'm wondering if this is a consolekit thing.  I don't have shutdown buttons either, but I don't particularly care about that.  What I DO care about is the annoying situation of being unable to mount/unmount USB disks unless I manually edit the policy after every udisks update to "allow_any", despite the "exec ck-launch-session startkde" in my .xinitrc rather than just "exec startkde" (which Googling seems to suggest ought to fix this...I'm just starting from a console login with "startx").

I noticed just now that if I do "ck-list-sessions" while I'm in kde, it shows my "session" BUT it thinks I'm not in an "active" session ("ACTIVE = false").  For some odd reason, it also doesn't think I'm "local" (which may be the root cause - if I understand correctly, you have to be a "local" session to be an "active" session...I think.) "login-session-id" is also blank, so I'm kind of baffled here as to what ck-launch-session is actually supposed to be accomplishing...

Is the lack of power-off buttons possibly related as well - are only "active" sessions allowed to do a shutdown (and more importantly for my more-pressing annoyance, how do I make my KDE sessions show up as "active" so that I can mount and unmount USB disks by default (i.e. "<allow_active>yes")?

EDIT: FOLLOWUP - I now have "Shut Down", "Restart", etc. options, and my sessions claim to be "Active"... according to the thread at https://bugzilla.redhat.com/show_bug.cgi?id=655492 , the kernel needs to be compiled with "CONFIG_AUDITSYSCALL=y".  I am running a custom-compiled kernel, so I recompiled with this option enabled, and that seems to have fixed it for me. 

Try "zcat /proc/config.gz | grep AUDITSYSCALL" if you're having this problem and see if that option is set for your kernel.

Last edited by Epicanis (2011-07-21 21:54:55)

Offline

#34 2011-08-15 18:53:37

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: Cannot Shutdown/Restart from KDE

zcat /proc/config.gz | grep AUDITSYSCALL
CONFIG_AUDITSYSCALL=y

my kernel is precompiled (pacman)

my xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
exec ck-launch-session startkde 
# exec startxfce4
# ...or the Window Manager of your choice

sl1pkn07@sL1pKn07 ~ $ ck-list-sessions
Session1:
        unix-user = '1000'
        realname = 'sL1pKn07'
        seat = 'Seat1'
        session-type = ''
        active = TRUE
        x11-display = ':0'
        x11-display-device = '/dev/tty7'
        display-device = ''
        remote-host-name = ''
        is-local = TRUE
        on-since = '2011-08-15T18:39:30.212269Z'
        login-session-id = '4294967295'


even don't work (kde 4.7)

Last edited by sl1pkn07 (2011-08-16 10:03:38)

Offline

#35 2011-08-19 02:54:19

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: Cannot Shutdown/Restart from KDE

FINALY!!!

solve my problem!!

tatachan!!!!  disable logout sound!

http://osdir.com/ml/kde-bugs-dist/2009-08/msg02999.html

probe this and works!!!

now change session/reboot/logout/shutdown and all!!

yes, this fucking shit make me RAGE since more moths!


...



YEAH!

Offline

#36 2012-01-07 18:07:21

knr
Member
Registered: 2012-01-07
Posts: 1

Re: Cannot Shutdown/Restart from KDE

sl1pkn07 wrote:

zcat /proc/config.gz | grep AUDITSYSCALL
CONFIG_AUDITSYSCALL=y

my kernel is precompiled (pacman)

my xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
exec ck-launch-session startkde 
# exec startxfce4
# ...or the Window Manager of your choice

sl1pkn07@sL1pKn07 ~ $ ck-list-sessions
Session1:
        unix-user = '1000'
        realname = 'sL1pKn07'
        seat = 'Seat1'
        session-type = ''
        active = TRUE
        x11-display = ':0'
        x11-display-device = '/dev/tty7'
        display-device = ''
        remote-host-name = ''
        is-local = TRUE
        on-since = '2011-08-15T18:39:30.212269Z'
        login-session-id = '4294967295'


even don't work (kde 4.7)

I'm using Slim as login manager and had this problem - no shutdown,reboot buttons in kde. Also had similar output from ck-list-sessions.

Fixed it by changing one line in "/etc/slim.conf":

BEFORE:

login_cmd           exec /bin/bash - ~/.xinitrc %session

AFTER:

login_cmd           exec /bin/bash -login - ~/.xinitrc %session

And it works now.

I think "ck-launch-session" expects to be started in bash login session to work properly.

Last edited by knr (2012-01-07 18:09:08)

Offline

Board footer

Powered by FluxBB