Xubuntu 14.04 black screen after monitor off/on

I have a HP desktop machine with Ubuntu 14.04, with also Xubuntu and Gnome desktops installed. I mostly use the Xubuntu session.

When using the Xubuntu session, when I power off my monitor, and power it back on, the screen stays black and I cannot do any work. With ctrl-alt-f6 I can open another virtual terminal, and then the screen works again, but if I to go back to the desktop session with ctrl-alt-f7, all I have is a black screen.

But, if I login to Unity (the Ubuntu default session), or to Gnome, and turn the monitor off and back on, everything works ok. Also, if I log out, and while in the lightdm greeter, turn the monitor off and back on, everything works ok.

What could be the cause for this, and how to fix this?


I had this problem after upgrading to 14.04. I have an nvidia graphics card and a Vizio TV connected by HDMI.

To get back to an X session: Ctrl-Alt-F1

login

sudo service lightdm restart

Reset the audio either in alsamixer or I just go to setup/audio in MythTV. Just entering the audio menu resets it.

To permanently fix the problem, I found the solution here:

Mailing List Archive - HDMI output lost when TV is power cycled

if you don't have an xorg.conf file in /etc/X11 then use nvidia-xconfig to create one. Then, in the "Device" section, add:

Option "UseHotplugEvents" "false"

restart lightdm to make it take affect.

That should be enough. Though I also added Option "Hotplug" "false" and under "Monitor" I added Option "DPMS" "false" to avoid any other power control of the monitor.


I had this same problem with a brand new installation on my old Thinkpad T43. I made some changes in the settings that not only fixed it for me, but made it better than ever.

By better than ever... when I close the lid now, the computer goes into full suspend mode (not just blanking the screen). When I open the lid, it immediately comes back, with no login prompt, ready to use. This may not be what you want, but it might be what fixed the blank screen problem - I really haven't investigated because I kind of like it this way.

Now, unfortunately, I made a few changes at once, so I'm not sure exactly which one is important, so I'll list some settings that I have made.

Power Manager Settings

  • General - checkbox for "Monitor power management control" is checked.
  • On AC (and on Battery) - When lid is closed, Suspend. Put computer to sleep... Never

Light Locker Settings

  • Locking - "Enable Light Locker", Off
  • Lock on Suspend, Off (but disabled, so probably doesn't matter)

In case I missed something, if you have any questions, feel free to ask


I have the same issue (Xubuntu 14.04, my laptop is a Acer Aspire 5930G) with all the latest updates applied.

One solution that worked for me is to disable the light locker. However this makes it impossible to lock the laptop. It made no difference what I put into the Power Manager (Suspend or Do Nothing).

Not that great when I am in the office but I haven't found any other solution. So I have kept the light locker on but never close the lid when the computer is on :-(