4

Disclaimer there are MANY questions on this topic and none of them apply to my situation.

Note the following:

  1. The system previously ran Ubuntu 12.04 Desktop 32bit without issue.
  2. This is a clean install, not an upgrade. Previous install was overwritten.
  3. The black screen comes after logging in, not while booting.
  4. The black screen comes regardless of the video driver, default(nouveau) or nvidia
  5. It is not sporadic, it happens all the time.
  6. It is not the result of returning from sleep or suspend.

I did a clean install of Ubuntu 14.04 Desktop 32bit (ubuntu-14.04-desktop-i386.iso) using liveUSB. The installation completes successfully, the system reboots, and I login. After logging in: the screen (with the background visible) flickers and eventually goes black (no background, no Unity Panel, no Unity Launcher), and I am able to move the mouse about the screen.

Just in case there is an update that resolves this, I switch to tty1 (Ctrl + Alt + F1) and type:

sudo apt-get update
sudo apt-get dist-upgrade

Reboot and same thing after logging in: the screen flickers and eventually goes black, and I am able to move the mouse about the screen.

The machine has nvidia graphics card, the GeForce FX 5700LE video card.

lspci | grep VGA

01:00.0 VGA compatible controller: NVIDIA Corporation NV36 [GeForce FX 5700LE] (rec a1)

So I install the nvidia 173 drivers:

sudo apt-get install nvidia-173

Reboot and now after logging in: the screen goes black, and I am able to move the mouse about the screen.

There are a number of post about Ubuntu 14.04 black screen after login, however they appear to be the result of upgrading from a previous version of Ubuntu and not a clean install. Regardless of that I tired the solution to that problem which is to purge the existing nvidia drivers via sudo apt-get remove --purge nvidia* . Not to my surprise after rebooting and logging in, I see the original behavior: the screen flickers and eventually goes black, and I am able to move the mouse about the screen.

I also tried to boot Ubuntu in recovery mode using failsafeX, I see a popup that says, "The System is running in low-graphics mode". No mouse is visible. I hit tab and enter. Next screen says, "What would you like to do?" and "Run in low-graphics mode for just one session" is selected. I hit tab twice, highlighting "OK" and hit enter. Next screen says, "Stand by one minute while the display restarts…". I hit enter. I see a shining black screen with no mouse.

I read that this is might be another issue since it occurs *after* entering your password on the login page.

4

Turns out unity does not support my video card. Seems there are a number of older NVIDIA cards that one would think would work with unity, but do not because they are blacklisted. For more info on this is found here.

I tested my video card with unity:

/usr/lib/nux/unity_support_test -p

returned:

OpenGL vendor string:   NVIDIA Corporation
OpenGL renderer string: GeForce FX 5700LE/AGP/SSE2
OpenGL version string:  2.1.2 NVIDIA 173.14.39

Not software rendered:    yes
Not blacklisted:          no
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       no

I repeated this with both nouveau or nvidia-173, unity was not supported on either.

I found the following work arounds:


GNOME

I was able to run Ubuntu 14.04 with gnome instead of unity.

@tty (Ctrl + Alt + F1):

sudo apt-get update
sudo apt-get install gnome-session-flashback

reboot

@login prompt:

  1. Click the image on the upper right of the name
  2. Select: GNOME Flashback (Metacity)

Lubuntu or Xubuntu

An alternative to Unity and GNOME is Lubuntu or Xubuntu.

Just for the record, I did not try either of these since I was able to run Ubuntu with gnome.


Unity-2d on Ubuntu 14.04?

In Ubuntu 12.04, I remember running Unity-2d because I was not able to run unity. In Ubuntu 12.04, we were able to select Unity-2d at the login screen similar to the way that gnome is selected in the text above.

I was able to install unity-2d @ a tty: sudo apt-get install unity-2d However, I was not able switch from unity to unity-2d. I read some place that unity defaults to unity-2d when it can not run, apparently that did not work in my case.

  • unity-2d is just a dummy package in Ubuntu 14.04 that points to the regular ("3D") unity package. See e.g. askubuntu.com/questions/487177/… – Bernhard Reiter Sep 6 '14 at 19:18
  • Gnome Flashback is a good alternative. Kubuntu would be another one, happily using it on my "main" PC. I just don't understand why Ubuntu installs Unity on a machine with a blacklisted graphics card, leaving the user with a black screen and not even a warning. – Torsten Römer Nov 9 '14 at 18:31
0

I had faced the same issue in my xps but none of these works. So for a work around I created another user with root privilege and now I can log in with that user account and access all my application and files.

  • Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.) – David Foerster Jun 3 '16 at 12:19
  • Your solution suggested that this was an issue with the graphics configuration of your user profile. Instead of creating a new user you could have reset the relevant configuration (after a backup). – David Foerster Jun 3 '16 at 12:20
  • That may be a possible way but I don't have that much time to back up all my data. So I just created another user for a quick solution. – sankycse Jun 4 '16 at 20:30
  • I meant backing up the configuration files (should be less than 1 MB)… not the whole user profile or even all personal data. – David Foerster Jun 4 '16 at 21:03

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.