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.
how do you boot Fedora in Text mode? I have installed Fedora in a VMWare Virtual Machine and am trying to exit the GNome GUI to install the VMWare Tools which requires that "X" not be loaded.
sorry to ask what is probably a very basic question but I have just picked up Fedora as my introduction to Linux to hopefully break my reliance on Microsoft products at home.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
There might be an easier way but:
As root, edit /etc/inittab - change the line that says
Code:
id:5:initdefault:
to look like
Code:
id:3:initdefault:
.
If you restart the computer, it will come to a text login prompt, and you will need to type "startx" to get into gnome. You can change the /etc/inittab back when you are done.
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748
Rep:
another way is to hit ctrl-alt-F1, then 'kill ####' your desktop manager, whether it's gdm (gnome) or kdm (kde). To find out which, you can run 'ps -A | less' (the pipe command is the one above your backslash, generally).
If you use Lilo as your bootloader, you can also use 'linux single' which is similar to MS Window's "safe" mode. 'linux 3' will boot you into init 3, which runs everything but the GUI, generally.
for a one time deal you can always enter the command "init 3" in a terminal window to "drop down" to command line only, then enter "init 5" (no quotes btw) to reload the window manager.
to make sure it boots into the bash promt, just edit /etc/inittab
around after the runlevel definitions are made youll see a comomand like
1:123:respawnwhatecver program and stuff)
change it to read
1:123:respawn:bash --login
just be sure to comet out anything else with respawn in it and not to delet it cuse then ur stuck
er stupid sad face!!!! its a : ( with no space but it dame it a smilY!!!!!!! EERRRRR!
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748
Rep:
>"i think ctrl+alt+backspace works as well, it'll "kill" x server (just for that one time)"
That works with startx, but gdm, kdm, and similar are annoyingly persistant. When you hit ctrl-alt-backspace, it kills the xserver, but they automatically try and reboot it.
It's still useful, especially when troubleshooting, but not like it used to be.
That should kill your X server. Now, follow the advice of IBall and you'll be booting into command line permanently (unless of course you change it back to the init5).
Originally posted by splashdream Thanks for all the variations on how this task could be completed. WOW! The power of linux I like choices!
I ended up launching a console and entering init 3 then when completed init 5. Worked like a champ!
Now, how do I modify the bootloader so that I have a terminal mode option?
Now when you say you want to modify the bootloader so you have a terminal mode option do you mean that you want to boot into command line or just have the option to choose command line OR GUI login?
As far as I know, you choose EITHER command line OR GUI permanently, but not a both. Nothing, is of course permanent as you can edit your /etc/inittab again. But, I find booting to command line first, then going into X is much easier on my stress levels.
Lots of times booting to X will be hell to get out of (as you found out). So, rather than going through all that, I just type:
startx
after I login to my terminal and go to X that way. It's 7 extra keystrokes that will keep you from stressing. And if something goes wrong with X, it will usually dump you back to command line with errors rather than putting you in a looping hell.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.