LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-19-2007, 09:00 PM   #1
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Rep: Reputation: 15
fixing xorg.conf


I installed a new viewsonic VA1912wb monitor today and followed a howto I founded at ubuntuforums . . . in the process I really screwed up xorg.conf. The instructions I followed had me install:

xorg-driver-fglrx
add fglrx to /etc/modules
change "ati" to "fglrx" in /etc/X11/xorg.conf
the last item was done using sed
the last thing was to reboot and when I did I couldn't get into gnome. I got error messages . . . I thought about it for awhile and decided backtracking might be a good idea. So I used sed again to change it back the way it was. However that didn't work. Now I am stuck in XP!! I did use CDLive to get to xorg.conf to see if I can find the two items ati and fglrx but couldn't find them. Oh, I am running a Celeron 2.40 GHz machine with a Nvidia GeForce MX 440. I believe I have pasted the proper part of xorg.conf below. Could someone tell me how to fix this problem? I posted on that Howto in Ubuntuforums but that was hours ago and I need to try to get this machine working again.

SSection "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection

Last edited by SVwander; 02-19-2007 at 09:19 PM.
 
Old 02-19-2007, 11:29 PM   #2
baltho
Member
 
Registered: Aug 2004
Location: Adelaide, South Australia
Distribution: Ubuntu (Natty)
Posts: 38

Rep: Reputation: 18
Try booting from the LiveCD and seeing if the system made a backup of your /etc/X11/xorg.conf - should be in the same directory, possibly xorg.conf.backup or xorg.conf~ or something. I've been there myself, and the golden rule is Always back it up before you tweak it! Googling xorg.conf and your video card could produce a config section you can cut-n-paste. Also, if your live CD boots and loads X ok, its creating its own xorg.conf which you could grab a copy of and try out. Did I mention back it up first? Good luck...
 
Old 02-20-2007, 08:25 AM   #3
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by baltho
Try booting from the LiveCD and seeing if the system made a backup of your /etc/X11/xorg.conf - should be in the same directory, possibly xorg.conf.backup or xorg.conf~ or something. I've been there myself, and the golden rule is Always back it up before you tweak it! Googling xorg.conf and your video card could produce a config section you can cut-n-paste. Also, if your live CD boots and loads X ok, its creating its own xorg.conf which you could grab a copy of and try out. Did I mention back it up first? Good luck...
Well, I am back in Ubuntu thanks to your help. I was close to getting it working. The first part of that Howto should have been to BACKUP xorg.conf. It was listed as the next step. So I guess I will spend the rest of the day figuring out how to get the 1440x900 @ 60 Hz that viewsonic says works better. No more blindly following Howto's . . . well not until next time. Sometimes I feel I am not smart enough to be working with Ubuntu! tm
 
Old 02-20-2007, 05:02 PM   #4
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
to add 1440, once again edit /etc/X11/xorg.conf. Basicaly adding it to the Modes as below is all that's required. You can add it to all Depths if you wish. You'll note that I also removed the more useless resolution. I have the same monitor and love it.

SubSection "Display"
Depth 24
Modes "1440x900" "1024x768" "800x600"
EndSubSection
 
Old 02-20-2007, 09:57 PM   #5
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by fragos
to add 1440, once again edit /etc/X11/xorg.conf. Basicaly adding it to the Modes as below is all that's required. You can add it to all Depths if you wish. You'll note that I also removed the more useless resolution. I have the same monitor and love it.

SubSection "Display"
Depth 24
Modes "1440x900" "1024x768" "800x600"
EndSubSection
I guess I will have to try again when I am not so tired. I edited xorg.conf using what you typed above but when I rebooted the blue screen came up. Thankfully I backed up the file first. I am getting a little better at using CDLive! In the morning I will go over the file more closely. I wonder what I did wrong? Anyway, I will keep trying and thanks for the help. tm ps I have only had this monitor for a day and I love it too.
 
  


Reply

Tags
viewsonic, xorgconf



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg.conf mad_alfred Ubuntu 14 06-20-2005 11:31 AM
xorg.conf Duo Slackware 4 01-07-2005 08:57 PM
xorg.conf jcombs_31 Slackware 1 01-07-2005 03:07 PM
Help with my xorg.conf GradyVogt Slackware 8 09-17-2004 08:46 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration