Registered Member
|
I would lock screen when auto login is enabled. Is there a way to obtain it in a simple way?
There is a bug 346741 regarding this option but it's it waiting for a solution. |
Registered Member
|
Auto lock after auto login from the cold boot with the SDDM
Earlier: Lock screen programatically - viewtopic.php?f=67&t=128548 The lock can be initiated with the command:
1) Writing oneliner - autolock.sh and making it executable:
2) Adding it to the autostart - KDE System Settings > Startup and Shutdown > Autostart (Run On Startup) 3) Setting the Auto Login on KDE System Settings > Startup and Shutdown > Login Screen (SDDM) > Advanced > Auto Login Testing ... working at here. Note ! This will lock the screen always. If you only want to lock when the auto login is enabled you could read the autologin status from the /etc/sddm.conf and then lock or not. More: Unlocking with the cli: viewtopic.php?f=289&t=130691 |
Registered Member
|
Thanks for your answer that's easy to implement thanks to your very detailed description.
In fact every time screen lock you have to enter the password twice. It should be better if script is executed at boot only but I don't know if it's possible. This is too complicated for me, I don't know how to test a condition in a script. But it's not so important too, I've auto login permanently enabled. |
Registered Member
|
With the cold/hard boot the password should be asked only once, by the lock screen - with the VBox: https://youtu.be/WV17NfIZNRU If you are switching the user then there is the SDDM password and the lock screen password. |
Registered Member
|
You're right. Password is asked twice only at login and this is not a big problem.
Hope bug will be solved and in the meantime this is a good solution. Thanks. |
Registered Member
|
I'm having the same problem, and that solution looks like a decent workaround. However I really believe this is something that should be fixed within SDDM itself, which in my opinion should offer a checkbox for automatically locking the screen after auto-login.
|
Registered Member
|
Bug #346741 asks for restoring this feature that we had in KDE4. You could add your request to increase the probability this feature is restored. This is the solution adopted in KDE4 that could be perfect for Plasma too, see my attachment in Bug #346741. |
Registered Member
|
Commented and watched, thanks for letting me know. |
Registered Member
|
Very good.
This bug is one year old! Now we hope that someone solve it. |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]