LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-08-2003, 07:06 AM   #1
dannyk
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Rep: Reputation: 0
Unhappy X / Monitor problem at system startup




Hello everybody.

I've had this problem a couple of times and on a number of different machines. Sometimes I got rid of it by tweaking here and there, but up to now I don't know its true origin.

When I boot RedHat Linux 8, everything is fine until X attempts to change the screen resolution to enter the graphical mode. I can hear the ticking sound when the monitor changes the resolution, but then nothing happens for 2 or 3 seconds, the screen remains blank. This happens another 4 or 5 times, and I'm dropped back to text mode. Then, the whole thing starts all over again. I could let it run like this for hours if I wanted, no timeout occurs.

Unfortunately, I cannot interrupt the process from outside: All keys are ignored except for text mode, where I can type, say, 3 characters before the next resolution switch occurs and further key hits are ignored.

The whole system was working properly till yesterday. I've added some harddisks, and even got the system running without problems. The last change I can remember was adding a swap partition.

Nasty side-effect: I have to unplug my harddisks and change the BIOS settings etc. in order to get the system booted from a CD-ROM, since all IDE ports are now in use by HDDs.

I've already checked the X log files (no errors) and created a new X86 config. Problem persists.

Any suggestions?


Thank you very much!!


Danny
 
Old 03-08-2003, 05:28 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
When booting, LILO or Grub, get to the command line mode, on it type:

Linux single

That'll boot you to single user mode, use an editor, like pico, to change the line in:

/etc/inittab

That looks like this:

id:5:initdefault:

To look like this:

id:3:initdefault:

That'll start you in good old console mode and keep X from constantly trying to restart.

Kick the machine up to multiuser mode with:

init 3

Then reconfigure X, start with letting it try to do it itself, without the annoyance of RH's annaconda:

X -configure

That'll create a version of XF86Config that it'll tell you how to test (in order to end the test, if it works... ctrl+alt+backspace), if the test doesn't work it'll just croak out anyway. If its useable,

cp /root/XF86Config.new /etc/X11/XF86Config-4

I think RH is still using -4... hope so at least, cut it off the filename if there isn't one already there.

To get X going:

startx

Offhand, what video card is giving you this kind of grief?

Cheers,

Finegan
 
Old 03-08-2003, 06:29 PM   #3
dannyk
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Original Poster
Rep: Reputation: 0
The video card is a Diamond Viper 550, Riva TNT chipset.
 
Old 03-08-2003, 06:51 PM   #4
dannyk
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Talking it WORKS !!

finegan - you are my hero of the day.

Thanks a lot.

The machine is now running again.

In the meantime I had managed to log on to the machine from a notebook (via SSH), so the changes were all hacked in pretty quickly.

Apparently, in RedHat 8, the default filename for the X config file for X, has no "-4" at the end. It's just "/etc/X11/XF86Config".

Wow. I can't believe it. This problem kept me busy for so long. Thanks again.

danny
 
  


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
Monitor settings incorrect on startup Mosaic Slackware 2 11-30-2005 05:39 AM
Monitor goes dead upon Linux Startup Kryzsky Linux - Hardware 3 07-07-2005 02:47 AM
Fedora 3, system hangs in startup. S-ATA problem? e99swa Fedora 1 04-02-2005 07:20 PM
monitor click on x startup JROCK1980 Linux - Hardware 2 02-16-2004 06:26 AM
Problem with iptables on system startup kurtroach Linux - Security 2 06-08-2003 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:12 PM.

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
Open Source Consulting | Domain Registration