Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
switching from GUI to command Line
Name: mariusz Date: October 13, 2003 at 13:16:32 Pacific OS: redhat linux CPU/Ram: p4
Comment:
Hi I have just installed RedHat Linux with GUI. However I want to play around in command line (or at least try) How do I switch from one to other??? Thank you
Name: J Date: October 13, 2003 at 15:37:52 Pacific
Reply:
edit the inittab file /etc/inittab. In this file look for the default runlevel section. The line you want to edit is as follow: id:5:initdefault: Set the default runlevel to 3 rather than 5. id:3:initdefault: Save, exit and restart your machine to see the changes. When you log back in, you can type 'startx' to go back to the GUI if required.
0
Response Number 2
Name: JasonR Date: October 13, 2003 at 18:24:17 Pacific
Reply:
Hit the buttons Control- Alt - F2
or Control- Alt - F3
or
Control- Alt - F4
...
Control- Alt - F7 -- back to Graphical
0
Response Number 3
Name: C_Legend Date: October 14, 2003 at 01:26:47 Pacific
Reply:
Why not load a terminal in the gui? You should get a window containing a command prompt. But, the 2 above suggestions will also work.
Note:
JasonR is correct IF these lines are in your /etc/inittab file (and were properly loaded; "init q" to reload):
# Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6
(Personally, I remove a number of these to save memory, and this results in JasonR's CTRL-ALT-F7 becoming CTRL-ALT-F4 or whatever, based upon fewer ttys)
Summary: How do you switch the default startup option from KDE to a text shell with multiple logins? We are running a web server and want it to start up in text mode (not KDE/GNOME). ...