I recently installed Ubuntu 17.10. Sometimes, when I return to the PC and the screen is locked and I unlock it, all previously opened windows are gone. I truly don't understand the rational for this behavior.

I'd like to know how I can configure the system so that the windows are still present when I unlock the screen again.

Edit: it appears that I am running Gnome as window manager.

$ printf 'Desktop: %s\nSession: %s\n' "$XDG_CURRENT_DESKTOP" "$GDMSESSION"
Desktop: ubuntu:GNOME
Session: ubuntu
  • 1
    That is not intended behavior. I think you have discovered a bug. Are you using Gnome, Unity, or some other Desktop Environment? – user535733 Feb 12 '18 at 13:02
  • How do I determine whether I am using Gnome or Unity? – René Nyffenegger Feb 12 '18 at 13:44
  • Here are several ways. Please edit your question to add the information - it simply makes a difference about which package you will file the bug report against. – user535733 Feb 12 '18 at 14:19
  • Just the same here... I couldn't figure out why this is happening, since I reinstalled my OS last week and having this trouble sometimes when I lock screen. – mosesmeirelles Apr 23 '18 at 14:19
  • This is a bug with Ubuntu. It is being tracked here. And has also been reported here and here – Gabriel Fair Jan 13 at 0:18

Your Answer

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

Browse other questions tagged or ask your own question.