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.
So I installed RHL9 on my machine and chose to have KDE and Gnome both as my GUI. Gnome is the default GUI, so how do i go to KDE, or is it not installed at all.
Also, how do I go to the shell, IE no GUI, just shell so I can save resources and run it as a game server easily.
I might have more questions as I go along so I'll post them here. Any help is appreciated getting a person to have a successful transition from Windows to Linux. It's hard but I've attempted too many times to quit, so I'll be using it.
For shell, changing runlevel to 4 in /etc/itittab will make shell the default, correct? If I do that, and boot to shell, how would I go back to GUI without changing files? What I mean is, what would be the command to do that, startx or something?
you can find kde at login...at the bottom of the login screen, it should say something like "session"...click that and you can chose kde, gnome and some others...
as for starting X, at login prompt, type gdm or kde or startx and that should get you into a gui...
no - X should still be running. try it, and run "ps aux" to check. but you can kill it via the "kill" command or maybe ctrl-alt-bkspce (I think thats the key combination )
sorry for double posting. I changed the inittab file and now i'm able to run it in shell but when i type gdm, it says "Only root wants to run gdm". Of course I'm not logged in as root but want to be able to run it as user as well. How do i do that?
gdm does run with root, I checked. Now I have another question. Once I run gdm, is there a way to unload it from memory without killing the process? I mean killing sounds a bit harsh that's all, or is killing normal?
That's a security thing, you most likely don't want normal users to be able to run something that looks like your login manager, but is actually a malicious program that captures your password and mails it out. On runlevel 4 in Redhat no GUI is loaded, therefore CTRL+ALT+F7 only takes you to a blank screen.
If you want to start KDE by running "startx" try this:
Code:
echo "startkde" > ~/.xinitrc && startx
for GNOME substitude "startkde" with "gnome-session"
I think by default the command "kill" issues a SIGTERM to the process, which basically tells to process to close any files it may have open, and generally finish whatever its doing before shutting down itself, so its not as bad as it sounds.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.