PDA

View Full Version : Screen resolution, Knoppix 4.0.2



wobbler
11-27-2005, 09:01 PM
Is there a way of increasing the screen resolution above 1024 x 768 with Knoppix 4.0.2 Live DVD?

1280 x 1024 is what I'd prefer.

TIA

angor
11-28-2005, 09:03 AM
Open a console and type

<code>
gtf 1280 1024 70
</code>

(replace the "70" with your desired frame rate)

That should give you a line like
Modeline "1280x1024_70.00" 108.88 1280 1360 ...1024 ...

Your values will, of course, vary. Copy that line into the Section "Monitor" of your
/etc/X11/{XF86Config-4|xorg.conf} (I don't know which one is used in Knoppix-4).
Then change the lines in that file in section "Screen" that read
Modes "1024x768" " ...
to include the "1280x1024_70.00" at the beginning. (Look for an entry that says
DefaultColorDepth <number> in the screen section and edit at least the corresponding
Modes in SubSection Display for that depth.

The next start of X should result in your desired resolution. If not, read carefully through
/var/log/{XFee*|xorg*}.log for error messages.

wobbler
11-28-2005, 12:33 PM
Was hoping there would be a more noob friendly way. (':D')

I've no idea where /etc/X11/{XF86Config-4|xorg.conf} is.

cheers

atrick-pay
11-29-2005, 01:03 AM
The file is /etc/X11/XF86Config-4
look at it (most of the video stuff is at the end) and then reread the above post.

Also there is a program called: kxconfig
I've never had good luck with it on my laptop but you mite give it a try.

wobbler
11-29-2005, 03:07 AM
I tried to edit the /etc/X11/XF86Config-4 file earlier, under monitor section>modes with "1280x1024_70.00". When I tried to save the changes I got an error, something to do with not enough space to save changes. :?

Typing kxconfig (root) gave me the option of changing the resolution to 1280x1024, after starting new session....bingo! :D Quick and simple, worked a treat, cheers. Didn't get much time to look around in kxconfig, but looked much more comprehensive than the right click desktop>configure option.

Thanks

atrick-pay
11-29-2005, 04:19 AM
Just so you know for next time, The reason kxconfig needs root is the same reason you couldn't save the edited file,
you have to edit the file as root, so kxconfig has to be run by root and the editor kwrite or vi would have to be run by root.

Glad it worked for you! :)

wobbler
12-01-2005, 06:10 PM
Out of curiosity I removed my gf 6800gt graphics card earlier and replaced it with an old riva tnt2 (eeeew). :lol:

When I get to desktop and look at configure desktop, instead of just the three options for screen resolution I had with the 6800, I see a huge list with just about every resolution under the sun. Just missing my fav of 1280 x 1024 which is no big deal now I've discovered kxconfig.

Maybe linux just hates my 6800 card!

OnOffPT
12-13-2005, 03:25 PM
I've instaled KNOPPIX 4.0.1 DVD on my Desktop PC.
It used to run FEDORA at 1280x1024 on TFT.
Now I'm running at 1024x768.
I've done the 'gtf 1280 1024 70' in order to get my config line and put it in XF86Config-4.
I started in root mode to use kxconfig to change the resolution to that.
Reboot and I'm back to 640x480.
What's the problem ? Any sugestions ?

MoHaG
03-29-2006, 01:57 PM
I have a similiar problem. Isn't there a way of customizing mkxf86config to automatically add 1280x1024 modes to the XF86Config-4? I modified my knoppix to use the CD hardware detection since I'm running it from multiple computers with multiple hardware and graphics setups, so the proposed sulotion will not work for me.