LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-09-2003, 02:38 PM   #1
leecason
LQ Newbie
 
Registered: Sep 2003
Location: Fairfax, Virginia USA
Distribution: various
Posts: 18

Rep: Reputation: 0
Question Way to restart Red Hat without Xserver running


I'm trying to come up with a simple procedure for installing VMware Workstation 4 Tools on a Linux guest OS (Red Hat 9 & others), which requires that Xserver not be running during the install. I'd like to avoid manually editing init files if possible, as this process will need to be repeated by people without Linux admin experience, as part of creating Linux VMs.

I tried running init 1 from an X session, which put me into a single user shell. After I installed Workstation Tools, I ran init 5 restart an X session. During init, there was a comment that Tools had been installed but were not correctly configured, even though the X session came up OK with the specified resolution. Tools were in fact not installed correctly.

I saw a post somewhere that suggested chmod 444 startx to block X from starting, but before I experiment with and then script that, I thought I'd see if anyone had a better suggestion.
 
Old 09-09-2003, 02:46 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
Most likely you will want to use init 3, which is multiuser without X. Look at it like your booting your machine like you would when booting in runlevel 5, but without X.
 
Old 09-09-2003, 03:09 PM   #3
leecason
LQ Newbie
 
Registered: Sep 2003
Location: Fairfax, Virginia USA
Distribution: various
Posts: 18

Original Poster
Rep: Reputation: 0
Trickykid,

That did the trick! When I ran init 3 the system restarted but hung with something about no mountpoint being defined. I did CTRL-C and got a login prompt which allowed me to re-run /usr/bin/vmware-config-tools.pl and now all is well.

Guess I'll have to click that affero button and find out what that's about ;-)

Thanks!

Lee
 
Old 09-09-2003, 10:55 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
Glad to be of help and yes, that affero button helps out in many ways.

Thanks again.

-drew
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I restart red hat 7.3 rbees Linux - Newbie 4 03-30-2004 05:06 AM
Red Hat won't Shutdown / restart or Log Off JoshSmith41 Linux - Distributions 1 07-28-2003 07:10 AM
Problem with XServer (Red hat 7.1) on 810 chipset amitrgholap Linux - General 5 09-29-2001 11:16 PM
Problem with XServer (Red hat 7.1) on 810 chipset amitrgholap Linux - Software 1 09-25-2001 03:35 AM
Red Hat 7.1 Xserver torp Linux - General 1 06-07-2001 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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