the startup sequence, from the time the kernel goes live to when all services are up and running

learn more… | top users | synonyms

1
vote
1answer
27 views

Command ran as wrong user on boot while explicitly being told to run as root

So I've installed Syncthing and I'm running in a lot of problems getting this program to run as root on boot. For some reason it always runs as the default user ( thom ), but I boot into root and tell ...
1
vote
3answers
1k views

How to disable inetd and sendmail under OpenBSD 5.1?

# grep '^inetd_flags="' /etc/rc.conf inetd_flags="NO" # for normal use: "" # grep -i 'sendmail_flags="NO"' /etc/rc.conf sendmail_flags="NO" # after a reboot..: two questions: # ps -...
8
votes
3answers
7k views

How do I start Xvfb on startup on Debian?

I’ve got a Debian web server that I’m using for occasional screen-scraping via Selenum and Python. I use Xvfb as a virtual X server for Firefox to run on when being controlled by Selenium. Given that ...
3
votes
2answers
102 views

Debian (jessie) with XFCE, Sessions and Startup: Application Autostart

Long-time lurker, first time question-asker. I am running Debian jessie with XFCE, kernel 3.16.7. In the course of setting up Conky to run at startup, I wrote a bash script to... well.. run Conky. ...
4
votes
1answer
5k views

Make screen start as Daemon for a Minecraft server

I made a script that runs fine manually, but can't get it to run with the description in How to start a script file on boot?. I have run update-rc.d -f minecraft.start defaults This is what my /etc/...
3
votes
1answer
121 views

unable to install anything using apt-get because of insserv

Whenever I try to install something using apt-get I get the error messages involving insserv. I have tried install many different packages but everything give same error. And apparently, CUPS package ...
1
vote
1answer
282 views

Tomcat Homepage (localhost) doesn't showup [closed]

Assuming, I've successfully installed Apache tomcat in RHEL 7 followed almost similar instructions in here, except that I've tomcat8 user, assigned permissions and generating a keytool as $JAVA_HOME/...
1
vote
1answer
3k views

Starting Tomcat Service when starting CentOS/RHEL/Fedora

I want to install tomcat 8 and run it at startup time I am following these tutorials: Install Tomcat 7 on CentOS, RHEL, or Fedora How to install Tomcat 8 on a CentOS 6 VPS I created the tomcat ...
10
votes
3answers
6k views

How to change timeout in systemctl

When I boot on my debian, startup hangs for approx 2 minutes on the line: Loading, please wait... [ 5.191043] systemd-fsck[129]: /dev/mmcblk0p2: clean, 234192/873120 files, 2335263/3491328 blocks [...
1
vote
1answer
1k views

Cannot add startup service to openWRT from init.d

I have openWrt installed on a TP-Link TL-WA901N/ND v3. I don't have luci package installed because I don't have enough space, so I can only do thing via cli. What I'm trying to achieve is to create a ...
0
votes
2answers
25 views

grub in centOS, I can't start my Server

I was changing my HD with a (Windows Program for Partitions), now I can't to start the server, CentOS. I remember this: /etc/grub.conf & default=1 timeout=10 splashimage=(hd0,4)/grub/splash....
1
vote
1answer
28 views

Start a GUI application at reboot

I'm trying to execute my own script (openMonitor.sh) via Cron on startup which opens a local html-file in Firefox and switches to fullscreen by emulating F11: #!/bin/bash sleep 10; export DISPLAY=:0....
0
votes
1answer
3k views

Runtime parameters for a systemd service

I am a little confused about how runtime parameters are normally supplied to a systemd service. The general idea I have is that the following happens: There is a file that contains the environment ...
7
votes
2answers
10k views

How do I start a virtual machine in background upon OSX system start?

I have a virtualbox machine on a OSX 10.9.2 host. I do not want to open VirtualBox everytime and start the machine there. Also, I do not need the the screen output as I will just ssh from OSX terminal ...
-4
votes
0answers
39 views

OpenSUSE startup stuck at the loading screen

hello I almost got solved my problem opensuse can login as root but not as user now here is how things works . I turn on my pc then I choose (I got two OS-es) opensuse , system starts loading and at ...
0
votes
1answer
810 views

How to change the resolution on screen at Startup in Fedora?

I have just installed Fedora 22 and am new to the Linux environment. My problem is this, at startup the GPU doesn't seem to auto detect the resolution of my monitor. xrandr --newmode "1440x900_60.00"...
3
votes
1answer
47 views

Cannot trigger tmux script on boot

I have a tmux triggering script as mentioned below, running on Raspbian Wheezy 7.10: Step 1 #!/bin/bash # this script is called "sess" tmux new-session -d -s sess1 'sudo /home/pi/bin/myscript.py' ...
0
votes
1answer
1k views

Fedora doesn't start X on boot

Since a few months I have been facing a problem with Fedora 15. Whenever I start my system, the command prompt is displayed instead of the GUI login. I need to provide a username and password from the ...
2
votes
2answers
294 views

Execute root command after a user starts the session

I'm trying to find how is possible to execute a root command when a user starts their session. I found that adding commands to this file /etc/rc.local should execute the commands after the boot, but ...
1
vote
1answer
2k views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
1
vote
2answers
37 views

systemd: stop boot process on failure (actually make a shutdown)

How is possible to immediately stop the bootup process, show some message (quit splash screen) and shutdown machine if a oneshot service fails? My service starts just one script. If something went ...
6
votes
2answers
1k views

What is causing a pause during the system device probe?

I am running FreeBSD 10.0-RELEASE. During the boot device probe there is a two-times 30 second pause. The output relevant to this is # dmesg ... (aprobe0:ata0:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 ...
0
votes
1answer
2k views

Indicator-cpufreq doesn't start on login

If I run indicator-cpufreq in the console it will start up just like it is supposed to and appear in the panel. However, if I place the same command in the startup programs it doesn't appear on ...
4
votes
1answer
9k views

How to access and edit Startup applications in Elementary OS Freya beta 2?

The list accessible in Settings>Applications>Startup is empty by default: Here and in other places I found the idea that running this command should solve it: sudo sed -i 's/NoDisplay=true/...
4
votes
3answers
5k views

How can I debug Apache, not starting upon boot [closed]

Apache is already set up as a service, since: $ sudo update-rc.d apache2 defaults System start/stop links for /etc/init.d/apache2 already exist. But Apache isn't starting. How can I start ...
2
votes
2answers
28 views

Adding permanent routing

Each time when I start my computer I type in the console sudo route add -net xxx.xxx.xxx.xxx netmask 255.255.240.0 gw xxx.xxx.xx.xxx When computer is rebooted or switched Off/On I must re-enter ...
1
vote
3answers
11k views

Debian not booting into GUI

My problem is, that my Debian installation shows a grey screen on start up and boots into a console, instead into gnome. When I start X manually with startx everything starts fine, so the DE seems to ...
0
votes
0answers
95 views

Run console printing command after tmux starts up

I'm starting tmux from zsh with the window split into two panels. The only issue I'm having is screenfetch starts up and prints to both windows. Ideally I only want it printing on the left window. I ...
6
votes
1answer
8k views

service to start on boot doesn't work with update-rc.d comand

I have installed redis server on my ubuntu based server, so I can start/stop/restart redis server, the redis_server.sh is already in the /etc/init.d. Now I want to make redis start on boot, I ...
1
vote
0answers
26 views

Why can linux not see usb devices present on startup?

I am trying to run linux (tails, which is based on debian) on a laptop (Lenovo 11.6 Inch Ideapad 100s) from a live usb drive. However, once I get past the boot menu, the mouse and keyboard stop ...
1
vote
2answers
69 views

Mount root filesystem from initramfs

It's a common scenario. For whatever reason, the initramfs (OpenSUSE, in case it matters) has failed to find the root filesystem, so it drops you into a rescue shell. I know perfectly well what device ...
1
vote
0answers
15 views

/etc/network/interfaces automatically startup pppoe on wireless lan (wlan0) on boot and also make it persistent

I do have the following setting OK in /etc/network/interfaces: auto wlan0 auto dsl-provider iface wlan0 inet static address 192.168.XXX.XXX netmask 255.255.255.0 broadcast 192.168.XXX.255 wpa-ssid ...
3
votes
1answer
77 views

Why is my script not waiting for networking service to start before running?

I am using Debian 8 and have configured a script and put it under /etc/init.d directory as below. Basically, I want to open ssh tunnels on startup. #! /bin/sh # /etc/init.d/open_tunnels ### BEGIN ...
0
votes
1answer
30 views

Run script simulatneously with loading desktop

I am running Kali 2, and have a script that I want to run on startup. Right now, I have the script in my profile.d directory, but it takes too long to execute. The effect is that after I login, the ...
5
votes
2answers
1k views

How to permanently disable root-password prompt for recovery mode, RHEL7

Note: I asked a similar quesiton concerning version 6 of these bundles here. Note that 7 uses systemd and may have a different implementation In the rare cases that a RHEL or CentOS 7 system is ...
1
vote
0answers
35 views

Run a script after login that prints to the terminal a welcome message?

I want a script that writes to the terminal a welcome message (something like echo "welcome, usr. Linux version..." etc). I have the script written, it works (i.e. it has execute privileges) so I know ...
0
votes
1answer
54 views

How to lump together Apache2 Server and xsp2 server in the configuration for auto start when the PC reboots?

We need to lump together Apache2 Server and xsp2 server(or mod-mono-server server) in the configuration for the auto start sample shown below when the PC reboots. Quoting from the article, http://...
1
vote
0answers
350 views

How can I enable ufw automatically on boot?

sudo ufw enable Firewall is active and enabled on system startup sudo ufw status Status: active But after I restart the system and run sudo ufw status, I get the message: Status: inactive How ...
0
votes
0answers
15 views

Ubuntu Gnome stuck in startup(gnome logo) sometimes

I pick a(successful startup) and b(fail to start) dmesg file, hope someone can help me differ the file and find out why sometimes my ubuntu system fail to start(it frozen before login interface ...
3
votes
1answer
675 views

Startup problem: invalid partition table or use UEFI BOOT

I'm working on a Dell Latitude E5430. Recently I booted pcbsd from USB using this file: PCBSD10.1.1-RELEASE-01-31-2015-x64-DVD-USB_0.iso But I guess I did something wrong. I was trying to install ...
1
vote
0answers
19 views

Rotate Display at Startup

So I'm trying to rotate the screen upside down at startup because the screen I'm working must be upside down. I'm working with a game emulation OS called Lakka, so I can't use "xrandr" to flip it. So ...
3
votes
1answer
40 views

How to delay a program from starting on boot up - Xubuntu

I am running Xubuntu and have several programs automatically starting when the computer powers up. All the programs starting at once is causing me issues with having the programs talk to each other. ...
4
votes
1answer
30 views

PC with short-lived RTC battery - how to immediately time-sync on boot and avoid time jumps

I've got a 64-bit Intel PC running Debian 8 with a capacitor-based clock, which means after 3 days without power the time is lost from the hardware clock. To help work-around this, I was thinking we ...
1
vote
1answer
30 views

Cannot write to /etc/fstab in maintenance mode

I am using Oracle Linux 6.5. Due to bad entries in /etc/fstab, fstab errors occurred on startup and I am unable to log in. It's asking me for the root password to enter maintenance mode. When I enter ...
1
vote
2answers
764 views

Combined su and screen at startup

I want to start a long running custom script at boot. The script must run under a specific username. So far I have successfully used the screen command and switched to the user in the custom script. ...
7
votes
1answer
181 views

How to pause (or capture) the messages that fly by at the end of startup sequence?

Towards the end of the "startup sequence"1, I see a longish series of diagnostic messages fly by very quickly, right before I see the login prompt2. AFAICT, most, if not all, of the lines making up ...
3
votes
3answers
7k views

syslog-ng service not starting with systemd but command works fine

I have a freshly installed version on CentOS 7 once which I have installed syslog-ng from the EPEL repositories. ~: yum list | grep syslog syslog-ng.x86_64 3.5.6-1.el7 ...
0
votes
1answer
36 views

Systemd pause boot while script runs

I have a script that I want to run at boot, and whilst it runs I would like it to pause the boot process. I have tried the systemd service [Unit] Description=setup script Before=default.target [...
3
votes
1answer
3k views

Resetting password in Linux Mint when disk is encrypted

I have a system (VM, actually) with Linux Mint 15 on it. The disk is encrypted, but I remember that password -- just not the password for my account. I've tried changing the command in GRUB from ro ...
0
votes
0answers
12 views

XBMCBuntu is not starting up to desktop

I am running xbmcbuntu for a few years now and everyting worked fine so far. Recently, I've installed a new hard-disk and made a new partition (sdc1) on it. Now, unfortunately, XBMCBuntu is not ...