Linux - GeneralThis 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
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 am running Mandrake Linux 8.1 fresh install. How do I get into linux console ( LIKE DOS IN WINDOWS) instead the GUI. I've heard it is alot faster in running servers for games like Counter-strike since it doesnt load the graphical interface.
Also another question. When my server is up for like 30 minutes, my computer goes into sleep mode. I have all the settings in Energy configuration disabled, so I dont see any reason why it still does that. Anyway because of it, my server crashes.
Log in as the root . At the command line, use a text editor to open the file inittab under the /etc directory. Be careful! You should first make a copy of this file with the cp command.
Scroll through the file until you see the Default runlevel entry. This entry will contain the command id:5:initdefault: which starts Linux in the multiuser mode with a GUI. Cursor to the number 5 and change the 5 to 3. so it looks like ...
id:3:initdefault:
Save the file. The next time you boot Linux, you'll boot to console.
nooo heh
thats not what i'm talking about.
I dont run any Xwindows
Simple question!
How do I get into console (JUST LIKE DOS IN WINDOWS) mode from GUI? When I start Mandrake it automatically boots into GUI? Also what command do I use to go from console to GUI?
There are two ways u can run dos as in win9x systems.
1. Pure DOS mode (you boot to dos not windows)
2. Dos in a Window (You run it anytime after windows started)
If you are referring to 1, the equivalent in Linux is to edit the initab file.
If you are referring to 2, you just use the program xterm
Originally posted by Jnox nooo heh
thats not what i'm talking about.
I dont run any Xwindows
Simple question!
How do I get into console (JUST LIKE DOS IN WINDOWS) mode from GUI? When I start Mandrake it automatically boots into GUI? Also what command do I use to go from console to GUI?
The X Window System, commonly known as X Windows forms the basis of most GUI systems (berlin is the only other one I've heard off, but I seriously doubt you are running it). Gnome, KDE, and all the others just run on top of X.
To get a console you can either run xterm (or another termianl application) or hit alt+ctrl+F1 (Or F2-6, F7 is X). However X will still be running so you won't get any performance increase. Follow the above instructions to disable booting to X.
To get to a console from the login screen select shutdown and a pop up menu appears asking if you want to drop to console. Select yes, and X shutsdown.
To get back into KDE, type startx at the command prompt. I am not sure what commands you type to get to other desktops or just to activate X, so if someone knows please post there.
Log in as the root . At the command line, use a text editor to open the file inittab under the /etc directory. Be careful! You should first make a copy of this file with the cp command.
LOL one more question. How do I edit that text file. I know you have to do it from console. What do I type!
LOL one more question. How do I edit that text file. I know you have to do it from console. What do I type!
Jnox
You don't have to do that at the console, but its a good idea to learn a console text editor anyway. Emacs and vi at the most popular, although both take some getting used to.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.