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 10-18-2009, 12:52 AM   #1
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
dpkg-reconfigure xserver-xorg terminates early with warning


I just installed Debian on a new machine, which has a widescreen display with a max resolution of 1600x900@60Hz. The install worked fine, but booting up for the first time my monitors (I tried both that one and another, older one) give a "Mode not supported" error. I realized I never configured my monitor in the install process, so I poked around online and found the suggestion to run "dpkg-reconfigure xserver-xorg". This worked fine, but stopped before it got to display questions with the warning:

"xserver-xorg postinst warning: overwriting possibly-customised configuration file: backup in /etc/X11/xorg.conf.20091017224233"

I tried running "dpkg-reconfigure -phigh xserver-xorg" as suggested by the comment in xorg.conf, but that doesn't change anything (it still fails with the warning before asking display questions).

I looked up that warning message and just spent a couple hours reading threads and emails about the issue, but I can't seem to find a workaround to make dpkg-reconfigure think I haven't touched xorg.conf and let me reconfigure the package.

Any ideas? Or ideas on how to at least get X to work at all on this monitor (fixing the resolution is a separate issue).

Thanks.
 
Old 10-18-2009, 01:24 AM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
mh, im not an expert, so take it that way:

the "warning" you get only tells you that an xorg.conf allready existed, and it is gettting backuped. Thats all. If your new generated xorg.conf works, you may delete the backup
(and yes: it looks in fact like an error-message, i had the same problem)

another way you could try would be running
#Xorg -configure
as root from a login-shell, say single user one (but im never sure if its X -configure; Xorg -configure; Xorg --reconfigure and so on...you needa find that out by doing it)
It will create a xorg.conf.new in /root. You may try if it works, if it does move it over:
# mv /root/xorg.conf.new /etc/X11/xorg.conf

another thing you could try is running without xorg.conf at all, usually it should work:
# mv /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

Or run from any live you know it works and copy the whole shebang over to the hard-disk.
that should be the most easy way :-) .

greetings

btw: i for one prefer removing the login-manager as long i got problems with xorg-conf (apt-get remove gdm,kdm,slim,xdm ), that way i can easily work from a login-shell and only need to run startx to check if it did work and ctl-alt-del to get back to a shell. its better for my nerves :-)
 
Old 10-18-2009, 09:20 AM   #3
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by j1alu View Post
mh, im not an expert, so take it that way:

the "warning" you get only tells you that an xorg.conf allready existed, and it is gettting backuped. Thats all. If your new generated xorg.conf works, you may delete the backup
(and yes: it looks in fact like an error-message, i had the same problem)
I know it's just a warning, the problem is that it kicks me out of the configuration to display that warning without letting me get to the display settings questions. So, as far as I can tell, I need to figure out how to avoid that warning to get to those questions.

I'll try your other suggestions just to get up and running, though.
 
Old 10-18-2009, 02:47 PM   #4
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Hmm, I might have found my answer here:

http://wiki.debian.org/Xorg

"This command formally included steps to configure video settings but as of Winter 2008 in Testing, these screens no longer appear. This is reportedly because auto-detection of video settings works in most cases so a wizard is unneeded. Any further adjustment to video settings must be done by editing /etc/X11/xorg.conf directly."
 
Old 10-18-2009, 05:30 PM   #5
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
ok, sorry, i misunderstood you.

just in case, heres a how-to bout resolution:
http://forums.debian.net/viewtopic.php?f=16&t=26577
 
Old 10-18-2009, 05:33 PM   #6
dchost
LQ Newbie
 
Registered: Oct 2009
Posts: 18

Rep: Reputation: 2
Quote:
Originally Posted by jrdioko View Post
Hmm, I might have found my answer here:

http://wiki.debian.org/Xorg

"This command formally included steps to configure video settings but as of Winter 2008 in Testing, these screens no longer appear. This is reportedly because auto-detection of video settings works in most cases so a wizard is unneeded. Any further adjustment to video settings must be done by editing /etc/X11/xorg.conf directly."
X --configure (generate /root/xorg.conf.new)

X -config /root/xorg.conf.new (for testing the new conf)

if ok (empty gray screen with mouse) just copy to

cp /root/xorg.conf.new /etc/X11/xorg.conf
 
Old 10-18-2009, 10:30 PM   #7
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
I started fiddling with my xorg.conf, but then realized all I needed to do was install the proprietary fglrx (ATI Radeon HD) drivers for my card and everything was auto-detected and worked perfectly.

Thanks for your help though!
 
  


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 xserver-xorg alternative on Lenny? matiasar Debian 4 08-09-2008 08:50 AM
xserver lost configuration, dpkg-reconfigure xserver-xorg isn't helping bezdomny Linux - Software 5 07-13-2008 12:33 PM
dpkg-reconfigure xserver-xorg ends before screen(monitor) guide terfy Linux - Distributions 0 06-24-2008 10:29 AM
dpkg-reconfigure xserver-xfree86, why? Monkey 9 Debian 22 12-11-2005 12:57 PM
dpkg-reconfigure xserver-xfree86 HooX Linux - Newbie 6 01-10-2005 05:35 PM


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