Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.