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 have Red Hat 9 with KDE running right now. Is there a way I can close the GUI and just use a real command prompt? Kind of like in DOS where you can exit Windows and then type 'win' to load it up again. also, does anyone know how i can switch from a graphical login screen to a text prompt there as well?
To always log into text, edit the /etc/inittab file and read the comments at the start. In short, change the default from X11 to Multi-user. If you have any questions on that, come back to this thread.
Neither of those worked. I'm sure it's my fault the login thing didn't work. i'm sure i did something wrong. do i just save it for do i have to compile it or something, and if so, how do i do that? I don't know why Closing X and KDE wouldn't work. Is there a command i can use from the terminal maybe? Thanks
But if you edit your inittab file in /etc to boot to runlevel 3, it will boot to a console everytime, to startx you would just type startx and when you exit, it will bring you back to a console once again.
thanks alot that worked great. the only problem is that when i ctrl-alt-F? to get to a console i can't get back to X or KDE. i typed 'startx' and it told me that display 0 was already running it, but i couldn't figure out how to get back to display 0. sorry i know i nothing about this system. thanks for all the help though.
And if you want use two users at the same time and both with X server running.. You would for example startx to start the first user.. Then change to a consolse Ctrl-Alt-F3 and login with the other user.. And to start the Xserver again for that user you would do something like
startx -- :3
.. And this would start the Xserver for this user.. And to change from user to user you do Ctrl-Alt-F7 to F12
Go to your GUI terminal window and type in "init 3" That will put you into a straight command line. To go back to GUI type in "init 5" those are just temperary
**Credits for that go to my handy Linux for Dummies on pg 298***
Nevermind, I'm an idiot and I fixed it. One more thing though: when I do that it loads Gnome and I use KDE is there a way to specify which GUI to load? Thanks again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.