Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Changing Monitors, new monitor displays text, not GUI
davejavu
post Aug 25 2003, 11:35 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 8
Joined: 25-August 03
Member No.: 1,317



I just did a clean install of Red Hat and it looks fabulous on my office monitor. When I took the computer (PII, 533) home and plugged into the home monitor, it will display the text start up, etc., but the monitor goes black when Linux tries to display the GUI. Anyone know how to get a monitor recognized? Thanks!
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 25 2003, 01:31 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



The problem is probably that the monitor at home can't display the resolution that was setup on your work monitor.

The easy fix is to look up the Horizontial and Vertical refresh rates for your Monitor on the web and then boot to text mode and edit your /etc/X11/XF86Config-4 (if you don't have XF86Config-4 then the file is XF86Config) and change the values of the following lines to their correct values (based on your specific monitor):

HorizSync 30.0 - 82.0
VertRefresh 48.0 - 150.0


(my info is for a A4331A HP Monitor ... your values will probably be different).

In order to get to the text mode login screen, you must boot to runlevel 3 ...

Here is how to boot to runlevel 3....
-------------------------------------------
1. Start the PC ... when you get to GRUB, press the e key to go to edit mode.
2. Find the Kernel line ... it will look something like this:

kernel /vmlinuz-2.4.20-18.9smp ro root=LABEL=/

3. Select this line using the Arrow Keys and with the line selected, press e to edit the line.

4. Move to the end of the line, and add a space and 3....then press enter In my line from above it would now look like this:

kernel /vmlinuz-2.4.20-18.9smp ro root=LABEL=/ 3

5. press b to boot.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
davejavu
post Aug 26 2003, 05:00 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 8
Joined: 25-August 03
Member No.: 1,317



Permission Denied

I logged at the root (su - ), but permission to edit the file is still not granted. Here is what I get:

[root@localhost root)#
-bash: /etc/X11/XF86Config: permission denied

One more question: once I get permission (IF I get permission), do I need to type "edit" or "type" before the file name, or should I just type the file name?
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 26 2003, 05:38 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Right now you are trying to excute the file ... buy typing the name of the file by itself ...

you need to use an editor to edit the file....

if you've never used one, I recommend nano

To find out if you have installed you can issue the following command in the text mode:

rpm -qa | grep nano

If you don't have nano, you can get it by typing this command at the command prompt (you must be connected to the internet to download this file):

CODE
wget http://www.nano-editor.org/dist/v1.2/RPMS/nano-1.2.2-1.i386.rpm


Then type this to install it (from the directory you ran the wget command from):

rpm -Uvh nano-1.2.2-1.i386.rpm

You can then use nano to edit the XF86Config file like this:

nano -w /etc/X11/XF86Config

Use the arrow keys to move and edit the file .... at the bottom of the screen you will see something like this:
QUOTE
^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify  ^W Where Is  ^V Next Page ^U UnCut Txt ^T To Spell

The ^ means the Ctrl key, so the write the file you would use Ctrl-o and after saving the file you would use Ctrl-x to exit....(the -w switch in the nano comand line means don't wrap the lines)


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
davejavu
post Aug 26 2003, 06:47 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 8
Joined: 25-August 03
Member No.: 1,317



could I do the same thing using "joe"? That is already installed.
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 26 2003, 07:42 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



YES -- joe will work ... jpico shows you the contol keys as well ... so

jpico /etc/X11/XF86Config

^o to save and ^x to exit


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
davejavu
post Aug 27 2003, 12:05 AM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 8
Joined: 25-August 03
Member No.: 1,317



SUCCESS!

I learned just enough vi to edit the file, and presto! The monitor is happy and I have a GUI.

THANKS HUGH.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 05:31 PM