LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-28-2004, 01:03 AM   #1
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Rep: Reputation: 15
Basic initial questions about GUI


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.

Regards,
deWin
 
Old 02-28-2004, 01:08 AM   #2
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
kde hould be an option in gdm, your login manager.
as for shell, change runlevel to 4 in your /etc/itittab
 
Old 02-28-2004, 01:11 AM   #3
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks for the quick response, I appreciate it.

Now where do I find the GDM?

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?
 
Old 02-28-2004, 01:29 AM   #4
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
gdm is the gnome desktop manager...

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...
 
Old 02-28-2004, 01:44 AM   #5
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Original Poster
Rep: Reputation: 15
awesome! Just one more. How do I go into shell without permanently changing files or defaulting it.
 
Old 02-28-2004, 11:48 AM   #6
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
CTRL+ALT+F1 to go to shell.
CTRL+ATL+F7 to go back to gui.
 
Old 03-01-2004, 05:53 PM   #7
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks so much. Just a little question about the changing from shell to gui and vice versa. Does it actually unload the GUI from the memory?
 
Old 03-01-2004, 06:01 PM   #8
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
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 )

then you can restart it via "startx" for example
 
Old 03-01-2004, 07:32 PM   #9
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Original Poster
Rep: Reputation: 15
startx took me to a wierd GUI that had nothing on it. I'll try it again though.
 
Old 03-01-2004, 10:06 PM   #10
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
probably twm, or such.
just the default from startx.

try startkde or startgnome or gdm or kdm
 
Old 03-02-2004, 12:42 AM   #11
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Original Poster
Rep: Reputation: 15
Just another question about editing the /etc/itittab. will i be able to CTRL+ALT+F7 to go to my gui if i change this file to 4?
 
Old 03-02-2004, 12:57 AM   #12
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Original Poster
Rep: Reputation: 15
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?

Last edited by deWin; 03-02-2004 at 01:02 AM.
 
Old 03-02-2004, 01:11 AM   #13
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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"
 
Old 03-02-2004, 01:23 AM   #14
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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.
 
Old 03-02-2004, 01:31 AM   #15
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Original Poster
Rep: Reputation: 15
ok kill gdm didn't work, it didn't find the PID. I checked in the "top" list and gdm was not there, but it was running I'm sure.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 12:50 PM
Some basic questions Sigh Linux - Newbie 3 04-21-2005 11:42 AM
Initial questions after first Linux use Foxy Mandriva 11 07-04-2004 04:55 AM
Some basic questions Aethelred Linux - Newbie 13 05-08-2004 07:25 PM
Please help with basic questions. Susan Linux - Newbie 2 09-30-2001 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration