LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 02-21-2004, 11:01 AM   #1
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Rep: Reputation: 15
Talking shutting down Xserver and dropping to the shell


hi

may sound like a dumb question:

suppose i boot into runlevel 3...then i start the x-server..is it possible to shut it down and drop back to the shell ?

i want to do this because i have a very slow computer...opening a virtual terminal with ctrl-alt-F1 etc dosent help coz the graphics keep on running in the background...ctrl-alt-backspc only restarts the server..thats not wht i want ..i want to shut it down..possible?

thanx in anticipation

Mayank
 
Old 02-21-2004, 11:24 AM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
after crt +alt + f1 did you try init 3? that should take you back to runlevel 3.
 
Old 02-22-2004, 03:03 AM   #3
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 31
FIrst find out which desktop manager do you use. Switch to ttyX (CTRL+ALT+Fx). Do it via `ps -Af`, you should see one of following: startx, kdm, xdm, gdm. Then killall the one you have seen. If it is startx, kill should be enough, but the others spawns their own child process, so you should kill the whole process tree.
And if you use startx to bring up the graphics, CTRL+ALT+BACKSPASE should be enough.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 07:38 PM
xserver-xorg config warning: migrating xserver-xfree86 templates doctorwebbox Debian 9 07-27-2005 07:24 PM
shutdown xserver via remote shell (ssh) ? timbaloo Linux - Newbie 1 07-07-2004 04:33 PM
dropping connection estranged0877 Linux - Networking 2 04-01-2003 05:11 AM
Shutting down the Xserver after booting in runlevel 5 zLinuxz Linux - General 5 10-26-2002 04:58 AM


All times are GMT -5. The time now is 01:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration