another simple question

Hi,

I have installed red hat 9.1 on personal PC. I have also configured access for 4 different users.
At the time of installation, I had also installed Gnome.

Now whenever every user logs in, he is taken directly to the gnome desktop.
The problem is, for some users, I want them to log into the bash shell and not go to GNOME desktop on startup. i.e, they should be able to start gnome when they require/like, not always.

I ,specifically as root, would like to have the # looking at me rather than a GUI :).

How do you do that??

Manav
LVL 16
manav_mathurAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grbladesCommented:
Hi manav_mathur,
Edit /etc/inittab and change the line :-
:id:5:initdefault:
to :-
:id:3:initdefault:

Now the system starts in text mode. After a user logs on they can type 'startx' to switch to the graphical system.
This will apply to all users.

If you want the root user to start in graphical mode you can always add the 'startx' command to the end of the login script.
0
manav_mathurAuthor Commented:
Can you explain me this??

That is, what is the format of a line in /etc/inittab

Although I havent 'cat' this file ever, I believe 5,3 are the run levels?? so Im changing the run level for LINUX right??

But how do I do it for only a particular user??

Manav
0
grbladesCommented:
Yes you are changing the run level from 5 (graphical) to 3 (text).
You cannot do this on a per user basis because the system has started before the user logs in.
All you can do is have everyone start in text mode and then edit the .bash_profile and add "startx" for particular users so that as soon as they login the graphical system is automatically started.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

manav_mathurAuthor Commented:
Okay......
got it!!
Thanx a lot!!
btw, can you suggest some good but okay sized pdfs for LINUX admin which I can onload and take a printout of??
THat would be real handy.....

Manav
0
grbladesCommented:
There are lots of documents at http://www.tldp.org/ and many are provided in PDF format.
0
manav_mathurAuthor Commented:
Thanx grblades.

Manav
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.