mightymulatto Posted October 1, 2006 Report Share Posted October 1, 2006 After a recent issue editing my inittab file for a video. I get a message during bootup. That speaks of run level. I enter 5 and the system boots business as usual. Is there a way i can edit the configuration file for this to automatically happen? [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
daniewicz Posted October 1, 2006 Report Share Posted October 1, 2006 My inittab has a line that looks like this: id:5:initdefault: where 5 corresponds to X11. This is what you want. Edit your inittab and make sure 5 is being specified. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted October 1, 2006 Report Share Posted October 1, 2006 Runlevel 5 is the default runlevel for running X at startup (unless you use Slackware, or a Slackware clone, when the analogous runlevel is 4). Runlevel 3 is for multiuser console login, and runlevel 1 for safe mode (recovery) login. The other runlevels are usually reserved, although some distros may use them regularly- consult your distro's manual. Quote Link to comment Share on other sites More sharing options...
arctic Posted October 1, 2006 Report Share Posted October 1, 2006 Just one correction, scarecrow: Debian systems use inittab 2 as default multiuser setting. ;) Quote Link to comment Share on other sites More sharing options...
scarecrow Posted October 2, 2006 Report Share Posted October 2, 2006 Just one correction, scarecrow: Debian systems use inittab 2 as default multiuser setting. ;) Thanks for reminding. Usually switching runlevels is as simple as opening a root console and typing in init n (n can be from zero to six) "init 0" and "init 6" are equivalent to the "halt" and "reboot" commands, respectively, although this may not apply for few (really few) initscripts. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.