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.
I installed Libranet and have encountered a few package problems. One of the issues is that I must reinstall a couple of packages but they must be done at the console and the X-systems must be shut down. Since my system boots into KDE, I'd like to know how to get to a console so I can shut these down and do a package install.
In kde to get to a terminal you can right click the desktop and run command: konsole. Then to boot into CLI you need to change your inittab the line that reads:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
(since I am running slack it's 4, but if you're running almost anything else it should read 5).
To boot into CLI just change that line to 3 instead of 4, and change it back when you are finished.
Runlevel Description
0 System halt
S Single user mode; from the boot prompt, only with US keyboard
1 Single user mode
2 Local multiuser mode without remote network (e.g., NFS)
3 Full multiuser mode with network
4 Not used
5 Full multiuser mode with network and X display manager — KDM (default), GDM, or XDM
6 System reboot
but i also remember reading somewhere else that runlevel 2 is user defined. if you want to see what's being run at the different levels, you can check out your init scripts. i don't know the red-hat system V layout, but i think you'd look in /etc/rc.2/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.