LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-27-2005, 03:56 PM   #1
B00H
LQ Newbie
 
Registered: Oct 2005
Location: Sussex
Posts: 10

Rep: Reputation: 0
Unhappy Newbie Alert!!!


Hi there,

I am completely new to Linux, slowly getting into the swing of things....

I have a dumb question to ask...

Can anyone tell me how to change the screen resolution on my box before going into kdm? The monitor I was using before had a high resolution, the one I am using now cant cope with it and will not go into kdm.

Can anyone help?

Booh
xx
 
Old 10-27-2005, 04:25 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Hi B00H!

You may need to manually edit a file. The file is /etc/X11/xorg.conf. Open it up as root or you won't be able to edit it. Look at the "Section Screen". It should look like this:

Code:
Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]"
	Monitor		"CPD 4410"
	DefaultDepth	24
        ....
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection
The file is quite self-explanatory. Add your preferred resolution as the first option. (above, my first option is 1600x1200). Edit, save the file and restart the Xserver. That should do it

Tell me if any steps are unclear. I'm not sure how much you can with Linux, so this can either be too difficult or just enough

Regards!

P.S: always remember to backup stuff, just in case something goes wrong
 
Old 10-27-2005, 04:31 PM   #3
karl.wilcox
LQ Newbie
 
Registered: Oct 2005
Location: Lincolnshire, England
Distribution: SuSE/Debian (From Knoppix)
Posts: 9

Rep: Reputation: 0
Booh,

You could try a couple of things:

Run kdm anyway, then type CTRL-ALT-Keypad+ (i.e. the control key, the alt key and the '+' key on the numeric keypad) all the same time. This will cycle through all of the resolutions that X supports. (The same but using the '-' key on the numeric keypad goes in the other direction). If you get to a workable resolution for your monitor then you could run SaX, SaX2, XF86Config or whatever graphical configuration tool that you have for X.

As an alternative you try to modify your X configuration file directly (as root), this is in /etc/X11 and is called XF86Config or XF86Config-4. You need to find the section called "screen" and the option "DefaultColorDepth". This could be 16 for example, look this up in the sub-sections below and you should find a list of resolutions like "1024x768" "800x600" "640x480". X will try each of these resolutions in turn (and the keys above cycle through them). Try deleting the higher resolutions or moving them to the end of the list.

Hope this helps,

Karl
 
Old 10-27-2005, 04:47 PM   #4
B00H
LQ Newbie
 
Registered: Oct 2005
Location: Sussex
Posts: 10

Original Poster
Rep: Reputation: 0
Thumbs up

Hi there,

I tried editing the file but I dont think I did it properly and it was still doing the same thing, the Ctrl, Alt + worked a treat.

Thanks for all your help - you are stars!!!!

Booh
xx
 
  


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
Newbie Alert!!! B00H LinuxQuestions.org Member Intro 3 10-28-2005 07:21 AM
Uh Oh Newbie Alert!! Lightdreamer LinuxQuestions.org Member Intro 2 09-30-2005 09:38 PM
Newbie Alert! (Again) robertwolfe LinuxQuestions.org Member Intro 1 04-29-2005 03:41 PM
Hey everyone, Newbie Alert!!!!! Sparky1 LinuxQuestions.org Member Intro 2 04-09-2005 09:41 AM
Newbie Alert!!! Sidewinder75 Linux - Hardware 1 09-07-2004 11:21 AM


All times are GMT -5. The time now is 10:04 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 Google+: linuxquestions
Open Source Consulting | Domain Registration