LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How Can I change the resolution? (https://www.linuxquestions.org/questions/debian-26/how-can-i-change-the-resolution-391733/)

brazilian_user 12-11-2005 08:59 PM

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 it´s 800x600.
How can I change to 1024x768 for example.

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

Thanks

reddazz 12-11-2005 09:19 PM

Try running "dpkg-reconfigure xserver-xfree86".

brazilian_user 12-11-2005 11:03 PM

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!!

macondo 12-12-2005 06:04 AM

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!

brazilian_user 12-12-2005 07:00 AM

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

Abraços

brazilian_user 12-12-2005 07:52 AM

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

bobbens 12-12-2005 08:57 AM

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'-'".

brazilian_user 12-12-2005 06:21 PM

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!!

mjolnir 12-14-2005 08:08 AM

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.

bobbens 12-14-2005 01:39 PM

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...

mjolnir 12-14-2005 02:50 PM

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!


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