LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-12-2007, 06:57 AM   #1
profolio
LQ Newbie
 
Registered: Aug 2006
Location: Montreal,Canada
Distribution: Puppy, Debian, Knoppix
Posts: 26

Rep: Reputation: 15
Debian Sarge screen res.


I just finished installing a Debian "Sarge" desktop (latest release) on my Mac Mini and I only get two res.settings that are far two big for my La Cie 22".
800x600 aprox for the highest.
My folders are the size of golf balls...(lol).
My question is if and how I can edit the config file
to bring it back to a reasonable resolution.
Thanks,
Michel
Debian GNU/Linux 3.1 (Sarge)
Mac Mini 1.4ghz
1g ram
La Cie crt 22" Electron Blue
 
Old 01-12-2007, 07:35 AM   #2
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
This is a problem I've seen many times on Debian Sarge and still can't find the root cause
However, I have a solution which works for me...

With your favourite editor, open etc/X11/XF86Config.

Go down to the bottom of the file, where you will see a bunch of lines of screen definitions, along the lines of "800x600" "640x480". There will be anything up to about 6 different groups of lines there, each headed "Section "Screen"", and each associated with a particular colour depth. It should look a bit like this:

<snip>

Section "Screen"
Identifier "NV"
Device "NV"
Monitor "ViewSonic P810"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubsection
EndSection

<snip>

Now just add "1024x768" or whatever resolution you want (within the capability of screen and display adapter!) to each "modes" line, immediately before the "800x600":

<snip>
Section "Screen"
Identifier "NV"
Device "NV"
Monitor "ViewSonic P810"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection
<snip>

Then restart X and it should be OK.

As I say, I've seen this loads of times, if anyone knows why or how to avoid it happening it would be nice to know....

HTH
Jimbo
 
Old 01-12-2007, 07:47 AM   #3
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
Back Again...

Just posted the response and realised, there may be another issue, equally annoying and common, if you have an ATI video card. If that is the case, you may need to use the driver supplied by either ATI themsleves (on their web site http://ati.amd.com/support/driver.html) or (if you're on Fedora) by rpm.livna.org

Good Luck

Jimbo
 
Old 01-12-2007, 04:23 PM   #4
profolio
LQ Newbie
 
Registered: Aug 2006
Location: Montreal,Canada
Distribution: Puppy, Debian, Knoppix
Posts: 26

Original Poster
Rep: Reputation: 15
re screen res

Thanks a lot for the help. As I recall, it is an ATI card. I'll try it with the driver on the weekend and if that doesn't do it I'll edit the config and keep you posted.
Michel
 
Old 01-12-2007, 05:37 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by profolio
I just finished installing a Debian "Sarge" desktop (latest release) on my Mac Mini and I only get two res.settings that are far two big for my La Cie 22".
800x600 aprox for the highest.
My folders are the size of golf balls...(lol).
My question is if and how I can edit the config file
to bring it back to a reasonable resolution.
Thanks,
Michel
Debian GNU/Linux 3.1 (Sarge)
Mac Mini 1.4ghz
1g ram
La Cie crt 22" Electron Blue
Use dpkg-reconfigure xserver-xfree86 as root at a command prompt choosing the advanced option and just keep hitting the Enter key taking the defaults already present. When you get to the driver choose either ati or radeon depending on which flavor of ATI card is in the mini, once at the monitor page dialog according to this page use 30-121 for the horizontal and 50-160 for the vertical refresh rates and lastly at the resolutions dialog page use the up/down arrow keys to move in the list and the spacebar to select the highest resolution that X will use. Now restart the X server and hopefully Sarge's X supports the video card in the mini and it works properly.
 
Old 01-12-2007, 07:04 PM   #6
soccercisco
Member
 
Registered: Dec 2006
Location: Fullerton, CA
Distribution: Debian
Posts: 36

Rep: Reputation: 15
I have an ATI Radeon 9600 card and the VESA drivers work well (using the dpkg-reconfigure xserver-xfree86 as indicated earlier), though, manufacturer ones work nicer. I can be of further help if needed (just post :-) )

Regards,
 
Old 01-13-2007, 02:38 PM   #7
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
Respect to HappyTux and SoccerCisco!

Well, guys, I don't know what I've been doing wrong all along, and while I'm *sure* I tried dpkg-reconfigure somewhere along the road, it never worked for me before

However, just this evening, I am building a new server with an ATI Radeon 200 Xpress onboard video, using Debian Etch, which has moved to Xorg, but still I got "golf-ball" sized icons. Tried to use my normal fix, as per the response above, and 1024x768 is already in the xorg.conf file. Hmmmmmm, that's a show-stopper, what to do now?

So, I tried the dpkg-reconfigure mechanism, as oulined above, after which synaptic loaded some more x-org files, did a reboot, and its now working fine.

HappyTux, you know what you're talking about! Profolio, listen to "Da Man"!!
 
Old 01-13-2007, 04:18 PM   #8
profolio
LQ Newbie
 
Registered: Aug 2006
Location: Montreal,Canada
Distribution: Puppy, Debian, Knoppix
Posts: 26

Original Poster
Rep: Reputation: 15
Re screen res

Thanks guys...
I'll try it when I come back to a suitable environment (read DSL and printer).
As of yet, I'm not to enamored with "Sarge". I was hoping to get something going on the Mac besides OS X. Apart from the screen res.
which is minor, it can't detect my Mini's modem for which I rely on for dialup on the weekends (that's why I'm writing this on a painful 28kbs). Another peeve of mine is "sudo" login. I can't
seem to login as su when I open a session yet every time I try to config someething it asks me for my password. I run a Puppy at home and I love it because I'm always in sudo mode whatever.
Anywho...thanks for your patience and tips.
Michel
 
  


Reply



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
debian sarge screen resolution domurtag Linux - Newbie 7 05-30-2006 09:17 PM
Green Screen at Debian Sarge First time boot...NEWBIE jkcoutel Linux - Newbie 3 08-21-2005 08:05 PM
Debian Sarge: screen resolution daenney Linux - Hardware 4 06-12-2005 01:39 AM
Debian/AGNULA screen res laptop benedict Debian 7 01-03-2005 11:41 AM
desktop res in Debian Sarge Lleb_KCir Linux - General 16 10-03-2004 11:12 PM

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

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