I recently set up a new computer with Ubuntu 18.04. The computer has an Nvidia RTX 2080 Ti, with the proprietary drivers installed.
It worked fine for a couple weeks, but, after a recent software update, it developed a recurring problem: every time it wakes from sleep, there is no visible login boxes at the login screen (just the blank purple background). Strangely, it is still possible to login by hitting Enter a few times and typing my password. So I cannot see the login form, but it's still there in practice. Then, after logging in, the desktop background appears, but no icons from the desktop and no launcher and no menu bar. Just a blank background screen.
If I Ctrl+Alt+F3 into terminal, then I can get the desktop back using
sudo init 3 then
sudo init 5. But I don't want to do this every time I go for a coffee!
I also resolved it once by deleting
~/.config. But again, it's a bit disruptive setting up my config again after a cuppa tea.
Strangely, it all works fine if I reboot the computer, so it's only after sleeping that the problem occurs.
Would greatly appreciate any thoughts which might lead towards resolving this! Thanks