LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How switch from x-window to the command line (https://www.linuxquestions.org/questions/linux-newbie-8/how-switch-from-x-window-to-the-command-line-331783/)

backpacker 06-09-2005 04:47 AM

How switch from x-window to the command line
 
Sorry.I have not used Linux for long time.My installation this time make directly me to X-window interface,How should I do to switch to the command line interface.Who is kind of telling me that.Thanks.

trevelluk 06-09-2005 04:56 AM

If all you want to do is get a command line for a short time, press ctrl-alt-f(1-6). To get back to the GUI, press ctrl-alt-f7. If you actually want to shutdown the X server completely, then run init 3 as root. Run init 5 to restart it. To boot the system without starting X at all, you need to change the default runlevel from 5 to 3. To do this, edit the file /etc/inittab. Look for a line something like this - id:5:initdefault: and change the 5 to 3.


All times are GMT -5. The time now is 05:40 PM.