LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2004, 06:17 PM   #1
LinuxNewbie04
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
Exclamation VGA Problem


Hi

I'm new to Linux (and this forum) and have just installed Slackware. I don't know much about it and have learnt some stuff of a friend but I'm wanting to change the resolution to 640 x 480, because it keeps trying to use 1024 x 768 when loading into the GUI and my monitor does not support this. My friend told me to use the command in text mode "vi /etc/X11/XF86config" without the quotation marks, I tried this but it keeps putting tildes down the left hand side and says [New File] at the bottom, how do you get out of this? She said something about scrolling down to the display section once I get into this but I can't seem to get into it.

I'd appreciate any suggestions.

LinuxNewbie04
 
Old 03-10-2004, 06:34 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
are you booting to the command line? if so try xf86config, and run the program. you'll need to know your monitor specs, horizontal & vertical refresh rates, and your video card. here is a link to a guide here on the forum. it should answer all your ?'s.

http://www.linuxquestions.org/questi...ticle&artid=16

good luck.

<edit> hi and welcome to lq </edit>

Last edited by Peacedog; 03-10-2004 at 06:36 PM.
 
Old 03-10-2004, 09:32 PM   #3
pingswept
Member
 
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Rep: Reputation: 15
Hi LinuxNewbie04,

"vi" is a text editor, and the name of the file you're trying to open is XF86config, in the directory X11, which is in the etc directory.

I think the problem is a typo in the filename. The file you want to be editing is called XF86Config, not XF86config (note the capital C). Because of the typo, vi is creating a new, empty file called XF86config for you.

Give "vi /etc/X11/XF86Config" a try, and I bet you'll get better results. (Note that Peacedog's suggestion that you run the program xf86config is probably a good one, as editing the XF86Config file by hand can be tough.)

By the way, you can get out a vi file by typing:

Esc
:
q!

Good luck.
Pingswept
 
Old 03-11-2004, 04:20 PM   #4
LinuxNewbie04
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hi every1

Thank you for your help, I did have a look at the article and I did type it in correctly this time! lol. I have now got into it but I've run into further problems with regard to my monitor. It's a fairly old monitor (will only support 640x480 and 800x600) and I'm trying to get it to load up the GUI using either one of these resolutions. When I first loaded XF86Config, it came up with the following lines:

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
End Subsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
End Subsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
End Subsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
End Subsection

I don't know if it looks any different on other machines with different specs so I just pasted what it looks like. When I tried to use the GUI it was all fuzzy, so I think it is trying to use a higher resolution. I tried deleting out the "1024x768" on all 4 of those statements leaving just the 800x600 and the 640x480 but its still not right. Does anybody have an idea what I should put in there that might make it work?

Once again thank you for your help.

LinuxNewbie04
 
Old 03-11-2004, 06:06 PM   #5
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
did you run the configuration tool? if so, try it again, and be sure to select the proper video card. when you get to the modes section, you'll want to configure the modes. i'm guessing that 1 & 2 will suffice for your set up. when asked you'll need to put in something like, 1,2,3 which should correspond to 640 x 480, 800 x 600, 1024 x 768. if your dead set on editing this thing by hand, then change the line

Depth 8
Modes "1024x768" "800x600" "640x480"
End Subsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
End Subsection
etc,etc,

to

Depth 8
Modes "800x600" "640x480" "1024x768"
End Subsection
Subsection "Display"
Depth 16
Modes "800x600" "640x480" "1024x768"
End Subsection
etc,etc

and set your default depth to

"8"

or

"16"
etc,etc

other than that i'd have to guess your monitor specs aren't detected properly.
good luck.
 
Old 03-13-2004, 05:52 PM   #6
LinuxNewbie04
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up problem solved!

Hi

Sorry its took me a couple of days to reply back. Thank you for your advice you may be pleased to know that the problem is solved. I have finally got X windows up and running.

Like I said thank you for your help.

Linuxnewbie04
 
  


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
Linux Installation....VGA problem mfh5 Linux - Newbie 2 06-12-2005 03:10 PM
onboard VGA adapter Vs VGA Card mrpc_cambodia Linux - Hardware 6 12-31-2004 08:29 AM
VGA problem sapheroth Linux - Hardware 1 06-18-2004 05:43 AM
Problem installing VGA Driver... kai_rana Linux - Hardware 2 09-23-2003 06:17 PM
URGENT VGA Driver Problem syedusman Linux - Software 1 05-25-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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