You are not logged in.
I have a laptop with a second monitor and every time I let it sleep with the second monitor plugged in I have to reopen all programs I was using.
It goes like this:
1. LightDM greets me asking for password;
2. I type the password;
3. Screen goes black for a few seconds; *session dies*
4. LightDM greets me again;
5. I type the password again;
6. New Gnome session starts.
It only happens when the second monitor is plugged in, I tried installing nvidia drivers (I needed them for webgl) but it seems the problem is unrelated to drivers.
Offline