LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-10-2002, 08:21 AM   #1
kobe
Member
 
Registered: Jun 2002
Location: Australia
Distribution: RH 7.3 & Debian (Woody)
Posts: 30

Rep: Reputation: 15
stopping x


ok i have had a bit of a search on this but i feel stumped!!

how do u shutdown ur x windows so u are dumped into the console???

other than using [control]+[del]+[backspace]!!!


cheers
 
Old 08-10-2002, 08:54 AM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Usually by using the quit function of whatever Window Manager you are running.
 
Old 08-10-2002, 01:21 PM   #3
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Rep: Reputation: 30
Try ctrl+alt+F1, works under mandrake 8.2 anyway.
To get back into X replace F1 with F7.
 
Old 08-10-2002, 03:34 PM   #4
robeb
Member
 
Registered: May 2002
Posts: 113

Rep: Reputation: 15
This would be good way to restart X. Jump to the terminal, restart X, and then jump back to X? Would that work?

- robeb
 
Old 08-10-2002, 07:55 PM   #5
kobe
Member
 
Registered: Jun 2002
Location: Australia
Distribution: RH 7.3 & Debian (Woody)
Posts: 30

Original Poster
Rep: Reputation: 15
ok...what i want is to get the machine up and running as a gateway then shutdown X, so i am left with only the console, no X, which chews up alot of memory.....

i am sure there is a cmd, like "startx" that stops the X.


robeb, yes that works but i dont want that login screen there!!!


any got any ideas???
 
Old 08-10-2002, 08:13 PM   #6
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Rep: Reputation: 30
You need to boot to a different runlevel.
It's possible & very easy, I just cant remember which file you need to edit.
 
Old 08-10-2002, 11:31 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Hi amp2000, the file is /etc/inittab
but there's different problem, as I understand kobe wants to boot into GUI do whatever needs to be done, and then just exit X (I guess it is all done remotely), I'd look at the process that starts X via ps and kill it
 
Old 08-11-2002, 01:57 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You can issue init3 I believe too. If that doesn't work try init 3
 
Old 08-11-2002, 02:43 AM   #9
kobe
Member
 
Registered: Jun 2002
Location: Australia
Distribution: RH 7.3 & Debian (Woody)
Posts: 30

Original Poster
Rep: Reputation: 15
will try...thanks guys!!!
 
Old 08-11-2002, 02:49 PM   #10
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Just remove X from inittab. Now if you reboot you will get the commandline. If you start X from here you can make your adjusments you want. Now by logging off, X should stop and you should get the commandline.
 
  


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
Stopping Kat cabinetcrafter Mandriva 6 11-09-2005 09:44 AM
stopping httpd bato Slackware 2 02-18-2005 05:47 PM
Stopping Grub? BajaNick Linux - Software 4 08-02-2003 08:29 PM
stopping services? piglingz Linux - Software 3 06-24-2003 05:26 PM
stopping X theslyfox Linux - Newbie 1 05-26-2002 04:55 PM

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

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