LinuxQuestions.org
Review your favorite Linux distribution.
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 11-10-2003, 11:45 AM   #1
Rooster14
LQ Newbie
 
Registered: Nov 2003
Location: Michigan
Posts: 5

Rep: Reputation: 0
Exit the X?


I'm kind of a n00b to linux, so I need some help. I am running a Counter-Strike server off of linux RedHat 7.2, a 233MHz PII, with 32 Meg of Ram. I think that I would be able to conserve my ram by exiting the X (Thinking the X is the colorful desktop ) How would I exit that?


Oh yea, If i am wrong about somthing, please tell me
 
Old 11-10-2003, 11:47 AM   #2
LogicG8
Member
 
Registered: Jun 2003
Location: Long Island, NY
Distribution: Gentoo Unstable (what a misnomer)
Posts: 380

Rep: Reputation: 30
ctrl-alt-backspace

I forget if redhat is programmed to shutdown when
X is killed. If it is you'll have to change that.
 
Old 11-10-2003, 11:52 AM   #3
a slacker
Member
 
Registered: Aug 2003
Distribution: Arch
Posts: 44

Rep: Reputation: 15
You can start it up in text mode (no X) by changnig your default runlevel, then rebooting. Look in /etc/inittab for the runlevel. In slack, text mode is runlevel 3. For redhat it might be diffrent, i dont know. But thats what you want to do
 
Old 11-10-2003, 11:54 AM   #4
Rooster14
LQ Newbie
 
Registered: Nov 2003
Location: Michigan
Posts: 5

Original Poster
Rep: Reputation: 0
How much Memory would it save?
 
Old 11-10-2003, 01:29 PM   #5
joel112
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 169

Rep: Reputation: 30
a bit, but i would reccomend buying a extra bit of ram if your using it a lot, its next to notihng for pc133 ram nowadays
 
Old 11-10-2003, 01:40 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by Rooster14
How much Memory would it save?
Open a shell
Type
top<enter>
In top, type <Shft>+M
Then you can see how ram it saves :)


To get rid of it permanently, edit
/etc/inittab
and make the default runlevel 3
instead of 5.
# Default runlevel. (Do not set to 0 or 6)
id:5:initdefault:
CHange that to
id:3:initdefault:

Cheers,
Tink
 
Old 11-10-2003, 01:41 PM   #7
Flatredline
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9.1, Debian Sarge
Posts: 20

Rep: Reputation: 0
Or running blackbox, fluxbox, icewm, or some other wm that has a small footprint.
 
Old 11-10-2003, 01:48 PM   #8
nibbler
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: Fedora 4
Posts: 46

Rep: Reputation: 15
Quote:
Originally posted by Tinkster
# Default runlevel. (Do not set to 0 or 6)
Cheers,
Tink [/B]
What happens if you set runlevel 0 or 6 ?
 
Old 11-10-2003, 01:59 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
The machine keeps halting/rebooting after
a few initial drivers are loaded :) ....



Cheers,
Tink
 
Old 11-10-2003, 02:11 PM   #10
LogicG8
Member
 
Registered: Jun 2003
Location: Long Island, NY
Distribution: Gentoo Unstable (what a misnomer)
Posts: 380

Rep: Reputation: 30
Nibbler:
When you set the runlevel to 0 or 6
You will have to get a rescue-disk and
fix your computer.

Runlevel 0
your computer will just shut itself down

Runlevel 6
your computer will just reboot over and over
 
Old 11-11-2003, 08:03 PM   #11
Rooster14
LQ Newbie
 
Registered: Nov 2003
Location: Michigan
Posts: 5

Original Poster
Rep: Reputation: 0
if i press ctrl alt backspace, Kde just restarts... it logs off and asks me for my password and login again.
 
Old 11-12-2003, 02:55 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
su -c "init 3"

Cheers,
Tink
 
  


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
How to exit vi? lommer0 Linux - General 15 02-19-2012 06:17 AM
difference between exit 1 and exit kushalkoolwal Programming 6 10-20-2005 03:56 PM
exit X ? w00t Linux - Newbie 11 06-01-2003 08:04 PM
exit xlord Programming 7 11-03-2002 11:33 AM


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