Questions tagged [startup]

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

Filter by
Sorted by
Tagged with
3
votes
2answers
162 views

How to rescue Ubuntu Server 16.04 which is getting shut down by systemd script?

I wrote a program which automatically shuts down a Raspberry Pi 3b (Ubuntu Server 16.04) as soon as a button is pressed. It's nothing than a small bash script which reads a GPIO pin of the Pi every ...
3
votes
4answers
6k views

Fedora 27 not running rc.local when booting

I was trying to get the Shadowsocks server running automatically after booting, and I used the rc.local file, but it was not working. rc.localis now: /usr/local/bin/ssserver -c /etc/shadowsocks.json ...
3
votes
1answer
120 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 ...
3
votes
2answers
513 views

How could I create sort of a “CLI Kiosk mode” at system startup?

I created a script that, when executed, leaves the user with a blank screen where he can only type, much like a typewriter. It's a Python script, and I intend to port it to pure Bash eventually. Now ...
3
votes
2answers
4k views

Manually edit startup application for session?

I'm running elementary OS Freya Beta (under the hood: Ubuntu 14.04) and I need to edit the startup of a certain application to prevent it from running. The startup applications GUI window is still ...
3
votes
1answer
942 views

What could be done to make Embedded Linux boot faster?

My team is developing a software for a Embedded Linux solution. The problem we are facing is that it takes too much time for the system to be ready to start running our desired apps (that is, too much ...
3
votes
4answers
3k views

Dropbox insists on autostarting - Fedora 20

I'm trying to get Dropbox not to autostart. The manual shows a command line option that should do the trick but it doesn't seem to work here (dropbox autostart n). Running dropbox autostart issues a ...
3
votes
2answers
568 views

What environment and credential is used by startup, background and service processes

Startup scripts (on boot) Processes running in (or sent to) the background (when using SSH -fN for example) Services etc. What $path variable will they be using? What credentials? Anything else I ...
3
votes
2answers
959 views

Start a Qt/wayland application on top of weston on startup

I would like to launch a Qt application on start up. The application uses some of the features from weston/wayland desktop, so it should be launched on top of weston, right after weston is started. ...
3
votes
1answer
77 views

What is calling my executable *.sh script?

A long time ago I copied/modified a script that used inotify to tell me the results of an automatic clamscan when something was downloaded to Downloads - I followed this online resource: https://...
3
votes
2answers
214 views

Does a boot loader unmount the ramdisk BEFORE mounting the root file system on the hard drive?

In a recent online course, a RHEL/CentOS instructor mentioned the following: The boot loader then executes the kernel. During the kernel stage, the kernel loads a ramdisk into memory. This ...
3
votes
1answer
864 views

Why doesn't this .desktop file run on startup?

I'm trying to get the sensors command to run in a console on startup on my Linux Mint 18.2 setup. I've put the following sensors.desktop file into my login user's .config/autostart directory: [...
3
votes
1answer
3k views

Disable LAN connection at startup in Debian

How to disable LAN connection at startup in Debian Jessie? Ido not know what establishes that connection. Is it any configuration file or my wicd that starts on boot. But when I open wicd I can see ...
3
votes
4answers
10k views

Check if a program/script was run at startup?

In Linux, there are many files we can modify to add a program run at start up (/etc/rc.local, bashrc, bash_profile, $HOME/.config/autostart, ...) ? Now I have a reverse question: I have a program, can ...
3
votes
1answer
3k views

CentOS 6 stuck at starting service (sendmail) & cannot login

I've got a CentOS 6 server that's not starting up. If I press ESC during the splash screen I can see it's getting as far as 'Starting sendmail: _'. Leaving it for 15+ minutes and it's still there. ...
3
votes
1answer
926 views

Stop a process from running on startup without removing it

Just for the heck of it I was running pgrep postgres and got a ton of results: postgres 1882 1 0 10:06 ? 00:00:00 /usr/lib/postgresql/9.3/bin/postgres -D /var/lib/postgresql/9.3/main -c ...
3
votes
1answer
1k views

how to write a startup dependency on Internet availability?

Some of the services on my Raspberry Pi (~ Debian) depend on the availability of Internet (especially ntpd, for cryptic reasons). Specifically, the availability of a network device or a link being up ...
3
votes
1answer
9k views

Daemon - how to tell the start daemon to execute this daemon as different username than root?

I have this startup script, when i launch i have the execution done by username: root, instead of username: sun. How can i tell the start_daemon to execute it as username : sun not root? $ ps aux | ...
3
votes
2answers
2k views

How do I disable the left CTRL on Ubuntu 13.10?

How do I disable the left CTRL on Ubuntu 13.10? Actually I can do it already. All I need to run is xmodmap -e "keycode 37 = " The problem I have is this only works if I run it from the terminal ...
3
votes
3answers
1k views

Other than /etc/rc.conf what other config files control system services at boot time?

I am still very new to FreeBSD, from what I have learned in manuals, /etc/rc.conf controls system services at boot time. There is no mention of sendmail and syslogd in /etc/rc.conf, so how come they ...
3
votes
1answer
1k views

ACPI conflicts with ACPI region SMRG

During startup, I noticed some error. I found this in dmesg: i801_smbus 0000:00:1f.3: PCI INT B -> GSI 21 (level, low) -> IRQ 21 ACPI: I/O resource 0000:00:1f.3 [0x400-0x41f] conflicts with ...
3
votes
1answer
451 views

Script called in rc.local only runs second command, not the first

I am running a Raspberry Pi with Fadecandy to control LEDs. I have everything set up, i just want to have the Fadecandy server and my exported Processing sketch run at start up. In rc.local I am ...
3
votes
1answer
2k 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' ...
3
votes
1answer
13k 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 ...
3
votes
1answer
2k views

What is the “mintsystem” service setting and when would I want to activate it?

In hunting around my GUI for a place to enable sshd I clicked on "Services" from the Administration section of the Linux Mint (16) menu. It opened a window titled "Service Settings" and inside it I ...
3
votes
1answer
2k views

Error about agpgart during startup on Fedora 20?

I have started to notice a strange error quickly flash across my screen every time I boot my laptop running Fedora 20. I'm not sure what it means or how it may be affecting my system, but I figured ...
3
votes
1answer
5k views

How to speed up or get rid boot with network manager on systemd?

Network manager is the one thing that holds my system boot time from becaming really barelly existing. I'm connecting to wi-fi. My boot chain indicates what's wrong with network manager: graphical....
3
votes
1answer
858 views

Getting keyboard to work in debian 6.0 in order to unlock root partition

I just installed Debian 6.0, encrypted / and now I'm trying to boot. When GRUB comes up, I select Debian, it loads the initrd and asks for the root password, however I can't enter anything, because ...
3
votes
1answer
34 views

Linux embedded: boot stopped by “crng init” for LOOOOONG time

I am having heavy problems similar to what discussed in this question. In my case though, I have a very recent kernel (5.3) for a small embedded processor (mips, mt7628) and boot process stops for ...
3
votes
1answer
4k views

How to understand the `A start job is running for Create Volatile Files and Directories ( Xmin Ys / no limit)` startup message

I am presently attempting to fix a broken (I think) Ubuntu 16.04 install on a VirtualBox install and it is hanging with the following message: A start job is running for Create Volatile Files and ...
3
votes
1answer
2k views

Can't properly stop SAP Hana on reboot / shutdown with systemd

We encountered the following problem in our company. We have multiple Red Hat Enterprise Linux Servers on which "SAP HANA S/4" is running. We created a systemd Service to automatically start and stop ...
3
votes
1answer
552 views

TTY's cursor moves to wrong position during login

I'm using Ubuntu 16.04 without a desktop manager.  When my system is started, it goes to tty0, and the screen appears like this: <my-pc-name> login: | where | represents the cursor.  After a ...
3
votes
1answer
946 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 ...
3
votes
2answers
2k 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. ...
3
votes
3answers
21k views

How to execute shell script on Kali Linux startup?

I need to execute a shell script on a Kali Linux startup. I am using 2016.1 version of Kali Linux. i tried many things like rc.local, init.d, X11 and GDM3 config etc. but I couldn't get it work. ...
3
votes
1answer
2k views

Modify /etc/xdg/lxsession/LXDE/autostart before boot

I have some parameters that I would like to change in /etc/xdg/lxsession/LXDE/autostart, before it is run. I get the parameters from a grep command. I would like to feed them to the autostart file but ...
3
votes
1answer
364 views

Linux mint 13: Error starting MATE

My Linux Mint installation seemed to work fine an hour ago, then I switched into Windows 7 which is installed on the same machine. When I restarted back into Mint, I got the following errors and can't ...
3
votes
3answers
1k views

Upstart: How to run a “stop” before stopping other services?

I recently found out about the upstart "service starter" that Ubuntu is using and that is (apparently) the future to start/stop jobs in Linux. It's pretty new to me (I was used to the old SysV system ...
3
votes
0answers
109 views

Execute a command instantly after system is powered

I would like to execute a command instantly after system is powered. My project is realized in an embedded Linux environment (Yocto-based, with U-boot bootloader), therefore I would like to show a ...
3
votes
1answer
78 views

Do recent kernels have minimum memory requirements during startup?

I'm trying to upgrade the software on a very old computer: a Pentium MMX with 16 megabytes of RAM. It's currently running a 2.4.37.11 kernel. I've configured a minimal non-modular 4.14 kernel that ...
3
votes
0answers
2k views

Disable dockerd at startup

I am using docker sparsely. I don't need the daemon to be running all the time. I would like to disable it from starting up automatically. I tried doing : sudo systemctl disable docker but it ...
3
votes
2answers
2k views

Each service runs twice while booting Fedora 25

I've just installed Fedora 25. However, while starting up the computer, each initialization service runs twice (see the attached picture), or are shown twice on the screen. How can I fix that? (I'm ...
3
votes
3answers
9k views

systemd oneshot Requirement to execute only once

I have multiple systemd services that require a generated EnvironmentFile. I have a shell script which generates this Environment file, but since I need that environment file before any Exec... ...
3
votes
1answer
969 views

Startup script on Debian 8 (Jessie) with etherwake won't work

I'm attempting to remotely wake a slave machine when the master boots up through a bash script using the etherwake command to send magic packets. Both OSs are Debian 8. The full code is written below: ...
3
votes
0answers
2k views

PPTP VPN client auto startup : need to restart network interface

The PPTP client works well. So the following lines were added in /etc/network/interfaces to enable the tunnel at system startup : auto tunnel iface tunnel inet ppp provider myTunnel according ...
3
votes
0answers
2k views

“map: vt01 => fb0” - what is that?

At startup of Rasbian on Raspberry PI, when console asks for login I can see the following text: map: vt01 => fb0 What does that mean? How can I disable it? (hide this message, I would only like ...
3
votes
0answers
215 views

Set up bluetooth keyboard to enter disk encryption password

How can I set up a bluetooth keyboard, so that I can use it to enter the disk encryption key, so that my encrypted linux system boots.
3
votes
1answer
6k 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 user:...
3
votes
0answers
1k views

Why adding swap space is the slowest part of the booting process? [closed]

I can see that adding Swap space is the slowest part of the booting process. Why? I actually have ~4GB for swap and 2GB RAM memory. dione@saturno:~$ dmesg | grep -C 4 swap [ 2.179979] input: ...
3
votes
2answers
1k views

nfs-kernel-server starts too early

I have an RPI-based NFS server with an external USB hard disk. After a recent upgrade to Raspbian 8.0 and systemd I noticed that now nfs-kernel-server seems to be starting before all file systems on ...