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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-30-2015, 04:11 AM
|
#1
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
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
|
|
|
09-30-2015, 11:35 AM
|
#2
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,421
|
KDE 5 (sddm): cannot shut down or restart
Is your user member of the power group?
|
|
|
09-30-2015, 12:48 PM
|
#3
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
Quote:
Originally Posted by Tonus
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
|
|
|
09-30-2015, 03:09 PM
|
#4
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,421
|
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)
|
|
|
09-30-2015, 04:50 PM
|
#5
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,016
|
Quote:
Originally Posted by Tonus
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.
|
|
|
10-01-2015, 12:07 AM
|
#6
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
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
|
|
|
10-01-2015, 12:24 AM
|
#7
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
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.
|
|
|
10-01-2015, 01:01 AM
|
#8
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
I tried this command and got this result:
Code:
~$ qdbus org.kde.ksmserver /KSMServer canShutdown
true
Very perplexing.
jdk
|
|
|
10-02-2015, 12:03 AM
|
#9
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,016
|
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?
|
|
|
10-02-2015, 01:00 AM
|
#10
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
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.
|
|
|
10-02-2015, 03:04 AM
|
#11
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
Quote:
Originally Posted by Timothy Miller
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
|
|
|
All times are GMT -5. The time now is 09:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|