LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-21-2005, 08:21 PM   #1
bmaxwell
LQ Newbie
 
Registered: Feb 2005
Location: Worthington, Ohio
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
init 3 from term in KDE on FC3


Should the command init 3 shut down x server and leave me at a command prompt?

I have no luck with that command.

I know how to reboot and log out and poweroff. I can even edit my start up files so that x doesnt start but I cant kill it. Well I can kill it but that drops me to some place I am unable to work with.

Help Please!


thanks
 
Old 02-21-2005, 10:14 PM   #2
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Try "telinit 3".
 
Old 02-22-2005, 07:51 AM   #3
bmaxwell
LQ Newbie
 
Registered: Feb 2005
Location: Worthington, Ohio
Distribution: Fedora Core 3
Posts: 13

Original Poster
Rep: Reputation: 0
nope no luck I did a man telinit and read up on it and according to the man it should work. however i get a no such command response.

the /usr/bin directory is in my path. I have even tried ./init 3 from the directory that contains init

no luck
 
Old 02-22-2005, 08:50 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try ctrl-alt-fx (where x is a number between 1 and 6). The login as root and do "init 3".
 
Old 02-22-2005, 11:03 AM   #5
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Were you logged in as root when you initated telinit 3?
 
Old 02-22-2005, 11:05 AM   #6
bmaxwell
LQ Newbie
 
Registered: Feb 2005
Location: Worthington, Ohio
Distribution: Fedora Core 3
Posts: 13

Original Poster
Rep: Reputation: 0
well I was logged in as my user account but did and SU login at the command prompt before issuing the command.
 
Old 02-22-2005, 11:45 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Did you try the command I posted coz it definitely works.
 
Old 02-22-2005, 02:20 PM   #8
bmaxwell
LQ Newbie
 
Registered: Feb 2005
Location: Worthington, Ohio
Distribution: Fedora Core 3
Posts: 13

Original Poster
Rep: Reputation: 0
well I figured it out.

It turns out that my init command is in /usr/sbin and that folder is not in my path and should be.

Well I think it should be.

So I got init 3 to work but it doesnt drop me at a command prompt it runs through a list of services it kills but then sort ends in limbo and just sits there.

I think this has something to do with the services in each run level. I was playing around with that stuff to get rid of crap I dont need on a workstation like sendmail and other server oriented services.

Anyway thanks for the help.
 
Old 02-23-2005, 02:54 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Sometimes just pressing "enter" will get you to the prompt or try login into another virtual terminal.
 
Old 02-23-2005, 07:41 AM   #10
bmaxwell
LQ Newbie
 
Registered: Feb 2005
Location: Worthington, Ohio
Distribution: Fedora Core 3
Posts: 13

Original Poster
Rep: Reputation: 0
I tried enter but that didnt do anything. I ended up powering off my computer
 
Old 02-23-2005, 09:36 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You could have logged into another virtual terminal by doing alt-f2 (or any number till 6), you would be dropped to a console and either run "init 3" again or if your system was already in runlevel 3, you could have continued with what you wanted to do without a reboot.
 
Old 02-23-2005, 09:59 AM   #12
uman
Member
 
Registered: Sep 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 15
you mean ctrl-alt-f2
 
Old 02-23-2005, 10:50 AM   #13
coder22
LQ Newbie
 
Registered: Apr 2004
Location: AUSTRIA
Distribution: FC3
Posts: 14

Rep: Reputation: 0
MySolution

Hi,

my solution is the following:

Just reboot - at grub mark your boot entry
press E - and insert behind your entry a blank and 3.
That means:

Code:
kernel /vmlinuz-2.6.10-1.766-FC3 ro root=LABEL=/1 rhgb quiet 3
When done press "B". (for boot)
Your system well boot into runlevel 3.

Would be a good idea to create such an entry
for your /etc/grub.conf anyway.

coder22
 
Old 02-23-2005, 11:01 AM   #14
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by uman
you mean ctrl-alt-f2
ctrl-alt-f2 would work if you are in a GUI environment, but alt-f2 would work if you were not running a GUI. Correct me if I am wrong, but I think thats correct
 
  


Reply



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
cant init kde says debconf linuxmandrake Debian 2 10-25-2005 01:47 PM
kde could not init geminigal Linux - Newbie 5 04-13-2005 10:28 PM
INIT error in FC3 6ghztofreedom Fedora 0 12-22-2004 07:35 PM
kde init error rockstar Red Hat 0 03-29-2004 04:47 PM
INIT: Sending processes the TERM signal vicente Linux - Software 2 10-02-2001 08:35 PM

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

All times are GMT -5. The time now is 09:04 AM.

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