Ubuntu 14.04 window problem after waking up from suspend

I have a new HP Z BOOK 15 and I terminated windows and installed Ubuntu 14.04. All are working fine except that at certain times when I suspend the laptop and log back in again, the window panels get blank.

enter image description here

Here is the image of how it looks after logging back in after a suspend.

It happens all the time BUT only after two or three suspends.

I know that this is a question that cannot have a direct answer (or maybe it does!!) as I don't have any details that I can provide to explain further than the image itself.


Solution 1:

I'm not sure why it happens after 2 or 3 suspends. Short of running

tail -f /var/log/syslog

before and after a bad suspend, it will be difficult to tell.

I believe you can, however, run

compiz --replace

from a terminal to fix your window issues (it's worked for me in the past, sometimes waking up from suspend I won't have window borders to click/close/minimize).

Try to get a pre and post log so we can look at that and figure out what's going wrong when suspending that causes this.

Solution 2:

I also get occasional glitches like this after suspend, which can usually be resolved by switching to console (CTRL-ALT-F1) and then back to the desktop (ALT-F7).

Solution 3:

I faced the same problem. I found the solution here.

Ubuntu 16.04 LTS black screen after login

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade -y
sudo reboot