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
1answer
2k views

Run a Python script in the background on boot

I recently installed the Google App Engine Development server on my FreeBSD home server to be able to test my GAE app remotely. What I can't figure out is how to run the Python development server as a ...
0
votes
0answers
12 views

Fedora 28 hangs when logging in shortly after boot

I am running Fedora 28 on a ThinkPad T460s. On the first log in, directly after booting, the screen becomes grey with the mouse pointer visible, but I cant move it. It stays like that for a few ...
2
votes
1answer
1k views

how to correctly delay the execution of a startup script based on a tested condition?

I need to start a service (namely ntp) only when true Internet connectivity is in place (not only a link up). I seem to have noticed that some startup scripts delay themselves when a condition is not ...
0
votes
0answers
23 views

Being sent to the text terminal when logging in instead of the GUI desktop after installing additional repos on Debian 9 [on hold]

I was trying to install python3.6 on my Debian by following some instructions I have got from a website, after adding a line to my repository, it was installing so many files and at some point my ...
6
votes
3answers
27k views

How to manage startup applications in Debian 9?

So I'd like to manage my autostart applications and e.g. disable those which I prefer not to autostart. How can I do that in Debian 9.0? I could not do so via the System Monitor and I'd prefer a GUI ...
1
vote
1answer
41 views

Splash in PID =1

I have just started learning about process in Linux. I have come around this command called - ps -ef (which will shows all the process running ) I get output like this UID PID PPID LWP ...
5
votes
8answers
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 ...
0
votes
0answers
45 views

CentOS 7 Black screen after gnome upgrade

Symptom: CentOS 7 stuck at startup when running at GUI level command line level works fine. Only mouse cursor can be seen everything else is black Press Ctrl + alt + F3 reads "A start job is ...
4
votes
2answers
209 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 ...
0
votes
2answers
875 views

Linux Mint 18 / Update problem/ DNS problem / Run script on startup

I have Linux Mint 18, and always (with Linux Mint 17 too) have a problem with the connection to some repositories in the update option. The solution that I found is to run this in terminal and it ...
1
vote
1answer
2k views

Alpine Linux run a startup script to change the /etc/issue

I have done the following shell script that update the /etc/issue with the current ip's of all non-loopback interfaces: #!/bin/sh echo "You can use one of the following ip addresses in order to look ...
2
votes
2answers
397 views

Explicit kernel module load at startup

I'm using grsecurity kernel which disallows automatic kernel load thus several systemd services don't work. After manually loading modules with modprobe and restarting module everything works ...
1
vote
1answer
4k 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,...
4
votes
1answer
6k 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
49 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
6 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/...
3
votes
1answer
1k 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
891 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 ...
0
votes
0answers
13 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
87 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
673 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
883 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
886 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
17 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 ...
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
1k 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
54 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
615 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
64k 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
111 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 ...
117
votes
3answers
53k 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
1k 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
59 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
135 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 ...