LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-17-2006, 01:51 PM   #1
hkillen
Member
 
Registered: Jun 2006
Posts: 41

Rep: Reputation: 15
Shutting off X-Windows


Running Linux Enterprise 4. I need to terminate x-windows in order to install vmware tools. My machine automatically starts up X-Windows. How can I get into reboot the machine without it auto starting x-Windows?

HK
 
Old 09-17-2006, 01:55 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Change your default runlevel, by editing /etc/inittab. The relevant line is the one that says the following:

id:5:initdefault:

You will likely need to change the 5 to a 3. However, it may not be 3 that you need to use - check the comments at the top of the file, usually they tell you which runlevels are used for what. If in doubt, post said comments here.
 
Old 09-17-2006, 01:59 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If you just need to temporarily shutdown the xserver without rebooting, just switch to root in a terminal and do "init 3". To restart X, you would then do "init 5".
 
  


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
asus p4p800 e deluxe LAN stop running on WINDOWS after shutting down from SUSE 9.3 KURY Linux - Hardware 2 11-18-2005 05:04 AM
Shutting Down the X Windows Daejavu Linux - General 9 07-28-2005 09:59 AM
Linux shutting down a windows machine. Pozican Linux - Networking 3 04-28-2005 05:57 PM
Shutting Down emperorjordan Mandriva 1 02-23-2004 01:10 PM
shutting down linux from windows dave308 Linux - Networking 9 12-13-2001 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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