[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

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
0
manav_mathur
Asked:
manav_mathur
  • 3
  • 3
1 Solution
 
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now