LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-08-2004, 02:24 PM   #1
mjames_84
LQ Newbie
 
Registered: Mar 2004
Distribution: SuSE
Posts: 2

Rep: Reputation: 0
Monitor resolution too high for my monitor


I Installed a copy of SuSE on a PC using a friends PC, which has a 17" TFT Monitor with a resolution of 1280*1024 however now that ive got the computer home, i cant get the GUI to start because the resoltion is set too high for my 15" CRT Monitor to display.

I know I perhaps should have thought of this before I brought it home but its too late now, is there a way of altering the resolution kde starts in using the command prompt? or a way of starting in safe mode.

Whist i consider myself an advanced user, im relativley new to the world of Linux (a bit of a contridiction there perhaps but never mind) anyway any help would be greatly recieved
 
Old 03-08-2004, 04:15 PM   #2
Creak
Member
 
Registered: Feb 2004
Distribution: debian
Posts: 187

Rep: Reputation: 30
We agree that all you need is to change the XF86Config-4 file (which is the Xserver config file) and that the problem is that u cant access to a term before X starts.

So, i don't know if it works, but u can try
I suppose the Suse installation is almost like the debian one (i never tried Suse)
With your installation CD, try to boot on it. when u have loaded a kernel, try to press CTRL+ALT+F2. you should arrive at a term prompt.
try to mount your "/" partition, there edit the /etc/X11/XF86Config-4 file with vi or nano or any editor you have. and there change the appropriate value (if you r using 24bit depth resolution, change the line refering to this one by deleting the "1280x1024" string.

normally it should works...
hope it helps
Creak
 
Old 03-08-2004, 04:35 PM   #3
mjames_84
LQ Newbie
 
Registered: Mar 2004
Distribution: SuSE
Posts: 2

Original Poster
Rep: Reputation: 0
That isn't an option at the moment, my install disk is a DVD+R i used my friends DVD Drive to install it but the system now only has a CDRW drive....
 
Old 03-08-2004, 04:50 PM   #4
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
login as root and do a xf86config, with this does is setup xfree86 by asking you some questions....
 
Old 03-08-2004, 06:50 PM   #5
Creak
Member
 
Registered: Feb 2004
Distribution: debian
Posts: 187

Rep: Reputation: 30
if u have an access to the net, download an cd-iso image of any distrib (Debian?) and burn it. Or get a distrib CD from a friend, just have another boot than the default one. There, you could have a term...

Maybe there is another solution (like the F8 for windows before the boot) but i really don't know it, although i think i've heard of some kind of manipulation in a forum but i can't tell you more, sorry. I only know that the script that launch the services is "C-c proof" (i don't know how to say it, but i like the expression ) so don't try to abort it when it is launched...

Hope youll find a solution
Creak
 
Old 03-08-2004, 09:46 PM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
Your system still boots right?

I don't know exactly where your files are so try this..
Code:
 cat /var/log/* | grep /etc/X11/XF86
you'll see something like this..
Code:
(==) Using config file: "/etc/X11/XF86Config"
That's the file to edit.

now look at this..
Code:
cat  /etc/X11/XF86Config |grep Modes
                Modes    "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
                Modes    "640x480"
The Modes line needs to be edited. Here is a way to do it with sed..

Include the exact text in the file to be removed like this.. sed s/'Modes *text to be removed'/Modes/ as shown..
[code]

cat /etc/X11/XF86Config |sed s/'Modes *"1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768"'/Modes/ > newconfig



Check the results with diff the difference in the two files will be displayed

Code:
 diff newconfig /etc/X11/XF86Config
116c116
<               Modes "800x600" "640x480"
---
>               Modes    "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
Now you can backup and replace the contents of the file /etc/X11/XF86Config
Code:
cp /etc/X11/XF86Config /etc/X11/XF86Config.bak
cat newconfig > /etc/X11/XF86Config

You could also edit the file with an interactive editor if you want.

Last edited by DavidPhillips; 03-08-2004 at 09:53 PM.
 
Old 03-08-2004, 11:06 PM   #7
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
If you can get to the command prompt, enter
sax2
as root, it brings up the Suse X configurator. If you are stuck looping with X trying to start, reboot, start linux safe, and then start sax2 once you are logged into the console as root.

RO
 
Old 03-09-2004, 11:51 PM   #8
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
I would not attempt to reconfigure X just to change the screen size, but that is just my opinion.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fuzzy Vertical Lines on monitor at high resolutions Dankles Linux - General 2 04-23-2005 06:28 PM
monitor emits high pitched scream Frybyte Linux - Hardware 4 04-06-2005 10:46 AM
How can I set high monitor refresh rate in Mandrake? Dimm0 Linux - Hardware 0 11-03-2004 03:08 PM
Monitor problems -- changing resolution back w/o monitor Jiawen Linux - Hardware 5 03-17-2004 11:06 PM
High Pitch Monitor Noise Annex Linux - Newbie 7 03-12-2002 12:04 PM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
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