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-27-2005, 05:45 PM   #1
Pingus
Member
 
Registered: Nov 2004
Location: Canada
Distribution: SuSE 9.1 pro/Debian Sarge
Posts: 61

Rep: Reputation: 15
X config tool not creating X config file


Hello,

Sorry if this is a duplicate; I couldn't find an answer to my question. I have a laptop with Nvidia FX Go5700 and have installed Debian Sarge with 2.6.8-2 386 kernel. I could go through the first X configuration menu by selecting the 'vesa' driver ('nv' is not for this card) and things worked well.

I successfully installed the Nvidia driver, went into my /etc/X11/XF86Config-4 file to change Driver "vesa" to Driver "nvidia".

and all is fine. I would like to get a better resolution than 1024x768 though (the card and monitor are capable of much more) but am not sure of the horizontal and vertical refresh rates. I do know though that the card can do 1600x1200 @60Hz (from Windows XP). So I run (as root):

dpkg-reconfigure xserver-xfree86

go through the whole selection again, select the 'nvidia' driver and 'medium' to choose the highest resolution the card is capable of. However, once this is over, the configuration tool has not written any updated XF86Config-4 file to disk. It is still the old one sitting there.

I tried moving XF86Config-4 to my home dir and went through the selection again, but to no avail. No file written. Since I am root, I don't see any permission problem.

Being new to Debian, it may be doing something wrong. If anyone has an idea, I'd be very glad.

Thanks in advance
 
Old 04-27-2005, 06:14 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Try:

cat /etc/X11/XF86Config
or
cat /etc/X11/xorg.conf

see if the changes where made there...
 
Old 04-27-2005, 08:06 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: X config tool not creating X config file

Quote:
Originally posted by Pingus

and all is fine. I would like to get a better resolution than 1024x768 though (the card and monitor are capable of much more) but am not sure of the horizontal and vertical refresh rates. I do know though that the card can do 1600x1200 @60Hz (from Windows XP). So I run (as root):

dpkg-reconfigure xserver-xfree86

go through the whole selection again, select the 'nvidia' driver and 'medium' to choose the highest resolution the card is capable of. However, once this is over, the configuration tool has not written any updated XF86Config-4 file to disk. It is still the old one sitting there.

I tried moving XF86Config-4 to my home dir and went through the selection again, but to no avail. No file written. Since I am root, I don't see any permission problem.

Being new to Debian, it may be doing something wrong. If anyone has an idea, I'd be very glad.

Thanks in advance [/B]
Since you have edited the file by hand the md5sum of it has changed and debconf will no longer recognize the file for you to make changes. You can look at the instructions I seem to remember being there in the comments at the top of the file to regenerate the proper md5sum for the new file the try the reconfigure while you are at it you can search the web with your model number and make for your monitor and find the proper values the horizontal and vertical section then during the reconfigure you use these values when asked or you can continue to edit the file by hand put the proper values into the lines where they belong and restart the X server and see if you have better luck with the increased resolution. If you cannot get it going can you post the /etc/X11/XFree86config-4 file you are using along with the /var/log/XFree86.0.log and the details on your monitor?
 
Old 05-02-2005, 11:49 AM   #4
Pingus
Member
 
Registered: Nov 2004
Location: Canada
Distribution: SuSE 9.1 pro/Debian Sarge
Posts: 61

Original Poster
Rep: Reputation: 15
Sorry for the late reply. This is really useful; I expect this must be a common confusion among Debian newcommers. This was exactly the problem: the md5 sum.
I had edited the file by hand, so Debian didn't want to overwrite it. All is well now.

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
WINE - CONFIG File, can't find it to do first config Hero Doug Linux - Software 1 09-06-2005 11:03 AM
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 12:07 PM
krfb --config; Format of config file? Need to allow ports below 1024. SavvyPlayer Linux - Software 0 10-16-2004 08:28 PM
xf86 config tool zeky Linux - General 7 11-26-2002 11:32 AM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM

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

All times are GMT -5. The time now is 02:26 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