LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-11-2005, 08:59 PM   #1
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Rep: Reputation: 15
How Can I change the resolution?


Hi friends

I have just installed the Debian Sarge 3.1 (kernel 2.4) in my machine, but the resolution I think its 800x600.
How can I change to 1024x768 for example.

If Im right I have to edit the Xfree file, but What
I have to put or change in it?

Thanks
 
Old 12-11-2005, 09:19 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Try running "dpkg-reconfigure xserver-xfree86".
 
Old 12-11-2005, 11:03 PM   #3
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz
Try running "dpkg-reconfigure xserver-xfree86".
Hi reddazz I've run the command you've asked to try but unfortunately it didn't work. I answered all the questions of the command, then I restart the X but it started like before.

Did I do something wrong?
Do you have another suggestion?

Thank you very much!!
 
Old 12-12-2005, 06:04 AM   #4
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 51
Did you use the 'advanced' section in the monitor?

Read sections 9 and 10 of the article

The Very Verbose Debian Installation Walkthrough
http://osnews.com/story.php?news_id=2016

and follow the instructions to the letter.

boa sorte, rapaz!
 
Old 12-12-2005, 07:00 AM   #5
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by macondo
Did you use the 'advanced' section in the monitor?

Read sections 9 and 10 of the article

The Very Verbose Debian Installation Walkthrough
http://osnews.com/story.php?news_id=2016

and follow the instructions to the letter.

boa sorte, rapaz!
I'm not sure if I've used the advanced section, of course I don't think so, but I'll try again.

Valeu pelo "boa sorte" hehe

Abraos
 
Old 12-12-2005, 07:52 AM   #6
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Original Poster
Rep: Reputation: 15
HI ALL, unfortunately I didn't solve my problem yet. I'm sure that I am answering the questions correctly, but the resolution is like 800x600. Do I have to run another command after running the dpkg-reconfigure xserver-xfree86?? Take a look in my XF86config-4:

Device "Placa de Vídeo Genérica"
Monitor "*0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Thanks
 
Old 12-12-2005, 08:57 AM   #7
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
It says it right there, since you are using:
Code:
        DefaultDepth    24
you go down to
Code:
        SubSection "Display"
                Depth           24
                Modes           "800x600" "640x480"
        EndSubSection
and change modes to:
Code:
                Modes           "1024x768" "800x600" "640x480"
or whatever you want. The first one is the default and you can also switch between them with "ctrl + num'+'" and "ctrl + num'-'".
 
Old 12-12-2005, 06:21 PM   #8
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bobbens
It says it right there, since you are using:
Code:
        DefaultDepth    24
you go down to
Code:
        SubSection "Display"
                Depth           24
                Modes           "800x600" "640x480"
        EndSubSection
and change modes to:
Code:
                Modes           "1024x768" "800x600" "640x480"
or whatever you want. The first one is the default and you can also switch between them with "ctrl + num'+'" and "ctrl + num'-'".
Hi bobbens. I'm happy. Your post solved my problem, thank you very much. It's very good to work with the right resolution.

I am been thankful with our community.

E salve o Linux!!
 
Old 12-14-2005, 08:08 AM   #9
mjolnir
Member
 
Registered: Apr 2003
Posts: 670

Rep: Reputation: 68
Glad you got your problem fixed. The lazy way to fix this is to run Knoppix and copy the XF86Config-4 file it generates to a floppy then overwrite the Debian file.
 
Old 12-14-2005, 01:39 PM   #10
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Quote:
Originally Posted by mjolnir
Glad you got your problem fixed. The lazy way to fix this is to run Knoppix and copy the XF86Config-4 file it generates to a floppy then overwrite the Debian file.
i think booting up a knoppix cd takes longer then editing the XF86Config-4 by hand and rebooting X...
 
Old 12-14-2005, 02:50 PM   #11
mjolnir
Member
 
Registered: Apr 2003
Posts: 670

Rep: Reputation: 68
That would be a valid point had I said "quicker". I was simply pointing out an easy solution that also gives you a working backup config. In my case copying the file fixes the resolution and enables both a usb mouse and my laptop touchpad. Easy!
 
  


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
How to change VT resolution Davidian1024 Linux - General 0 02-22-2005 03:38 PM
Text Resolution, Graphic resolution. Change from prompt dlublink Suse/Novell 2 01-28-2005 11:50 AM
change resolution tlarolle Linux - Laptop and Netbook 3 07-03-2004 07:09 PM
Resolution does not change Kuki Linux - Newbie 2 03-04-2004 11:32 AM
how to change resolution redss Linux - General 7 12-27-2003 09:11 AM


All times are GMT -5. The time now is 01:10 PM.

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