LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-07-2007, 04:45 PM   #1
doraimom
Member
 
Registered: Nov 2005
Posts: 235

Rep: Reputation: 30
Just lost my xorg.conf file!!!! Nvidia


Hi.
I have installed in my Debian testing nvidia-tools, nvidia-xconfig, and two more nvidia packages that I don't remember the names now. ONe of them I didn't install. It was installed by default when I installed my Debian System.

The first problem was that these new nvidia drivers weren't being used. Instead of them, the original default nvidia packege was running.
Then I began to try these new packages/commands. First I tried nvidia-tools to see what happened. I got a simple menu. Then I tried nvidia-xconfig. Then I got the following message: "your xorg.config file was replaced..."

Then I restarted my system, and it failed to start X. I don't have the back up for this xorg.conf.

What I'd like you guys to help is:
1) What do I need to edit/change in this new xorg.conf file to make it work? (I'll post it here).
2) How can I make Debian reinstall the original xorg.conf file, with the default options just as It was after the installation of the system?
3) If We make this first option work (the new xorg.conf file, after that, how can I control the brightness of my screen? Just as in my windows, the screen starts a little dark and I need to increase the brightness everytime I boot the PC. With the original drivers for windows I can do that easily. How can I do it here?)

NVIDIA GeFOrce 6800GS
Quote:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (randy@juliet2) Fri Dec 30 21:53:37 PST 2005

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"

# path to defoma fonts
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Monitor"
Identifier "T730SH"
Option "DPMS"
EndSection

Section "Device"
Identifier "nVidia Corporation NV41 [GeForce 6800 GS]"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV41 [GeForce 6800 GS]"
Monitor "T730SH"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Last edited by doraimom; 04-07-2007 at 04:47 PM.
 
Old 04-07-2007, 05:37 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Have you actually looked in /etc/X11 to verify that it didn't make a backup for you before it replaced it?
 
Old 04-07-2007, 06:46 PM   #3
jonnycando
Member
 
Registered: Nov 2006
Location: Virginia
Distribution: OpenSuSE 10.2
Posts: 121

Rep: Reputation: 15
and if there isn't a backup, there is surely a generic one you can use while you reconfigure.
 
Old 04-07-2007, 06:49 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
If nothing else there's "sudo dpkg-reconfigure -phigh xserver-xorg". If -phigh doesn't give you one that works then use -plow. You'll just need to enter more info.
 
Old 04-07-2007, 07:28 PM   #5
doraimom
Member
 
Registered: Nov 2005
Posts: 235

Original Poster
Rep: Reputation: 30
Quote:
Have you actually looked in /etc/X11 to verify that it didn't make a backup for you before it replaced it?
Hi. YES it did back up before replacing the original file, but the problem is that I ran the command TWICE, so it replaced the back up file with the replaced file (replaced the back up with the new one).

Quote:
If nothing else there's "sudo dpkg-reconfigure -phigh xserver-xorg". If -phigh doesn't give you one that works then use -plow. You'll just need to enter more info.
I'll try it, but would you be able to tell me if it is possible to edit anything in this new file to make it work, since it's the real file I want to make work???

Quote:
jonnycando:
and if there isn't a backup, there is surely a generic one you can use while you reconfigure.
Is there? Where is it then?

Thanks for the repplies
 
Old 04-07-2007, 08:11 PM   #6
doraimom
Member
 
Registered: Nov 2005
Posts: 235

Original Poster
Rep: Reputation: 30
dpkg-reconfigure -phigh xserver-xorg worked fine for me.
I'd just like to make the nvidia file work now, since it's the specific file for my video board...
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
moving to nvidia: what is the impact on xorg.conf? jay73 Linux - Hardware 3 03-27-2007 04:04 PM
Gentoo / Nvidia / Xorg.conf GaMeS Linux - Newbie 8 10-29-2005 05:38 AM
xorg.conf and nvidia problem scarryharry Slackware 8 05-20-2005 04:00 PM
NVidia TV out thru xorg.conf jobless_joe Linux - Software 7 02-22-2005 11:59 PM
HELP nvidia + xorg.conf = BIG PIXELS fatblueduck Linux - Software 3 11-05-2004 06:48 AM


All times are GMT -5. The time now is 06:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration