Questions tagged [runlevel]

43 questions
14
votes
1 answer

How does systemctl schedule system shutdown?

When I type shutdown -h +30, Linux somehow schedules runlevel's change within 30 minutes. On Debian, /sbin/shutdown is symbolic link to /bin/systemctl. My tests indicate that shutdown does not use neither cron nor systemd timers. How does system…
patryk.beza
  • 1,661
9
votes
4 answers

Launching programs with GUI without display manager

I've heard that there is a way launching programs with graphical interface without display manager - straight from terminal. Is this for real and if so, how can I do that?
Ben
  • 237
6
votes
2 answers

How to boot into text mode in Linux Mint LMDE (Debian-based)

Ok, this might sound ridiculous, but of all the issues I could have, I'm scratching my head over booting into text mode. Normally I'm in the opposite direction, such as startx not working. To put the wtf-level of this into perspective, I just…
5
votes
1 answer

Solaris11 back to console boot

I installed Solaris 11 X86. I installed solaris-desktop. Then Solaris boots to GUI mode. How can I make the Solaris boots to console mode? (And then optionally starts X by hand?)
Jin Kwon
  • 336
5
votes
1 answer

How does one tell u-boot to tell the Linux kernel which runlevel to boot to?

I would like to order u-boot to enter a specific runlevel lower than the one the system boots to. How does one accomplish this? Thank you.
user20926
  • 231
4
votes
2 answers

Copy Linux liveUSB causes errors with init.d scripts - Impossible..?

Please post your thoughts ideas or anything you may come up with. I would be very interested to see what anybody else is thinking. The Overall Problem When I install a simple Java application (that I wrote) to run on boot (in the background)…
4
votes
3 answers

How to boot into command-line mode and keep other services unchanged

I want to configure my Ubuntu installation to boot into a command-line prompt instead of the Gnome Desktop Environment. I ran the below command to effect this: sudo update-rc.d -f gdm remove It worked as intended and dropped me onto a shell prompt…
user4358
3
votes
1 answer

Kill Infinite loop at Upstart's run level

One of my applications is at a infinite loop in the runlevel 1 by printing No protocol specified continuously after running startx -- :1. The run level does not listen to my commands given at the run level. I can of course give kernel Magic*B, but…
3
votes
2 answers

Is the /etc/inittab file read top down?

When the init process is executed when the kernel has loaded, does it read the /etc/inittab file in a top down approach i.e. it executes each line as it appears in the file. If so and based on my reading and understanding, does this mean that it…
3
votes
3 answers

Ubuntu, control the init startup

Ubuntu uses upstart instead of sysvinit. However there are still runlevels and the links in them. I have installed tor and it has added itself to the startup of the OS. Now I want to remove it and the popular options are to remove the links of…
Xolve
  • 490
2
votes
2 answers

To have two Xorg in two Ubuntu's run levels

Ubuntu support by default only one X at run levels. I would like to have two Xs: one for Ion3 and for Gnome, in two diffferent run levels. This means that I need to change the source code of Ubuntu somehow and somewhere. It may be possible to use…
2
votes
1 answer

How to boot runlevel 3 as non-root user?

I'm using Arch Linux. I can boot to runlevel 3, but any other level than default (7) results in a prompt asking for my root password. (Including runlevel 3.) The normal login screen for linux is nowhere to be found. I cannot select a user. I cannot…
2
votes
1 answer

What are the recommended runlevels for httpd?

I am deploying an httpd server on RHEL6. I've installed the rpm and everything. Now, when it comes to service startup, most of the post give as example the following line: chkconfig --levels 235 httpd on which doesn't makes sense to me. According…
Yossi
  • 123
2
votes
3 answers

ssh server on runlevel 3

I have been trying to setup a ssh server on my desktop for remote access and have been running into a few issues. The first I have found is that sshd is not starting on boot. As soon as I run: sudo service sshd start manually I am able to ssh…
Godric Seer
  • 359
  • 1
  • 5
  • 19
2
votes
2 answers

How do I set a unix process to autorun in a particular run level?

I have a stand alone server application that I would like to run automatically when my red hat box starts up. My default run level is 5 but I want to make sure it works both in run level 3 & 5. Answers appreciated!
Axxmasterr
  • 7,966
1
2 3