PDA

View Full Version : [ubuntu] graphics not functioning after upgrade to Ubuntu 16.04.2 LTS



tevang2
April 2nd, 2017, 10:06 PM
Greetings,

I had before Ubuntu 14.10 on my laptop but after the upgrade I did, I see a black screen after the boot loading finishes. However I can switch to text mode with ctrl+alt+F1. Can someone troubleshoot me please to repair the graphics? I have the feeling that must be something simple.

thank you in advance!

ajgreeny
April 2nd, 2017, 10:49 PM
What hardware, particularly the graphics card do you have?

tevang2
April 3rd, 2017, 12:33 AM
I have a Lenovo laptop with the onboard VGA (Haswell-ULT Integrated Graphics Controller) plus GeForce 840M.

ajgreeny
April 3rd, 2017, 10:18 AM
Try booting with the nomodeset option as a start to see if that gets you a low resolution GUI from which you can install the recommended nvidia proprietary driver for that Geforce card by using Additional Drivers.

You can set the nomodeset option from the grub menu, if you see it, for this single boot, and following that, the addition of the driver may get you a full GUI.

tevang2
April 4th, 2017, 11:47 PM
I added "nomodeset" as shown in this photo:

https://www.dropbox.com/s/6nyp2vm3zj0pzz0/IMG_20170405_001059.jpg?dl=0

but whenever I enter my password to login the screen turns black for a second and brings me back to the login menu as show in this photo:

https://www.dropbox.com/s/13s7cuc02oioxga/IMG_20170405_000716.jpg?dl=0

The same happens if I add "nomodeset quiet splash".

ajgreeny
April 5th, 2017, 12:20 PM
Can you still login as user to the command line from Ctrl+Alt+F1?

If so, please do so and run command
ls -la | less which will allow you to scroll up and own the output with up/down cursor keys to see if any files or folders do not belong to you as user.

There should be only one that shows "root root" in the output, near the top, probably the second entry, and it ends with .. which is the /home folder, not /home/user but the main /home, so don't get confused by the naming here.

tevang2
April 5th, 2017, 12:33 PM
In which directory should I do ls -la?

ajgreeny
April 5th, 2017, 11:21 PM
Your own home directory which is where you will be when you login to the command line of Ctrl+Alt+F1.
Don't change directory, just run that command
ls -la | less
I am looking for any folders or files that belong to a user other than you, particularly to root.

tevang2
April 6th, 2017, 01:21 AM
Only the following files in my home folder do not belong to me (and belong to the root):
.dbus
.gvfs
.pip

ajgreeny
April 6th, 2017, 11:46 AM
I have no idea what .pip might be ; have you installed some package or application called pip or similar for which this might be a configuration folder or file?
However, the ownership of the other two folders is incorrect and they should be owned by you as user like almost everything else, and should be completely invisible to others with permissions from that command shown similar to

drwx------ 3 tevang2 tevang2 4096 Mar 29 2013 .dbus
drwx------ 2 tevang2 tevang2 4096 Mar 29 2013 .gvfs
Try running command
sudo chown -R tevang2:tevang2 /home/tevang2I am calling your username in Ubuntu tevang2 but if it is something else change that chown command to the correct name in the three places where I used tevang2.
This will make everything in your home owned by you, as it must be, and may solve your login to GUI problem.
We may then need to consider why those folders were not owned by you in the first place.

tevang2
April 7th, 2017, 02:05 AM
the change of ownership doesn't resolve the problem. Btw, pip is the python installer of Anaconda.