LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help : RUNLEVEL (https://www.linuxquestions.org/questions/linux-newbie-8/help-runlevel-691164/)

errorsunknownp 12-17-2008 04:24 AM

Help : RUNLEVEL
 
I have to log in, in shell command and then type startx
to access my computer in graphical mode.

I don't want to do that. I know my runlevel is 3.
Is it because my runlevel is 3.

Does changing runlevel 3 to 5 will solve my problem?

benoy4007 12-17-2008 04:28 AM

YES change run level 3 to 5

errorsunknownp 12-17-2008 05:05 AM

Please help me to change runlevel
 
somebody please help me to change my runlevel to 5.
It is 3. I want to change it to 5.

Please help me step by step
I'm so much confused

binary_pearl 12-17-2008 05:11 AM

This should work:

Log in as root and type in the following command:
init 5

There may be more official ways but that should technically work ;)

--Shaun

billymayday 12-17-2008 05:13 AM

If you want to change it permanently, change the line

id:3:initdefault:

in /etc/inittab

to

id:5:initdefault:

colucix 12-17-2008 05:24 AM

The question is: how did you end up in runlevel 3? Is it a choice or is there a problem with the graphic driver or are you running a server in text mode only or...?

errorsunknownp 12-17-2008 05:51 AM

Still unsuccessful
 
Inorder to change runlevel in Red Hat Enterprise 5.1 . I tried many times but unsuccessful

First I Tried
init 5
didnot chang

then I tried sudo init 5
no use

then I did
vi /etc/inittab
This time it showed me that my default runlevel is 3

id:3:initdefault:

how to change that to
id:5:initdefault:

Then i pressed i

At the bottom of the terminal it said Insert
so I replaced 3 to 5

I dont wheter this process is correct or not.
If this process is correct then after replacing 3 to 5
how to save it
I'm confused.
After replacing I closed the window.

Again opened the terminal and used
vi /etc/inittab
again it showed that my runlevel is 3

How to change that.

eco 12-17-2008 05:57 AM

Why do you want to replace your run level?

For vi use:

i to edit your changes
the [ESC] to stop editing
then :wq to save and quit.

-eco

colucix 12-17-2008 06:21 AM

And please, stop to open multiple threads on the same subject! Reported.

sycamorex 12-17-2008 06:26 AM

Quote:

still unsuccessful
This is clearly a continuation of your post there:
http://www.linuxquestions.org/questi...4/#post3377354

It would probably be better to keep it in one thread and see the bigger picture of the problem.

Eco advised you on how you can store changes in /etc/inittab. If it still doesn't work, as I suggested in the above mentioned
post, you should check whether you've installed the X window system ('# yum grouplist').

pixellany 12-17-2008 06:36 AM

Three threads have been merged.......

errors....;
Please read thru all of the replies so far, and post additional questions in this thread.

billymayday 12-17-2008 01:59 PM

I'd also want to know if you have a gui installed, since you are defaulting to RL3.

Did you install gnome when you build the system?

errorsunknownp 12-17-2008 08:25 PM

What is this recording?
 
I did:
vi /etc/inittab

then I found the line id:3:initdefault:

I pressed i button to edit, at the bottom it said Insert
so I erased 3 and entered 5.

Then I pressed Esc button.
After that I did qw

Now at the bottom it is saying that Recording
What is this? I'm totally confused.
Is this the correct process to change my runlevel from 3 to 5?
If it is correct then how much time I have to wait.

billymayday 12-17-2008 08:30 PM

that was

:wq

not

:qw

ozminh 12-18-2008 04:53 AM

remember the ":"


All times are GMT -5. The time now is 10:22 AM.