LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-12-2006, 05:52 PM   #1
foodhater
Member
 
Registered: Jul 2004
Distribution: Vector 5.9
Posts: 89

Rep: Reputation: 15
dpkg-reconfigure won't change screen resolution


Hi. I am having a problem getting my screen resolution to go over 1024x768. I ran this command:

#sudo dpkg-reconfigure xserver-xorg

I answered all the questions but it never asked me what resolutions I wanted. It just wrote the file and exited. As I recall in Sarge it would ask you to pick all of the resolutions you would like to be available. So what I did is I went into /etc/X11/xorg.conf and I manually edited in the larger screen resolutions but now when I login from the login screen it goes to black and then goes right back to the login screen, if that makes sense. Luckily I made a backup file of xorg.conf so I am back to square one. Any ideas? Thanks. Here is my xorg.conf: (this one works but only for the listed resolutions) When I manually add larger resolutions sizes it won't work. My monitor is a Viewsonic VA1912wb and my video card is an Nvidia 5700le. Any help, thanks.


# XF86Config-4 (XFree86 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 XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/CID"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

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

Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
EndSection

Section "Monitor"
Identifier "___:ffff"
HorizSync 30-82
VertRefresh 50-85
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "___:ffff"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection

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

Section "DRI"
Mode 0666
EndSection
 
Old 09-12-2006, 07:49 PM   #2
robingazi
Member
 
Registered: Jul 2006
Location: Bangladesh
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 15
Why dont you just edit the file you just posted. You can add resolutions like this "1280x1024" before the other resolutions mentioned in the file.

like this

Modes "1280x1024" "1024x768" "800x600"

BTW: be sure that your monitors sync rate is correct and it supports the resolution.
 
Old 09-12-2006, 07:53 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
Btw: you mention you use Xorg, but the xorg.conf file you've posted still mentions XFree86 I think this might be the source of your problem: Xorg and XFree86 do not mix well on the same system...
 
Old 09-12-2006, 07:58 PM   #4
robingazi
Member
 
Registered: Jul 2006
Location: Bangladesh
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 15
Oops, Didnt see that. :S
 
Old 09-12-2006, 07:58 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
I appears you did an upgrade from Sarge rather than a clean install. Bad idea. That translation, as I see it, is the biggest hurdle the Debian folks have to overcome before Etch becomes Stable.

Anyway, my point is that you have posted what appears to be an XFree86-4 configuration file. Etch uses Xorg. There is also something peculiar about dpkg-reconfigure xserver-xorg, in that it does not appear to me to rewrite the xorg.conf file. You may be able to simply edit /etc/X11/xorg.conf as has been suggested. You might also try renaming xorg.conf to xorg.backup or something, then # rm /etc/X, # dpkg-reconfigure xserver-xorg That will rewrite the file, but it may still need editing.

Your driver in the "Device" section should probably be "nv" instead of "vesa"

Last edited by rickh; 09-12-2006 at 08:03 PM.
 
Old 09-12-2006, 08:17 PM   #6
foodhater
Member
 
Registered: Jul 2004
Distribution: Vector 5.9
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rickh
I appears you did an upgrade from Sarge rather than a clean install. Bad idea. That translation, as I see it, is the biggest hurdle the Debian folks have to overcome before Etch becomes Stable.

Anyway, my point is that you have posted what appears to be an XFree86-4 configuration file. Etch uses Xorg. There is also something peculiar about dpkg-reconfigure xserver-xorg, in that it does not appear to me to rewrite the xorg.conf file. You may be able to simply edit /etc/X11/xorg.conf as has been suggested. You might also try renaming xorg.conf to xorg.backup or something, then # rm /etc/X, # dpkg-reconfigure xserver-xorg That will rewrite the file, but it may still need editing.

Your driver in the "Device" section should probably be "nv" instead of "vesa"


I did do an upgrade from Sarge to Etch. It works great and so far everything is on wonderful except for this screen resolution problem. It does appear that I'm using an XFree86-4 configuration file but the actual file that I am editing is called xorg.conf. Weird. And yes, dpkg-reconfigure xserver-org does not appear to rewrite the the xorg.conf file or at least it doesn't re-write the screen resolution part of it. I will try the changing it from "nv" to "vesa", thanks for your input. I'll update any progress when I get a chance, thanks.
 
Old 09-12-2006, 08:28 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Quote:
I will try the changing it from "nv" to "vesa",...
...from vesa to nv, and don't forget to put in robingazi's edits
Quote:
Modes "1280x1024" "1024x768" "800x600"
 
Old 09-13-2006, 09:22 AM   #8
foodhater
Member
 
Registered: Jul 2004
Distribution: Vector 5.9
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rickh
...from vesa to nv, and don't forget to put in robingazi's edits

This works!! Everything works great on this new Etch .....so far. Thanks guys!
 
  


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
dpkg-reconfigure locales dapper128 Ubuntu 0 09-11-2006 07:23 AM
CAN'T change default locale by dpkg-reconfigure locales Mathsniper Debian 3 06-26-2006 07:19 AM
dpkg-reconfigure xserver-xfree86, why? Monkey 9 Debian 22 12-11-2005 01:57 PM
dpkg-reconfigure xserver-xfree86 HooX Linux - Newbie 6 01-10-2005 06:35 PM
dpkg-reconfigure ethenconf ain't workin' sockknitter Debian 5 09-12-2004 05:18 PM


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