Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4916  / 3 Years ago, mon, june 14, 2021, 12:51:30

I have just installed Ubuntu 12.04 on an HP Laptop with Nvidia Graphics hardware. This machine used to run Ubuntu 10.10 and I have to use an external monitor as the internal screen on the laptop is broken and cannot be read. Using the LiveCD to install 12.04 and erase the previous 10.10 installation, all worked fine while installing from the live CD and the external monitor was detected and could be used. After finishing the install, and rebooting, the laptop will not recognize the external monitor and since the internal screen is unusable I cannot configure displays as one normally would. I think I may be able to alter my /etc/X11/xorg.conf file to use the external monitor instead of the default device, but I am unsure of what to change in the file. My /etc/X11/xorg.conf file looks like this:



Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection

More From » 12.04

 Answers
1

Install the proprietary driver will still using the Live CD (should work if you have enough ram) this will install nvidia-xconfig which you will need to run as root so type the following:



sudo nvidia-xconfig -o ./xorg.conf



This will give you a more detailed xorg.conf file that should have both the broken and working monitor listed.



Below is what it added on my system. I doubt our systems are similar enough to just copy and paste what I have, but you can see in the "Screen" section it lists Monitor0 connected to Screen0 I would suspect you could change this to Monitor1.



Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection


EndSection



When you've made the changes copy ./xorg.conf to your harddrives /etc/X11/ directory.



Reboot and hopefully its fixed.


[#38401] Tuesday, June 15, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
allowiel

Total Points: 189
Total Questions: 103
Total Answers: 105

Location: Slovenia
Member since Thu, Mar 18, 2021
3 Years ago
;