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
 
LinkBack Search this Thread
Old 08-15-2004, 11:45 AM   #1
mahamkali
Member
 
Registered: Oct 2003
Posts: 67

Rep: Reputation: 15
Problem with screen resolution...


Hi,
I am a newbie to Debain linux and I've installed Debian-sarge on my AMD athelon pc.
I 've also installed the gnome-desktop but the resolution I am getting is 800 X 600. I haven't had the option to choose 1024 X 760. Can anyone help me how can I change the the resolution?

thanks in advance,
siva
 
Old 08-15-2004, 02:34 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 48
Do dpkg-reconfigure xserver-xfree86 and when you get to the monitor section choose advanced and select the resolution you want.
 
Old 08-15-2004, 02:37 PM   #3
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
use

Code:
dpkg-reconfigure -plow xserver-xfree86
so you only get low priority questions. it's easier, trust me.
 
Old 08-15-2004, 06:02 PM   #4
quentusrex
Member
 
Registered: Aug 2004
Location: Seattle, Washington
Posts: 101

Rep: Reputation: 15
If the above doesn't work. then there is one last step you should try.

Open the '/etc/X11/XF86Config-4' and add the screen resolution that you want to where it has: "800x600"

sorry if this is vague. if this doesn't help I'll post a very detailed and step by step instruction.
 
Old 08-15-2004, 09:49 PM   #5
mahamkali
Member
 
Registered: Oct 2003
Posts: 67

Original Poster
Rep: Reputation: 15
Hi,
Thankyou very much for your help and I reconfigures my xfree86-config and it worked greatly.

thanks a lot,
siva
 
Old 08-15-2004, 09:52 PM   #6
quentusrex
Member
 
Registered: Aug 2004
Location: Seattle, Washington
Posts: 101

Rep: Reputation: 15
glad i could help. one question. did you edit 'XF86Config' or 'XF86Config-4' ?
 
Old 08-22-2004, 12:01 PM   #7
zen108
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by quentusrex
glad i could help. one question. did you edit 'XF86Config' or 'XF86Config-4' ?
I ran into the same problem with sarge (pre-release; 08/21/04) netinstall; first I tried the "dpkg-reconfigure -plow xserver-xfree86" option to correct it; did not know what the device number etc, so could not finish it.

Then I edited the "/etc/X11/XF86Config-4" directly; added "1024x768" in addition to the "800x600"... for depths 24 etc and restarted the system and it worked fine afterwards!
 
Old 08-22-2004, 12:18 PM   #8
quentusrex
Member
 
Registered: Aug 2004
Location: Seattle, Washington
Posts: 101

Rep: Reputation: 15
yup. I don't know what the problem is... but it seems that the 'dpkg-reconfigure xserver-xfree86' command edits the XF86Config file rather than the newer XF86Congif-4 file. XServer now uses the XF86Config-4 file now for it's settings, atleast the versions from 4.0 and above(i think that's the right version. someone correct me if i'm wrong). I think this could be labeled as a bug, but that's just my thoughts. I'm pretty sure there should be an option for that command that would fix it, but that's unknown to me. soo.... For all those who just installed Debian Sarge from the Net-installer, run the above command and then manually edit the XF86Config-4 file.


p.s. Does anyone else think that it would be possible, since 'dpkg-reconfigure xserver-xfree86' edits the XF86Config file rather than the XF86Config-4 file, would it be workable to just copy the XF86Config file and save it under the name XF86Config-4? Anyone brave enough to try it?
 
Old 08-22-2004, 12:23 PM   #9
quentusrex
Member
 
Registered: Aug 2004
Location: Seattle, Washington
Posts: 101

Rep: Reputation: 15
To cover my own rear end... If you are going to try it back up your original XF86Config-4 file BEFORE you change it. This is always good standard practice. I've provided the required commands to backup the file and to test my theory.

su
<root password>(login as root)
cd /etc/X11
cp XF86Config-4 ./XF86Config-4.old
dpkg-reconfigure xserver-xfree86
cp XF86Config ./XF86Config-4
reboot


p.s. It's always better to login under a non-root user then 'su' to gain root access rather than just logging in as root. Because when logged in as root very dangerous things can happen....
 
Old 08-22-2004, 01:57 PM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 57
Quote:
Originally posted by quentusrex


su
<root password>(login as root)
cd /etc/X11
cp XF86Config-4 ./XF86Config-4.old
dpkg-reconfigure xserver-xfree86
cp XF86Config ./XF86Config-4
reboot


The reboot step is unnecessary, you can change it for /etc/init.d/kdm restart (change this to xdm, gdm or wdm depending on which you are using for a display manager) to restart the X server along with the display manager with the new settings.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with screen resolution thorney Slackware 2 11-25-2005 02:35 PM
Screen resolution problem puishor Linux - General 2 07-25-2005 10:42 AM
Problem with Screen Resolution.. k0ljat Slackware 1 12-12-2003 07:57 AM
screen resolution problem 4of11 Linux - Newbie 2 11-12-2003 02:55 AM
Screen resolution problem J_Szucs Linux - Software 2 11-14-2001 05:27 AM


All times are GMT -5. The time now is 02:13 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
Open Source Consulting | Domain Registration