I have recently upgraded a few of our Ubuntu machines to Ubuntu 18.04. I have managed to configure everything and everything seems to be working fine, apart from the lock screen.

It seems that if the computer is left idle for longer periods of time the lock screen will not accept the credentials any more and restart of gdm or the computer has to be done for it to work again.

I found this bug report which seems to describe the problem.

Can anyone advise me if there has been any work on this or if anyone has found a workaround?

  • may it help? just give a try askubuntu.com/a/172525/739431 – PRATAP Jan 10 '19 at 13:05
  • It may help and I will give it a go. However I do wonder how would I change those shortcut settings through terminal. Any idea ? The problem I'm having is that I will have about 100 computers running ubuntu 18 so far I have had this problem with all of them so if this works I need to find a way of automating this. I can do so via deployment through puppet however for this I need to know how to edit default shortcuts and custom ones through terminal and not gui – Oskar L Jan 10 '19 at 13:17
  • ya, your point is rite, i suggest first you check this one manually. and i hope someone already asked this question keyboard shortcuts via command line. i will check the link and share you. – PRATAP Jan 10 '19 at 13:24
  • did you check the link? – PRATAP Jan 15 '19 at 6:26
  • Sorry not yet, bit busy with a lot of other config. I will get back to this and report in this thread if it worked and how I got it to work if I do. – Oskar L Jan 16 '19 at 9:23

According to comment #10 by nomike (michael-postmann) on the bug report

When using sddm or lightdm I don't have this issues (though I have others).

Therefore, it seems that the only workaround is to use other Display Manager such as lightdm. To install lightdm, run:

sudo apt install lightdm

and follow on screen instructions.

| improve this answer | |
  • Thanks, however I wanted to avoid using it as lightdm brings other issues into play such as constant crashes of display manager when using virtual desktops. – Oskar L Jan 11 '19 at 9:04

So I have found a fix by adding below line to my sssd.conf

ad_gpo_map_interactive = +unity, +cron, +gdm3, +gdm

This seems to fix issues I had with GDM and also issues that I only just noticed where users couldn't run cron jobs

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.