LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-26-2014, 09:55 AM   #1
JKostaRibeiro
Member
 
Registered: Jul 2014
Posts: 70

Rep: Reputation: 2
Unable to reboot or poweroff my machine from kde menus


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.

Last edited by JKostaRibeiro; 07-26-2014 at 09:58 AM.
 
Old 07-26-2014, 10:31 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I hate that when kde hangs. It really has pissed me off even when the user is power group. I get fed up with it. I found skype not wanting to close would cause an issue. last time that happened just like you in 64-14-1 which is very often like you. I press alt F2 create another tty and it opens another terminal and I login as root and do a shut down. I have seen complaints in here and as usual everyone has a bunch of ways to find the problem. Of what program is making it hang.

when actually it has to be Kde not killing a program. I do not have this problem with logging in from startx from runlevel three. I can repeat
it often with the root login then type kdm. It is hit and miss with a startup with runlevel 4.
What I do know is there is a gui program not shutting down leaving xorg hanging.
the Hang time is so long when logging out to go to KDM log in screen I just hit control alt back and log to the other user.

This is obviously a policykit problem because this does not happen when logging out of root.

Well hopefully Pat will read this and dabble with it.
PS
Remember the user must be in power group to shut down or restart.

Last edited by Drakeo; 07-26-2014 at 10:36 AM. Reason: PS
 
Old 07-26-2014, 10:43 AM   #3
JKostaRibeiro
Member
 
Registered: Jul 2014
Posts: 70

Original Poster
Rep: Reputation: 2
Drakeo,

The user is in power group.
 
Old 07-26-2014, 11:25 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by JKostaRibeiro View Post
Drakeo,

The user is in power group.
well like I said above your not the only one with this problem. I have. edited my /etc/initab to runlevel 4 for my everyday use machine.
and when it goes to hang I do a control alt back. please make sure your system is up to date.

edit your /etc/slackpkg mirrors and un-comment a mirror for your slackware version and then run slackpkg update. then slackpkg install-new and slackpkg upgrade-all.

remember Pat had some fixes that was added. Like you I get pissed when kwin hangs. have you tried disabling kwin 3d loging out then logging back in.
then doing a restart. and since your running alien bobs KDE you would do better posting.
http://alien.slackbook.org/blog/
I also have that issue in 64-current multi-lib on 14.13.3
reporting it at the blog simplifies things. That is on a unstable system that is ever changing.

Last edited by Drakeo; 07-26-2014 at 11:31 AM.
 
Old 07-26-2014, 11:35 AM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Again if you look at the readme the polkit has changed http://alien.slackbook.org/ktown/current/latest/README

Last edited by Drakeo; 07-26-2014 at 12:19 PM. Reason: polkit
 
Old 07-26-2014, 12:26 PM   #6
JKostaRibeiro
Member
 
Registered: Jul 2014
Posts: 70

Original Poster
Rep: Reputation: 2
Drakeo,

My system is up to date.
I'm not using kwin 3d but compiz with emerald.
I also posted in http://alien.slackbook.org/blog/new-kde-4-13-3.
The packages polkit-kde-agent-1 and polkit-kde-kcmodules-1 are installed.

Thank you for your interest
 
Old 07-26-2014, 01:20 PM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
well that's the fun of running current trying to figure it out. as like you i hit the snag also lol.
What really makes it hard is when your not running stock current. I am not saying that is bad. I am saying it makes it little more work.
but somthing is holding up your xorg . you should check your /var/log/xorg.log
 
Old 07-29-2014, 01:52 PM   #8
JKostaRibeiro
Member
 
Registered: Jul 2014
Posts: 70

Original Poster
Rep: Reputation: 2
Drakeo,

I see no error message in /var/log/Xorg.0.log.
 
Old 08-06-2014, 06:11 PM   #9
JKostaRibeiro
Member
 
Registered: Jul 2014
Posts: 70

Original Poster
Rep: Reputation: 2
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snowflock installation on fedora 10, machine unable to boot after I reboot Shashaa Linux - Virtualization and Cloud 7 11-16-2012 02:04 PM
halt, reboot, poweroff, everybody! Jerry Mcguire Linux - General 5 10-18-2010 09:15 AM
reboot/poweroff how? demmylls Linux - General 2 08-13-2009 09:52 AM
Howto reboot/poweroff the 'nice way' without gnome/kde ? yacccobb Linux - Software 4 06-14-2006 09:52 AM
reboot vs poweroff??? bigdog0007 Linux - Newbie 4 09-16-2005 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration