LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-30-2015, 04:11 AM   #1
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
KDE 5 (sddm): cannot shut down or restart


I'm running Debian Testing (Stretch) with a KDE desktop. It has been a trying experience living through the transition from KDE4 to KDE5. I have plasma-workspace 4:5.4.1-1 and sddm 0.12.0-4 installed. My problem is that I cannot restart or shutdown from KDE in a normal way: going to the "Leave" menu from the Application launcher and selecting either Restart or Shut down from the System section of Leave.

Click on either one takes me to the SDDM login screen. If I try to restart or shut down from there I get a counter which counts down to 0 and then goes into negative numbers and would continue forever unless I cancel the operation.

I have two ways to shut down or restart KDE (besides simply turning off the computer:
a. I can log into Gnome Flashback Metacity from the login window and either restart or shut down from there. Interestingly, I get a dialogue box to enter the root password. I cannot do this with my normal user privileges as I did in the past.
b. I can Ctl-Alt-F1 to a tty, log in as root and give either the reboot or halt command.

So the problem seems to be that KDE now requires root privileges to either restart or shut down but does not provide the means to get these privileges.

Any pointers to the solution of this problem would be greatly appreciated.
jdk
 
Old 09-30-2015, 11:35 AM   #2
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current with grub2
Posts: 388
Blog Entries: 3

Rep: Reputation: 101Reputation: 101
KDE 5 (sddm): cannot shut down or restart

Is your user member of the power group?
 
Old 09-30-2015, 12:48 PM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Tonus View Post
Is your user member of the power group?
My user was not a member of the power group. I made the user (the only user on the system besides root) a member of the power group. This made absolutely no difference. I still cannot either shut down or reboot the computer from the KDE5 Leave menu as I explained in my first post. Let me emphasise that this is a NEW problem. I have been using KDE for over 10 years and I have never had this problem before. Up to now I had always been able to shut down or reboot the computer from the Leave menu. I guess that's why those options are there.

jdk
 
Old 09-30-2015, 03:09 PM   #4
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current with grub2
Posts: 388
Blog Entries: 3

Rep: Reputation: 101Reputation: 101
KDE 5 (sddm): cannot shut down or restart

Did you tried to wipe the .kde folder in your home directory? (with a backup in case it doesn't work or if you want to troubleshoot)
 
Old 09-30-2015, 04:50 PM   #5
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora, Arch, & KDE Neon
Posts: 2,806

Rep: Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808
Quote:
Originally Posted by Tonus View Post
Did you tried to wipe the .kde folder in your home directory? (with a backup in case it doesn't work or if you want to troubleshoot)
I second this. I have 2 machines also running stretch KDE and as of last night, neither had an issue with shutting down as a user. But when the upgrade to 5 began, I purged all my kde configuration files in order to have a "clean" KDE5 config.
 
Old 10-01-2015, 12:07 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Thanks to both of you. I've wiped the .kde folder and will now log off and see if this works. Will report back the results.
jdk
 
Old 10-01-2015, 12:24 AM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
No joy

Nope. No change in behaviour. This is definitely a system-wide problem. I discovered a seldom-used user account and tried rebooting from that account. The same result. It only took me to the login screen and would not go any further. On my own account, removing the .kde file had no effect on the problem whatsoever. I think there must be a system configuration file somewhere that was "upgraded" in KDE5 and now needs editing.
jdk

Last edited by jdkaye; 10-01-2015 at 12:56 AM.
 
Old 10-01-2015, 01:01 AM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
I tried this command and got this result:
Code:
~$ qdbus org.kde.ksmserver /KSMServer canShutdown
true
Very perplexing.
jdk
 
Old 10-02-2015, 12:03 AM   #9
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora, Arch, & KDE Neon
Posts: 2,806

Rep: Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808
Just to test, I just did a dist-upgrade, and am able to log out, restart, and shut down from KDE 5 while using SDDM.

Just because of the oddities I've seen from it, are you by any chance using proprietary xorg drivers?
 
Old 10-02-2015, 01:00 AM   #10
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
As far as I know the only proprietary drivers I'm using are for my Brother printer/scanner. Is there any command I could run to check? As I said, I'm pretty sure it's a permissions issue. If I log into Gnome Flashback Metacity then I can reboot or shut down but only after being prompted for my root password by a dialogue box. Note that no dialogue box appears when I try to shut down or reboot from KDE5.
jdk

Last edited by jdkaye; 10-02-2015 at 01:01 AM.
 
Old 10-02-2015, 03:04 AM   #11
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Timothy Miller View Post
are you by any chance using proprietary xorg drivers?
Here are the results from inxi -Fxz
Code:
~$ inxi -Fxz
System:    Host: AttilaII Kernel: 4.2-2.dmz.1-liquorix-amd64 x86_64 (64 bit gcc: 4.9.3)
           Desktop: KDE Plasma 5.4.1 (Qt 5.4.2) Distro: Debian GNU/Linux stretch/sid
Machine:   Mobo: ASUSTeK model: P8H61/USB3 R2.0 v: Rev x.0x
           Bios: American Megatrends v: 0401 date: 06/29/2012
CPU:       Dual core Intel Core i3-2120 (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 13166
           clock speeds: max: 3300 MHz 1: 1712 MHz 2: 1937 MHz 3: 1673 MHz 4: 2000 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV710 [Radeon HD 4350/4550] bus-ID: 01:00.0
           Display Server: X.Org 1.17.2 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on AMD RV710
           GLX Version: 3.0 Mesa 10.6.8 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
           driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.2-2.dmz.1-liquorix-amd64
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
           IF: eth0 state: down mac: <filter>
           Card-2: Realtek RTL8191SU 802.11n WLAN Adapter usb-ID: 002-007
           IF: N/A state: N/A mac: N/A
Drives:    HDD Total Size: 3500.7GB (29.2% used) ID-1: /dev/sda model: WDC_WD10EADS size: 1000.2GB
           ID-2: USB /dev/sdb model: Ext_HDD_1021 size: 2000.4GB
           ID-3: USB /dev/sdc model: HCS5C1050CLA382 size: 500.1GB
Partition: ID-1: / size: 902G used: 85G (10%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 17.08GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 49.5
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 201 Uptime: 5 min Memory: 1085.3/7944.2MB
           Init: SysVinit runlevel: 2 Gcc sys: 5.2.1 Client: Shell (bash 4.3.421) inxi: 2.2.28
jdk
 
  


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
Kde 5 sddm Raevyn Linux - Desktop 6 12-30-2015 06:41 PM
Shut Down / Restart Confusion? CVAlkan Ubuntu 1 09-18-2015 08:15 PM
SDDM, KDM and LXDM in Fedora 20 Jam/KDE spin 64bit Zyblin Fedora 1 12-04-2013 01:06 PM
Shut Down / Restart mahednranit Linux - Software 6 06-25-2005 02:02 PM
Mandrake Shut Down/Restart Problem dangerboy Linux - Distributions 14 08-20-2003 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration