LinuxQuestions.org
Review your favorite Linux distribution.
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 01-20-2004, 09:22 AM   #1
The Newbie
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
Exclamation New to Redhat... How to "reset" video options without GUI.


Hi all, I decided to start to learn linux after using windows for the last 8 years, and see what it's all about.

So far I have linux redhat installed and it completed successfully. I set my inital resolution at 640x480x256 to make sure everything was going to run correctly, and it did. I was in the GUI, and everything worked fine.

I went to setup my display settings, and I must have forgot to select my monitor (it said unprobed monitor if i remember correctly). Anyways, I set the display to 1152x864x millions of colors, logged off, and logged back on and my screen looked just like when you try to set a display your monitor doesn't support with everything off the side of the screen and rainbow colored.

So ANYWAYS, what I need to know how to do, is a step-by-step on how to reset my display to 640x480 without using the GUI (since I cant read it) so I can reset my monitor correctly.

I'm guessing it's a certain command where you press "C" at the bootloader and you get the GRUB prompt, but i'm not sure at all, as I said, i'm VERY new to this, and definitely need help

Sorry for the long post, but I wanted to make sure I gave every detail I could so I could get help.

Thanks in advance! Hopefully it's an easy fix.

Last edited by The Newbie; 01-20-2004 at 09:23 AM.
 
Old 01-20-2004, 09:27 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well by how your talking i assume you have your box setup to boot directly to the GUI, and not text mode .. . so if thats the case you will need a boot/rescue disk, whichever you prefer, and

--) as root type xf86config and manually set up your configuration ...
during this questioning you will be asked things such as video card type, video ram, monitor vertical and horizontal frequencies ... so gather this info before starting ... the last couple steps in this will be to specify your resolution and color depth ...
 
Old 01-20-2004, 09:33 AM   #3
The Newbie
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by DrOzz
well by how your talking i assume you have your box setup to boot directly to the GUI, and not text mode .. . so if thats the case you will need a boot/rescue disk, whichever you prefer, and

--) as root type xf86config and manually set up your configuration ...
during this questioning you will be asked things such as video card type, video ram, monitor vertical and horizontal frequencies ... so gather this info before starting ... the last couple steps in this will be to specify your resolution and color depth ...
Yes, it's setup to go straight into the GUI.

Ok, as far as the rescue disk, I never made one after the install was complete, is there a way to boot off of one of the three cd, or do you have to use a floppy? The box I am currently on does not have a floppy drive in it. Will that be a problem?

Is there any thing else I can try.

I'm sorry for all of these "easy" questions, but this is ALL new to me.
 
Old 01-20-2004, 09:38 AM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
use the redhat cd1 as it can be used as a rescue disk ...
when the cd boots up using that cd, just read your options and tell it to boot rescue ...
i forget if its a keypress, or put a command in, but it'll tell you anyways ...
never used redhat in a little while so i don't remember off hand ..
 
Old 01-20-2004, 09:54 AM   #5
The Newbie
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by DrOzz
use the redhat cd1 as it can be used as a rescue disk ...
when the cd boots up using that cd, just read your options and tell it to boot rescue ...
i forget if its a keypress, or put a command in, but it'll tell you anyways ...
never used redhat in a little while so i don't remember off hand ..
Thanks again!

Here is exactly what I did.

Booted off of the 1st cd, pressed F5, and typed "linux rescue" and pressed enter.

It asked me if I wanted to attempt to find and mount the installation directory and mount it under /mnt/sysimage, and it had 3 options on the bottom "continue" "read-only" OR "skip". I picked "Continue" and it told me my system had been mounted under /mnt/sysimage, and to run the command "chroot /mnt/sysimage" to make my system the root environment.

It then took me to a screen where I get a prompt that says "sh-2.05b" so I typed in "chroot /mnt/sysimage" and it told me my system is now mounted under /mnt/sysimage directory, and I get the same prompt again.

So I try typing xf86config, and it tells me "command not found"

Can you tell me what I did wrong?
 
Old 01-20-2004, 10:01 AM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
i just did a whereis xf86config on my box here at school, and it says :
Code:
whereis xf86config
xf86config: /usr/X11R6/bin/xf86config /usr/bin/X11/xf86config /usr/X11/bin/xf86config
so write down them complete paths, and type any of them to run it, it don't matter which one ...
 
Old 01-20-2004, 10:06 AM   #7
The Newbie
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I tried the paths you told me too, but everyone came back to "no such file or directory"

I'm going to try your suggestion below this post now. (If I can figure it out)

Thanks for all of your help!

Last edited by The Newbie; 01-20-2004 at 10:10 AM.
 
Old 01-20-2004, 10:06 AM   #8
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
actually i was just thinking ...
if this was a problem i was having, i have going to state what my preferred choice of solving it would be ...
i would do what you already did with the rescue disk and get to a prompt, and then i would edit the
/etc/inittab file with a text editor of choice, and change the line that says :
id:5:initdefault:
to read
id:3:initdefault:

the first(5) is used to boot directly to gui, and the second (3) is used to boot directly to text mode..
then after i made the change and saved the file, i would remove the rescue disk, and reboot, and you will then boot to the prompt, and type username/password ...
then switch to root and run xf86config ...
switch back to normal user, and then type startx ..

the reason why i would do this, is cause i personally prefer to boot my machine to command line rather than the gui... and when i am ready to go to gui i just simply type startx ...
so if you like this way you can also try that ...

ps. i'll have to check that link at lunch time, the schools proxy denys me access to that link ..
 
Old 01-20-2004, 03:51 PM   #9
howardholtonq
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
In redhat 9.0 (I do not know about earlier versions, nor what version you are running) the Xconfigurator has been replaced by redhat-config-xfree86

You can use this command to configure xfree86 - but good luck as it did not work for me. I would like a way to reinstall xconfigurator for all us newbies. I will post if I find one.
 
  


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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 02:03 AM
2 problems with mandriva 2005--video/reset and "menu" on kicker TravisOSF Mandriva 3 04-20-2005 10:19 AM
[Redhat] make "admin" account same privledges as "root" Bi0haZarD Linux - Networking 20 01-12-2005 11:47 AM
what is difference between "reset" and "clean " commands? zameer_india Linux - Newbie 2 01-10-2005 07:23 AM
How to modify dial options ( From "pulse" to "tone" ) nykey Linux - Newbie 3 11-24-2003 02:39 PM


All times are GMT -5. The time now is 08:49 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