Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
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.
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
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
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.
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!
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 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
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.