Log in

View Full Version : How do I get a 1024x768 resolution?



Saeed.Bak.dk
02-20-2004, 06:45 PM
Hi y'all...

I'm a newbie with a newbie-question....

With some help from a more experienced Linux user I got my Daewoo monitor to run smoothly... (the autodetect didn't get it right) however it is running in 800x600 resolution and my monitor is able to run in 1024x768 resolution...

However, I ran the xf86config script yesterday (and set the monitor and gfx card) but I didn't get an option to choose a resolution...

I'm running Knoppix 3.3...

What do I do?

Saeed

DarkStar
02-20-2004, 06:49 PM
During startup, type the following:


boot: knoppix screen=1024x768

This will tell it to boot at that resolution.

Hope this helps!

--Chris ^_^

Stephen
02-20-2004, 09:27 PM
Hi y'all...

I'm a newbie with a newbie-question....

With some help from a more experienced Linux user I got my Daewoo monitor to run smoothly... (the autodetect didn't get it right) however it is running in 800x600 resolution and my monitor is able to run in 1024x768 resolution...

However, I ran the xf86config script yesterday (and set the monitor and gfx card) but I didn't get an option to choose a resolution...

I'm running Knoppix 3.3...

What do I do?

Saeed

dpkg-reconfigure xserver-xfree86 gives you the opportunity but you may as well edit the file /etc/X11XF86Config-4 and put in your resolution there in the Depth subsection an example of the section in the file.


Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
# SubSection "Display"
# Depth 1
# EndSubSection
# SubSection "Display"
# Depth 4
# EndSubSection
# SubSection "Display"
# Depth 8
# EndSubSection
# SubSection "Display"
# Depth 15
# EndSubSection
# SubSection "Display"
# Depth 16
# EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection


You need similar in your file in the subsection for the DefaultDepth you are using. Then you need to restart the X server and see if it likes the new resolution with as root from the command line /etc/init.d/kdm restart or choose restart X server from the menu option at the KDE login screen. You should also have the proper refresh rates set for your monitor in the monitor section similar to this.


# Acer AcerView 54e
Section "Monitor"
#DisplaySize 270 200 # mm
Identifier "Monitor0"
VendorName "API"
ModelName "4536"
HorizSync 30-54
VertRefresh 50-110
Option "DPMS"


A bit of searching should find the correct values HorizSync and VertRefresh if you do not have the manual that came with the monitor.