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

Unable to reboot or poweroff my machine from kde menus

Tags: None
(comma "," separated)
jribeiro
Registered Member
Posts
23
Karma
0
Hi!

I’m unable to reboot or poweroff my machine from kde menus.

I tried it 3 diferent ways:

1st - KDE menu => Leave => Restart;
2nd - Desktop => Leave => Restart Computer;
3rd - Ctrl + Alt + Del => Restart Computer.

None works.

It returns a black screen with a white cursor, a small trace, blinking in the upper left corner.

I already added the line TerminateServer=true in the file /etc/kde/kdm/kdmrc under the section [X-*-Core].

Anyone knows how to fix this?

P.S.: I'm running slackware64 current and KDE 4.13.3.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Next time this occurs, can you switch to a virtual terminal and capture the output of "ps aux" in regards to processes running under your normal user account? I suspect an application is silently hanging around in the background and preventing the KDE logout/shutdown process from completing successfully.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jribeiro
Registered Member
Posts
23
Karma
0
bcooksley,

here is the output:

Code: Select all
# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   4332   632 ?        Ss   12:49   0:00 init [4] 
root         2  0.0  0.0      0     0 ?        S    12:49   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    12:49   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   12:49   0:00 [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/u8:0]
root         7  0.0  0.0      0     0 ?        S    12:49   0:00 [rcu_sched]
root         8  0.0  0.0      0     0 ?        S    12:49   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    12:49   0:00 [migration/0]
root        10  0.0  0.0      0     0 ?        S    12:49   0:00 [migration/1]
root        11  0.0  0.0      0     0 ?        S    12:49   0:00 [ksoftirqd/1]
root        13  0.0  0.0      0     0 ?        S<   12:49   0:00 [kworker/1:0H]
root        14  0.0  0.0      0     0 ?        S    12:49   0:00 [migration/2]
root        15  0.0  0.0      0     0 ?        S    12:49   0:00 [ksoftirqd/2]
root        17  0.0  0.0      0     0 ?        S<   12:49   0:00 [kworker/2:0H]
root        18  0.0  0.0      0     0 ?        S    12:49   0:00 [migration/3]
root        19  0.0  0.0      0     0 ?        S    12:49   0:00 [ksoftirqd/3]
root        21  0.0  0.0      0     0 ?        S<   12:49   0:00 [kworker/3:0H]
root        22  0.0  0.0      0     0 ?        S<   12:49   0:00 [khelper]
root        23  0.0  0.0      0     0 ?        S    12:49   0:00 [kdevtmpfs]
root        24  0.0  0.0      0     0 ?        S<   12:49   0:00 [netns]
root        25  0.0  0.0      0     0 ?        S<   12:49   0:00 [writeback]
root        26  0.0  0.0      0     0 ?        SN   12:49   0:00 [khugepaged]
root        27  0.0  0.0      0     0 ?        S<   12:49   0:00 [kintegrityd]
root        28  0.0  0.0      0     0 ?        S<   12:49   0:00 [bioset]
root        29  0.0  0.0      0     0 ?        S<   12:49   0:00 [crypto]
root        30  0.0  0.0      0     0 ?        S<   12:49   0:00 [kblockd]
root        31  0.0  0.0      0     0 ?        S<   12:49   0:00 [ata_sff]
root        32  0.0  0.0      0     0 ?        S    12:49   0:00 [khubd]
root        33  0.0  0.0      0     0 ?        S<   12:49   0:00 [md]
root        34  0.0  0.0      0     0 ?        S<   12:49   0:00 [devfreq_wq]
root        35  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/0:1]
root        36  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/1:1]
root        37  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/2:1]
root        38  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/3:1]
root        39  0.0  0.0      0     0 ?        S<   12:49   0:00 [rpciod]
root        58  0.0  0.0      0     0 ?        S    12:49   0:00 [kswapd0]
root        59  0.0  0.0      0     0 ?        S    12:49   0:00 [fsnotify_mark]
root        60  0.0  0.0      0     0 ?        S<   12:49   0:00 [nfsiod]
root        61  0.0  0.0      0     0 ?        S    12:49   0:00 [jfsIO]
root        62  0.0  0.0      0     0 ?        S    12:49   0:00 [jfsCommit]
root        63  0.0  0.0      0     0 ?        S    12:49   0:00 [jfsCommit]
root        64  0.0  0.0      0     0 ?        S    12:49   0:00 [jfsCommit]
root        65  0.0  0.0      0     0 ?        S    12:49   0:00 [jfsCommit]
root        66  0.0  0.0      0     0 ?        S    12:49   0:00 [jfsSync]
root        67  0.0  0.0      0     0 ?        S<   12:49   0:00 [xfsalloc]
root        68  0.0  0.0      0     0 ?        S<   12:49   0:00 [xfs_mru_cache]
root        69  0.0  0.0      0     0 ?        S<   12:49   0:00 [xfslogd]
root        70  0.0  0.0      0     0 ?        S<   12:49   0:00 [ocfs2_wq]
root        71  0.0  0.0      0     0 ?        S<   12:49   0:00 [user_dlm]
root       115  0.0  0.0      0     0 ?        S<   12:49   0:00 [kthrotld]
root       116  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/u8:1]
root       117  0.0  0.0      0     0 ?        S    12:49   0:00 [cciss_scan]
root       118  0.0  0.0      0     0 ?        S<   12:49   0:00 [fc_exch_workque]
root       119  0.0  0.0      0     0 ?        S<   12:49   0:00 [fc_rport_eq]
root       120  0.0  0.0      0     0 ?        S<   12:49   0:00 [fcoethread/0]
root       121  0.0  0.0      0     0 ?        S<   12:49   0:00 [fcoethread/1]
root       122  0.0  0.0      0     0 ?        S<   12:49   0:00 [fcoethread/2]
root       123  0.0  0.0      0     0 ?        S<   12:49   0:00 [fcoethread/3]
root       124  0.0  0.0      0     0 ?        S<   12:49   0:00 [fnic_event_wq]
root       125  0.0  0.0      0     0 ?        S<   12:49   0:00 [fnic_fip_q]
root       126  0.0  0.0      0     0 ?        S    12:49   0:00 [scsi_eh_0]
root       127  0.0  0.0      0     0 ?        S<   12:49   0:00 [scsi_tmf_0]
root       128  0.0  0.0      0     0 ?        S    12:49   0:00 [scsi_eh_1]
root       129  0.0  0.0      0     0 ?        S<   12:49   0:00 [scsi_tmf_1]
root       132  0.0  0.0      0     0 ?        S<   12:49   0:00 [exec-osm]
root       133  0.0  0.0      0     0 ?        S<   12:49   0:00 [block-osm]
root       135  0.0  0.0      0     0 ?        S<   12:49   0:00 [raid5wq]
root       136  0.0  0.0      0     0 ?        S<   12:49   0:00 [dm_bufio_cache]
root       137  0.0  0.0      0     0 ?        SN   12:49   0:00 [speakup]
root       138  0.0  0.0      0     0 ?        S<   12:49   0:00 [bioset]
root       139  0.0  0.0      0     0 ?        S<   12:49   0:00 [deferwq]
root       142  0.0  0.0      0     0 ?        S<   12:49   0:00 [kworker/3:1H]
root       143  0.0  0.0      0     0 ?        S<   12:49   0:00 [kworker/1:1H]
root       144  0.0  0.0      0     0 ?        S<   12:49   0:00 [kworker/0:1H]
root       145  0.0  0.0      0     0 ?        S    12:49   0:00 [jbd2/sda7-8]
root       146  0.0  0.0      0     0 ?        S<   12:49   0:00 [ext4-rsv-conver]
root       147  0.0  0.0      0     0 ?        S<   12:49   0:00 [kworker/2:1H]
root       179  0.0  0.0  30104  1780 ?        Ss   12:49   0:00 /sbin/udevd --daemon
root       191  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/2:3]
root       252  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/1:2]
root       253  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/0:2]
root       260  0.0  0.0      0     0 ?        S<   12:49   0:00 [hd-audio1]
root       261  0.0  0.0      0     0 ?        S<   12:49   0:00 [hd-audio0]
root       276  0.0  0.0      0     0 ?        S    12:49   0:00 [kworker/3:2]
root       363  0.0  0.0   9504   708 ?        Ss   12:49   0:00 /sbin/mount.ntfs-3g /dev/sda1 /media/windows -v -o rw,uid=1000,gid=100,umask=0022
root       364  0.0  0.0      0     0 ?        S    12:49   0:00 [jbd2/sdb1-8]
root       365  0.0  0.0      0     0 ?        S<   12:49   0:00 [ext4-rsv-conver]
root       396  0.0  0.0   6444   688 ?        Ss   12:49   0:00 /usr/sbin/syslogd
root       400  0.0  0.0   4336   308 ?        Ss   12:49   0:00 /usr/sbin/klogd -c 3 -x
81         600  0.0  0.0  20176  1520 ?        Ss   12:49   0:00 /usr/bin/dbus-daemon --system
root       603  0.0  0.0 2091604 3532 ?        Ssl  12:49   0:00 /usr/sbin/console-kit-daemon
root       674  0.0  0.1 213368  5860 ?        Sl   12:49   0:00 /usr/libexec/polkitd --no-debug
root       677  0.0  0.1 343544  6800 ?        Ssl  12:49   0:00 /usr/sbin/NetworkManager
root       680  0.0  0.0  12760   768 ?        Ss   12:49   0:00 /usr/sbin/crond -l notice
daemon     683  0.0  0.0  12752   128 ?        Ss   12:49   0:00 /usr/sbin/atd -b 15 -l 1
root       688  0.0  0.1 317116  6124 ?        Sl   12:49   0:00 /usr/sbin/ModemManager
root       695  0.0  0.0   7500   312 ?        Ss   12:49   0:00 /usr/sbin/gpm -m /dev/mouse -t ps2
root       703  0.0  0.0  19792  2232 tty1     Ss   12:49   0:00 -bash
root       704  0.0  0.0  12772   876 tty2     Ss+  12:49   0:00 /sbin/agetty 38400 tty2 linux
root       705  0.0  0.0  12772   872 tty3     Ss+  12:49   0:00 /sbin/agetty 38400 tty3 linux
root       706  0.0  0.0  12772   880 tty4     Ss+  12:49   0:00 /sbin/agetty 38400 tty4 linux
root       707  0.0  0.0  12772   868 tty5     Ss+  12:49   0:00 /sbin/agetty 38400 tty5 linux
root       708  0.0  0.0  12772   880 tty6     Ss+  12:49   0:00 /sbin/agetty 38400 tty6 linux
root       709  0.0  0.0  29128  1008 ?        Ss   12:49   0:00 /usr/bin/kdm -nodaemon
root       713  8.7  1.1 205188 45656 ?        Rs   12:49   0:35 /usr/bin/X -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-j9Vgbb
root       714  0.0  0.0   8716   896 ?        S    12:49   0:00 /sbin/dhcpcd -B -K -L -G -c /usr/libexec/nm-dhcp-client.action -h slackosta eth0
jribeiro   809  0.0  0.0  20440  1576 ?        S    12:49   0:00 /usr/libexec/gam_server
root       826  0.0  0.0 196460  3700 ?        Sl   12:49   0:00 /usr/libexec/upowerd
root       861  0.0  0.1 368792  7404 ?        Sl   12:49   0:00 /usr/lib/udisks2/udisksd --no-debug
root      1189  0.0  0.0  30292  1404 ?        S    12:50   0:00 /sbin/udevd --daemon
root      1190  0.0  0.0      0     0 ?        S<   12:50   0:00 [ipv6_addrconf]
root      1191  0.0  0.0  30292  1156 ?        S    12:50   0:00 /sbin/udevd --daemon
root      1422  0.0  0.0      0     0 ?        S    12:54   0:00 [kworker/3:0]
root      1461  0.0  0.0      0     0 ?        S    12:55   0:00 [kworker/2:0]
root      1543  0.0  0.0  15648  1324 tty1     R+   12:56   0:00 ps aux
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I can only see one process running under your account there:
Code: Select all
/usr/libexec/gam_server

It therefore appears that this is a X issue - as startkde isn't present either. If you kill gam_server from the VT, does the X session exit successfully?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jribeiro
Registered Member
Posts
23
Karma
0
I pressed Ctrl+Alt+F2, within KDE Workspace, and ran kill -9 <gam_server's pid> but no success. I see its rebirth instead of death. :(
jribeiro
Registered Member
Posts
23
Karma
0
You're right. It's a xorg issue.
I found out that if I downgrade xorg-server from 1.15.2 to 1.14.3 I can reboot/poweroff from KDE menus.
I'm not interested in downgrade xorg. I'm still looking for other solution which won't obligate me to downgrade any package.
Sorry to post in wrong place.

Thank you
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
No problem. Based on what we've seen thus far, this appears to be a bug in X - it isn't terminating any more as it is supposed to. You'll need to follow this up with your distribution i'm afraid.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jribeiro
Registered Member
Posts
23
Karma
0


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]