LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Operating system automatically it runs in run level 3 even after it changes into run level 5 also (https://www.linuxquestions.org/questions/linux-newbie-8/operating-system-automatically-it-runs-in-run-level-3-even-after-it-changes-into-run-level-5-also-4175575561/)

ravinaik 03-22-2016 01:39 AM

Operating system automatically it runs in run level 3 even after it changes into run level 5 also
 
Hello every one i am new in linux operating systems.I have a problem in my system when i start my system it automatically takes run level 3 even when i changed it into run level 5. How to resolve it please any one can help me.Thanks in advance.

kaz2100 03-22-2016 02:00 AM

I am not sure if I understand your problem correct.

Your system changes runlevel itself? If you post a little bit detail, you have better chance to get correct suggestion.

good luck

hazel 03-22-2016 03:10 AM

Look in /etc/inittab. You should see a line like id:3:initdefault. As root, change 3 to 5. Then your system will always boot into level 5.

aragorn2101 03-22-2016 04:22 AM

Welcome to LQ,

You have to give a bit more detail for us to help you.

Please mention

- which machine
- what linux distribution you are using
- what graphics card do you have (as this might be related to X not being able to start properly)

You can also share a copy of your inittab in this case.

BW-userx 03-22-2016 08:42 AM

what Linux are you running? Slackware is setup different for run levels then others and visa versa check your documentation on your distro to see which run levels do what.

tronayne 03-22-2016 12:17 PM

Here's a handy cross reference for some of the major distributions (find it at http://www.tldp.org/LDP/sag/html/run-levels-intro.html).

Slackware defines run levels:
Code:

# These are the default runlevels in Slackware:
#  0 = halt
#  1 = single user mode
#  2 = unused (but configured the same as runlevel 3)
#  3 = multiuser mode (default Slackware runlevel)
#  4 = X11 with KDM/GDM/XDM (session managers)
#  5 = unused (but configured the same as runlevel 3)
#  6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

That is, run level three takes you a console with a log in prompt (you log in and execute startx); run level three is full multiuser with networking.

Run level 4 is the same as 3 but X11 is started and you have a GUI log in window (you log in and out in the GUI window).

Different strokes for different folks.

Hope this helps some.


All times are GMT -5. The time now is 12:54 AM.