Monday, July 24, 2017

Restarting LightDM after running nvidia-xconfig results in unresponsive text-only display



So, for awhile I've been trying to get my external display to work. I'm running a Nvidia Geforce 305M graphics card in a Lenovo IdeaPad U460s. But when I open Nvidia X settings (Ubuntu 11.10 btw) a window pops up saying that I do not have the Nvidia X Driver installed and running and to run "nvidia-xconfig" (or whatever it says) as root, and then restart the X server. So I open the terminal and run command:



sudo nvidia-xconfig



Terminal does it's thing...and then I run this command (based on answers on THIS site):



sudo service lightdm restart


Then the Ubuntu Desktop/UI/blah blah blah shuts off, screen goes black and then white text appears on the screen like so:



*PulseAudio configured for per-user sessions

saned disabled: edit /etc/default/saned
[OK] *Starting anac(h)ronistic cron
[OK] *Stopping anac(h)cronistic cron
[OK] *Stopping cold plug devices
[OK] *Stopping log initial device creation
[OK] *Starting configure virtual network devices
[OK] *Starting configure network device security
[OK] *Stopping configure virtual network devices
*Checking battery state...
*Stopping System V runlevel compatibillity [OK]



I have no idea what this screen is. I am capable of typing in it, though typed commands (terminal command lines) won't work (at least none that I've tried, but what do I know haha?)



Anyways...any help with this would be greatly appreciated, I am fairly new to Ubuntu and I love it so far, I would love it even more if I could get my peripheral hardware up and running (ie my Secondary Monitor)



Your IdeaPad appears to have switchable graphics; they're not well supported on Linux (yet). In fact, the proprietary nVidia drivers do not support Optimus systems at all, and the ‘Additional Drivers’ dialog should not offer to install them for you.



If your IdeaPad has an option in the BIOS to switch between the integrated and discrete GPUs then the nVidia drivers should work if that switch is set to discrete-only.




If you don't have a BIOS switch like that, then the nvidia drivers won't work, and trying to install them will make you unhappy.



The easiest way to recover would be to remove the configuration file telling X to load the nvidia driver; it will then autodetect what driver should be loaded, and load the Intel driver.



To do that, you want to run sudo rm /etc/X11/xorg.conf in a terminal.



If you've installed the nvidia drivers they will have broken the 3D component of the Intel drivers. To fix that, just remove the nvidia drivers (either through “Additional Drivers” or by running sudo apt-get remove nvidia-current).


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...