Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [startup]

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

2
votes
0answers
52 views

How to set up OpenVPN and Transmission to start at boot on CentOS 6?

I'm trying to set up Transmission with OpenVPN on a headless server running a minimal install of CentOS 6.10, and ideally these would start when I boot the system. I'm able to get everything to run ...
1
vote
1answer
3k views

Bluetooth Mouse does not automatically reconnect on reboot

My mouse connects easy enough after booting up on Linux Mint 17.3 Cinnamon. Dell 3147, The mouse is a Logitech M557. But when I reboot of power off and log back in I have to repair the device even ...
0
votes
3answers
2k views

Startup script needs root permissions

I have a script that I need to run at startup. I have it in init.d. I need to execute one of the commands within the script with root permissions. How do I go about doing this? Edit 1: For reference,...
3
votes
1answer
5k views

Can systemctl list all enabled services, including legacy services?

This question asks: "How to list all enabled services from systemctl?" Answers on that page include: systemctl list-unit-files | grep enabled systemctl list-unit-files --state=enabled At least as ...
0
votes
2answers
40 views

Remove programs from automatic startup

When I start and log into my computer, multiple programs open on startup (mousepad, a terminal and firefox). How can I change this behaviour? I have no idea why it happens. I am running Manjaro XFCE. ...
0
votes
0answers
4 views

Can't find the source of startup httpdmas at bootup

I have checked cron jobs but no startups referring to httpdmas. I have checked /etc/rc[0-6].d and /etc/init.d/rc.d/ (none) I have checked chkconfig for httpdmas and it is all off. chkconfig --list … ...
2
votes
1answer
5k 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 ...
13
votes
4answers
30k views

How to change timeout in systemctl

When I boot my Debian system, its startup hangs for approximately 2 minutes on the line: Loading, please wait... [ 5.191043] systemd-fsck[129]: /dev/mmcblk0p2: clean, 234192/873120 files, 2335263/...
0
votes
0answers
15 views

Startup speed optimization advices (Debian - LMDE) [on hold]

I want to check what's happening during my pc's startup process. I run systemd-analyze plot > plot.svg and got this output: I did not expect to see so many processes and I was wandering if all ...
3
votes
1answer
994 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 ...
4
votes
2answers
18k views

Make daemon start up with Linux

I'm writing a simple daemon application using C/C++ and I want it to start when Linux starts up. I have tried to modify /etc/init.d/skeleton to add a script into the init.d directory as follows ...
-1
votes
1answer
1k views

can i run a java software on startup

I have a raspberry pi with raspien installed. When I start my PI I would like to run the following steps after the operating system is loaded if possible: a java software that checks the internet ...
1
vote
1answer
881 views

Starting Apache Httpd at Boot time with Zero intervention, CentOS and authbind

I want to start Apache Httpd when Linux starts (with Zero intervention like submitting the root password, I don't want write the root password to start the apache service!!!) Later of Apache was ...
0
votes
1answer
3k 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 ...
-1
votes
0answers
10 views

Launch JAR on Startup without being logged in

I programmed a JavaFX application which acts as a survey form. Users are able to enter their data with a mouse and keyboard. The OS is Ubuntu. The app itself always maxes out the screen and also ...
0
votes
0answers
12 views

Gnome3 Session Startup File

What is the location of the "Gnome3 Session Startup File". I use Ubuntu 18.04 with gdm3 as display manager. I want to export an environment variable (persistent) for GUI (desktop) application. Also,...
1
vote
1answer
53 views

How to automatically start Rescuetime on startup (tried crontab and rc.local)

I have installed rescuetime on debian 9. It requires the command rescuetime to be run in a terminal, this just keeps running rather than running and closing (it adds an icon into the tray at the ...
0
votes
2answers
644 views

Start tmux and execute a set of commands on boot

I'm trying to find a way to have tmux start for a specific user on boot. The tmux session should run two Python scripts. I think I could start Python as mentioned here, but I'd rather have it in a ...
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:...
1
vote
1answer
876 views

rc.local can't find my script

I am trying to get my script to run on startup. I am using Ubuntu Server 16.04. Here are the exact contents of /etc/r.local. #!/bin/sh -e # # rc.local # # This script is executed at the end of each ...
4
votes
1answer
867 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: ...
6
votes
3answers
5k views

How do I start a screen session using an upstart job with a non privileged user?

I am trying to create an Upstart job that starts a new screen session on boot, in which I would like to automatically start a java executable. Here is the .conf file I am currently trying to get to ...
0
votes
0answers
15 views

Command `startlxqt` causes en error `QXcbConnection: Could not connect to display` [duplicate]

I want my Desktop Environment lxqt to start by typing out the startlxqt command in console. I do not want to start it automatically. The history is that I installed Debian Stretch without a Desktop ...
5
votes
7answers
5k views

How to know during system start when system time becomes correct from NTP

I have a Raspberry Pi running Raspbian (Debian derivative) that is recording real-time temperatures. As part of this, I need a clock that is accurate to within a few seconds. In normal operation when ...
4
votes
2answers
2k views

Run top instead of getty

By default, systemd auto-launches getty on each VT except VT7. What I would like is for systemd to launch top on VT6 instead of getty. Any idea how I configure it to do that?
0
votes
1answer
32 views

Portable way to run a simple script at startup

I'm trying to run a script at startup as root. (Just sets up a root-owned directory in /tmp). Currently, I'm using this script to set up the boot hook and it appears to get the job done: #!/bin/sh -...
4
votes
2answers
950 views

How to run simple command on startup on FreeBSD?

I need to run a command at startup on my machine using FreeBSD: cd /home/portal mv portal.sqlite corrupt_portal.sqlite This is clearly not a daemon or a service, just a one time command at every ...
30
votes
2answers
81k views

What's the difference between /etc/rc.local and /etc/init.d/rc.local?

I want to add a permanent iptables rule to my new VPS, and after brief google search i was surprised that there are two places this rule can be added, that seems like identical: /etc/rc.local and /etc/...
0
votes
1answer
45 views

Debian monitor out of range after install

I've tried adding nomodeset to the boot options from grub at startup (press "e" etc...) but it doesn't work. I also tried adding vga=795 and although it did work it doesn't get saved plus it's ...
7
votes
4answers
598 views

How can I track script which gives me “command not found” right after the login?

When I login, I have these messages: -bash: $'\r' : command not found -bash: $'\r' : command not found -bash: $'\r' : command not found It is quite clear that it is caused by Windows-style line ...
27
votes
7answers
63k views

Stop program running at startup in Linux

How do I stop a program running at startup in Linux. I want to remove some apps from startup to allow them to be managed by supervisord e.g apache2
-1
votes
2answers
2k views

How to automatically run script on Linux startup?

I need to execute a shell script on an Ubuntu startup. I am using Ubuntu 14.04LTS version of Ubuntu. I tried many things like rc.local, init.d etc. but I couldn't get it work. This is the shell ...
0
votes
1answer
103 views

Debian 9: Multiple Failures During Startup

Recently I was using my notebook in a normal session when, suddenly, the network interface stopped working. I manually shut down the system (couldn't do it via LXDE neither via terminal) expecting ...
0
votes
1answer
1k views

Is there a specific SSH boot log?

My sshd won't start at bootup. I have to type it in manually (sudo service ssh start). I've posted a question on how to start ssh at bootup (How to start SSH daemon on boot on Linux Mint Debian v2), ...
5
votes
3answers
5k views

Prevent Debian from auto-assembling RAID at boot

I set up a Debian wheezy (7.6), installed openmediavault, and created a software raid 5 with that. It is listed at /dev/md127. Now I want to move that to a virtual XEN VM. To do so, I have to stop ...
114
votes
3answers
52k views

What should/shouldn't go in .zshenv, .zshrc, .zlogin, .zprofile, .zlogout?

I'm looking for guidelines on what one should and should not include in the various startup files for zsh. I understand the order of sourcing of these files, and the conditions under which they are ...
1
vote
1answer
1k views

Startup failure :Started WPA Supplicant

Why does my system boot stop at "Started WPA Supplicant"? When I try to startup up my ArchLinux it pauses at "Started WPA supplicant" I had other problems which I solved like SDDM failure. And now ...
1
vote
1answer
980 views

Missing service file for pure-ftpd

Background I want to change some options of Pure-FTPD. Since it has no config file, I need to add command line arguments. My system is Debian Stretch, which uses systemd. What I tried There is no ...
0
votes
2answers
1k views

How can I bring a specific network interface(s) down on boot, but keep them configured?

This is on a Debian/Raspbian based OS. My goal is to have one or more network interfaces fully configured, but down. I need to be able to just use ifconfig wlan0 up or ifconfig eth0 up to start them ...
0
votes
0answers
45 views

Dual Boot Win10/Linux Mint hangs on boot, Light Display fails to load

Recently I had issues with my dual boot Linux Mint/Windows 10 instillation. It wouldn't boot. My computer would turn on and it said Error: Unknown Filesystem. Then put me at a Grub Recovery prompt. ...
11
votes
5answers
61k views

How to auto-start a service (apache2) with Linux Mint

(Strangley) My installed Apache2 does not start up when logging in to Linux Mint. Running this command gets it going: sudo service apache2 start How should I attempt to start up this service upon ...
0
votes
1answer
95 views

Tiny Core: startup script and persistence

I need a very lightweight, and I found Tiny Core Linux, which I installed following this guide, but I have several problems, related to adding SysVinit (in which is based) startup scripts: Anything I ...
2
votes
1answer
5k views

start script at boot for kali linux

I'm running Kali Linux 2018.1 on a VM. I want to run a bunch of commands that I have stored in the file start.sh at startup. I know how to do this on a normal distro by going into /etc/rc.local, but ...
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
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 ...
0
votes
0answers
47 views

Import value from kernel startup code to user space

I need access to a variable, an integer, whose value is determined during startup on this embedded system. The kernel is: 2.6.35.14 and the variable I am trying to access is created an used in the ...
0
votes
1answer
106 views

OpenSuse Tumbleweed: How to run a bash script on startup?

I'm trying to a run a .sh file on startup of a rPi3B+ running openSuse Tumbleweed JeOS. The script is really simple and looks like this: node /home/user_name/path/to/the/file.js here are two links I ...
0
votes
1answer
1k views

Debian startup script doesn't start

I'm trying to make a specific script load on start on Debian. I have tried to put the script on /etc/rc.local but no success. Now I have made a service script that runs my specific script. The code of ...
1
vote
1answer
143 views

ssh.service will not start at boot if using ListenAddress in sshd_config but it will if started manuall after boot [duplicate]

I have ListenAddress in my /etc/ssh/sshd_config. ssh.service will not start at boot but it will start if I run service ssh start after boot. Here is the error from /var/log/syslog: $ sudo cat /var/...
2
votes
1answer
2k 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 ...