Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux red hat 9 under MS Virtual pc problem??

Status
Not open for further replies.

rahmanjan

Programmer
Apr 13, 2003
180
AU
Hi Guys,

I finally installed linux red hat 9 with many problems in my PC under Microsoft Virtual PC 2004.

Finally it looked everything is working I rebooted the system and it Oked every hardware except the Eth 0 which I believe could be the Network card.

Anyways, now even before the log in screen I am getting the message:

"INIT: Id "x" respawning too fast: disabled for 5 minutes" and it is going on and on.

Finally I pressed Cntl+c and got the log in screen, I could log in but again it continues bringing the same message again and again.

I have bought a brand new PC , Pentium 4. I don't know what is going wrong. I have installed almost
all linux with all GUI GNOME, KDE etc. I am a Linux newbe.

I also I got the following info from etc/inittab:

there are many other lines but it ends with:

#run getteys in standard run level
1: 2345 : respawn : /sbin/mingetty tty1
2: 2345 : respawn : /sbin/mingetty tty2
3: 2345 : respawn : /sbin/mingetty tty3
4: 2345 : respawn : /sbin/mingetty tty4
5: 2345 : respawn : /sbin/mingetty tty5
6: 2345 : respawn : /sbin/mingetty tty6

#run xdm in run level 5
x:5: respaun :/etc/x11/prefdm - nodamon

Any respond will be appreciated.

regards

 
first all, start the virtual PC with the linux install CD with "linux recue", and edit the inittab:
from
#run xdm in run level 5
x:5: respaun :/etc/x11/prefdm - nodamon
to
#run xdm in run level 5
x:3: respaun :/etc/x11/prefdm - nodamon

Then check the X configuration, this is a video problem. I guess you rproduct generates a virtual VGA card and not the physical one. (at least VMWare works with virtual cards and it provides you with the driver for linux and windows)

Cheers.
 
The inittab controls the very first processes, run by the system.
By convention, runlevel 3 is for multiuser + networking, and runlevel 5 for X11 - I wouldn't change it the way Chacalinc suggest.
I guess it's a typo, but it has to be:
Code:
x:5: respa[b]w[/b]n :/etc/x11/prefdm - nodamon

If you want to start in runlevel 5 (graphical login) you change this line (which might be missing - your errormessage seems to indicate the problem here:)
It's the first entry not empty and not a comment (starting with '#').
Code:
id:3:initdefault:
#
#For graphic login change it to 5:
#id:5:initdefault:





seeking a job as java-programmer in Berlin:
 
god, you are right stefanwagner!!!!! that was I tryed to say... thanks a lot stefan..
 
Thanks Guys,

I want to start in run level 5 eg GUI log in. Now I udnerstand. Sorry guys I am totally novice with Linux world.

what is the exact change I need to do in inittab?
""id:3:initdefault:
#
#For graphic login change it to 5:
#id:5:initdefault:"" means setting initdefault to 5???

And can i edit the inittab in using vi and save it and then reboot? or I need to do changes using Linix Rescue CD as Chacalainc suggest?

regards

RA
 
Every editor will do.
I prefer mcedit on the commandline, which is easy to handle and kate for X11.

A '#'-hash in the beginning of a line makes the line a
comment, which means, it isn't interpreted, and only meant to be read by humans.
So you need:

Code:
id:5:initdefault:
which means: boot to runlevel 5, which starts the gui.
And remove the line with '3' of course, or place a # in front, which we call to 'comment it out'.

seeking a job as java-programmer in Berlin:
 
Thanks Stefan,

I just checked the inittab file it is exactly as you are recommending:

id:5:initdefault:

and still the same error.

regards

rahman
 
I recommend you to start in init 3 ( id:3:initdefault: of yor /etc/inittab file)... because you have a X config problem. In console mode you can issue "startx" and see what the errors are.

with "setup" you could setup the X config.

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top