LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-19-2021, 05:23 AM   #1
redrobred
Member
 
Registered: Dec 2021
Posts: 82

Rep: Reputation: Disabled
Unhappy SDDM keep logging me out ... grrr!


Hi there

Again I'm new to linux, although really enjoying the experience ... having a few frustrations ...
One being,the SDDM keeps logging me out after a certain period! Is there any way to prevent that permanently? As I'm solo at home and don't need to be logging in and out.
Sometimes it just automatically happens when I'm in the middle of doing something on the pc!
I've even tried switching off the energy power saving ... doesn't make a difference.
Using KDE Ubuntu 20.04

Click image for larger version

Name:	Screenshot_20211219_132032.png
Views:	27
Size:	75.4 KB
ID:	37897

Click image for larger version

Name:	Screenshot_20211219_130144.png
Views:	21
Size:	73.6 KB
ID:	37898

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.11.0-43-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-2630QM CPU @ 2.00GHz
Memory: 7,7 GiB of RAM
 
Old 12-19-2021, 09:55 AM   #2
redrobred
Member
 
Registered: Dec 2021
Posts: 82

Original Poster
Rep: Reputation: Disabled
Is there a way to Completely disable any login lockscreen service? Uninstall it completely?
I really don't need it using my PC at home ...
 
Old 12-20-2021, 02:32 PM   #3
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 496

Rep: Reputation: 182Reputation: 182
I am using KUbuntu 20.04 LTS (bare metal, not in VM) and I don't see what you are describing. I mean the "Sometimes it just automatically happens when I'm in the middle of doing something on the pc!" doesn't make sense. As long as you are typing or moving the mouse the screen locking will be put on hold waiting for 'x' minutes of inactivity. Start typing 'Screen Locking' on your desktop (neat search feature) and you should be able to go to the screen locking dialog and check your settings there. Mine shows lock screen after 20 minutes (of inactivity). You can 'uncheck' the box and never lock the screen.

Last edited by rclark; 12-21-2021 at 02:30 PM.
 
Old 12-21-2021, 03:59 AM   #4
redrobred
Member
 
Registered: Dec 2021
Posts: 82

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rclark View Post
I am using KUbuntu 20.04 LTS and I don't see what you are describing. I mean the "Sometimes it just automatically happens when I'm in the middle of doing something on the pc!" doesn't make sense. As long as you are typing or moving the mouse the screen locking will be put on hold waiting for 'x' minutes of inactivity. Start typing 'Screen Locking' on your desktop (neat search feature) and you should be able to go to the screen locking dialog and check your settings there. Mine shows lock screen after 20 minutes (of inactivity). You can 'uncheck' the box and never lock the screen.
Well that's exactly why I'm in the forum here posting the issue!
It randomly appears as already stated! I have it set to not lock in settings, but it still appears!

Click image for larger version

Name:	Screenshot_20211221_115546.png
Views:	19
Size:	73.8 KB
ID:	37906
 
Old 12-21-2021, 02:00 PM   #5
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
This sounds more like a hardware issue.
Do you have discrete graphics like Nvidia or AMD and if so did you check the Drivers app to see if it recommends drivers?

Could just be a Ubuntu thing also, both Ubuntu 20.04 and 21.10 in VMWare as guests shock me every 10-15 minutes (don't like Ubuntu enough to install on my drives), a browser (I think) pops up full screen telling me I'm forbidden or something. It's pure bright white except for the little bit of text, and I prefer poorly lit atmosphere so it kinda hurts over and above other reactions which sometimes has the cat's running. Very shocking...every time.
 
Old 12-21-2021, 02:28 PM   #6
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 496

Rep: Reputation: 182Reputation: 182
I am at a loss. I always 'log in' after a system boot and the session doesn't lock unless I <cntl><alt>L, 20 minutes inactivity, or logout/lock through menu. I don't auto login (might want to disable to see if that changes the equation?). There might be a process that is asking for your user password to do something? I know on one of my laptops the Wifi periodically asks for its password to connect for example.

Oh, is a complete logout as apposed to a screen lock? I mean, do you have to get into all your applications again that were open after entering password?

Quote:
Could just be a Ubuntu thing
I don't think so (unless related to the auto login as I don't use it). I have KUbuntu 20.04 running on 5 different machines (a server, two desktops, and two laptops) and all are working just fine (ever since 20.04 was put in production). Might be hardware though....

Last edited by rclark; 12-21-2021 at 02:52 PM. Reason: edited as I see redrobred is using auto-login
 
Old 12-21-2021, 02:45 PM   #7
redrobred
Member
 
Registered: Dec 2021
Posts: 82

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rclark View Post
I am at a loss. I always 'log in' after a system boot and the session doesn't lock unless I <cntl><alt>L, 20 minutes inactivity, or logout through menu. Are you auto logging in (think you can do that)? If so, there might be a process that is asking for your user password to do something? I know on one of my laptops the Wifi periodically asks for its password to connect for example.

Oh, is a complete logout as apposed to a screen lock? I mean, do you have to get into all your applications again that were open after entering password?

I don't think so. I have KUbuntu 20.04 running on 5 different machines (a server, two desktops, and two laptops) and all are working just fine (ever since 20.04 was put in production). Might be hardware though....
Hi , I hear you ... maybe there's some app doing some security thing.
It's just lockscreen, not full logout, all my apps are as I left them everytime I sign in.
Driving me nuts!
 
Old 12-21-2021, 04:16 PM   #8
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by rclark View Post
I have KUbuntu 20.04 running on 5 different machines
I haven't tried Kubuntu for fear I might like it.
EDIT: Too much of a good thing is not a good thing (KDE/Plasma), ( indulging...bad)

Last edited by Brains; 12-21-2021 at 04:22 PM.
 
Old 12-21-2021, 06:12 PM   #9
michael@actrix
Member
 
Registered: Jul 2003
Location: New Zealand
Distribution: OpenSUSE Tumbleweed
Posts: 68
Blog Entries: 1

Rep: Reputation: 20
Quote:
Originally Posted by Brains View Post
This sounds more like a hardware issue.
Do you have discrete graphics like Nvidia or AMD and if so did you check the Drivers app to see if it recommends drivers?

Could just be a Ubuntu thing also, both Ubuntu 20.04 and 21.10 in VMWare as guests shock me every 10-15 minutes (don't like Ubuntu enough to install on my drives), a browser (I think) pops up full screen telling me I'm forbidden or something. It's pure bright white except for the little bit of text, and I prefer poorly lit atmosphere so it kinda hurts over and above other reactions which sometimes has the cat's running. Very shocking...every time.

I would agree that this doesn't sound normal, it may be a hardware or driver issue. Before logging back in I would login on a console and check the logs:
  • the journalctl --boot - command to view the systemd logs
  • the dmesg command might also have something interesting, but that may already be in the journal logs.
  • $HOME/.local/share/sddm/xorg-session.log - this is very likely to show what happened when the session crashed out.
  • /var/log/Xorg.0.log - more interesting if X is failing to start, maybe not so interesting here.
  • /var/log/Xorg.0.log.old - normally the above file gets rotated before sddm restarts, so the old version may be the one to check.
If you see anything interesting perhaps save copies of the log files before logging back in via sddm.

Last edited by michael@actrix; 12-21-2021 at 06:13 PM.
 
Old 12-21-2021, 09:10 PM   #10
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 496

Rep: Reputation: 182Reputation: 182
Quote:
I haven't tried Kubuntu for fear I might like it.
Side note... Way back, I settled on KDE when using o' RedHat. Then the developers 'changed' to new version (3? 4?) and I did not care for it at all and I was on the search for a new DE.... I tried them all... LXDE finally was working ok for me, and then I ran into Cinnamon with Mint. Perfect.... But then AMD Ryzen came along and Mint did not support the new processor line, but found the latest Ubuntu at the time did. Decided to try KDE again with Ubuntu... and what do you know, KDE was finally in state I could use again. Only irritation was the bottom left button default menu system. But one day I found I could change it to a more 'classic' application menu (like Windows 7 sort-of) and voila that was that. All irritations resolved. Might say .... I finally came full circle back to KDE and liking it.
 
  


Reply

Tags
kde, logging, login, sddm



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
sddm not starting / Auth: sddm-helper exited with 6 (or 11) wael_h Slackware 2 07-11-2021 12:02 PM
CLI -- Logging Out and Logging In StyngerSmash Linux - Newbie 1 09-05-2006 04:23 AM
Grrr! Xorg / Nvidia issues again (Tears hair out in clumps) steve_v Linux - Software 1 08-17-2004 01:20 PM
Grrr! Xorg / Nvidia issues again (Tears hair out in clumps) steve_v Linux - Games 1 08-17-2004 12:28 PM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:27 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