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
34 views

Unable to start postgres unless I type the command to restart it

Whenever I try to start my project the following error occurs. django.db.utils.OperationalError: could not connect to server: No such file or directory Is the server running locally and ...
2
votes
1answer
566 views

Maintain ip link settings across reboot

Every time I turn on my computer, I have to manually set # ip link set wlp5s0 up in order to use my wireless card. Is there a way to maintain this setting across reboots? So if I set the interface up ...
1
vote
1answer
168 views

Booting KDE on Chromebook 14

I have installed KDE on my HP Chromebook 14. I am, however, having difficulty with setting KDE as the default startup window manager.
4
votes
3answers
13k views

Run a GUI program at startup

I am using Ubuntu 14.04. I wrote a small script named trial. The contents of the script are as follows: #!/bin/sh SHELL=/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin sh -c firefox I copied the ...
0
votes
1answer
532 views

I cant get my sh script to run at boot in rc.local

Here is my /etc/rc.local: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on ...
2
votes
1answer
97 views

Stop volumes/partitions from auto-mounting

I use Lubuntu. My Windows partitions mount every time I use the Linux OS; is there any way to keep them from auto-mounting? How can I mount a partition when I want to? /dev/sda5: UUID="B9C1-DD76" ...
2
votes
2answers
238 views

Debian 9 (Stretch): Thunderbird mistakenly creating folder “.icedove” when starting

I am a victim of this bug: Thunderbird not start with .icedove folder - Debian 9 #1686 Description: When starting Thunderbird it automatically creates a directory named .icedove. If this directory ...
1
vote
1answer
703 views

Intermittent PCIe Bus Errors on startup (Arch Linux)

Since April when I built my computer with Arch Linux OS, I have been getting some errors that seem to point to the ASPM control of some USB 3.1 on my ASUS "ROG STRIX Z370-E GAMING" motherboard. I ...
42
votes
5answers
9k views

What exactly does init do?

I am creating a linux distro and now I need an init program. I can code in c really well and I know quite a bit about linux (not much but I've been using arch linux for development for 4 years), so I ...
6
votes
1answer
5k views

Automatically run rfkill unblock on startup

I'm running Elementary OS on an old(er) HP Pavilion dm1. Unfortunately, on startup my wireless is hard disabled, and I need to run sudo rfkill unblock all to get it up and running. Works fine once I ...
0
votes
1answer
263 views

run GUI application on startup after network is up

I need to automatically start a GUI application at startup, but after network is up, what is the right way to do it? My OS is Lubuntu with LXDE. I tried different ways, such as crontab, rc.local and ...
4
votes
2answers
1k views

How to associate a script at boot time to a specific run level?

I am trying to understand how run levels work. I understand the meaning of the 7 run levels and I understand that they were usually configured by /etc/inittab, which used to call /etc/init.d/rc, which ...
0
votes
1answer
93 views

Ubuntu with Xmonad - How to run programs on startup

I'm using Ubuntu Mate with XMonad. I can't seem to understand how to run something at startup after the login. I want some programs like Firefox to run when I login to my desktop. Now let's say I ...
1
vote
2answers
73 views

Can boot Windows but unable to boot any linux

My laptop (Thinkpad W520) suddenly shut down without warning... I tried to reboot, passed grub without issue but, again, shut down during the boot process... I tried recovery mode: same. Live cd and ...
5
votes
2answers
4k views

How can I make Debian run m python script at startup?

I have this script in my home folder (pi): server.py. How could I make Debian run this script at startup so I don't need to log in and run it manually?
8
votes
1answer
31k views

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

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 ...
3
votes
1answer
74 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://...
0
votes
1answer
91 views

How to prevent this service from starting at boot

This question is different from the possible candidate since here I am asking how to remove the service at startup I am using a Seeed ReSpeaker Core v2.0 board. I would like to use the UART ...
2
votes
1answer
2k views

How to make Firefox auto launch at startup in fullscreen on Linux Ubuntu?

Firefox Ready Objective I want my ubuntu to start and show a Duck Duck Go in fullscreen. Motivation The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ...
-1
votes
1answer
66 views

How do I wait for networking before running a script? [duplicate]

I have a .bashrc file and inside it I have added the line ~/bin/startup2.sh. This works fine if I open a terminal after startup. But when I open a terminal on reboot like this, I get an error that ...
4
votes
4answers
6k views

Systemd wait for network interface to be up before running service

I have a couple questions about systemd. I'm having issues consistently getting my script to run once the network interface is up. I have tried Requires and After as seen below but is inconsistent ...
15
votes
4answers
23k 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 ...
0
votes
1answer
39 views

How to run files automatically after I power on my raspberry pi?

Is there anyway to have files (texts/videos) saved in a specific folder to run automatically once I start up my raspberry pi? I am creating a LAN of raspberry pi's with one central laptop connected ...
15
votes
6answers
17k views

Why do I need initramfs ?

I found that if I choose jffs or sd as file system(and not initramfs),the kernel size is very small (1.4 MB as compared to with initramfs-3.4MB). It shows that initramfs takes concidreably large space....
13
votes
3answers
5k views

Why won't my xmodmap command run on startup/login?

I want to run this command every time I log in (or every time I start up, if that doesn't work): xmodmap -e 'keysym Delete = Menu' -e 'keysym Menu = Delete' I've tried many things. I put the command ...
1
vote
1answer
15 views

Problem with additionally starting konsoles when booting (debian)

I am using the following command to start a konsole + execute a command at startup. konsole -e 'bash -c "MY_COMMAND;bash"' The goal is that the konsole stays open after executing the command (which ...
2
votes
1answer
84 views

How to load your own GUI app without the rest of the GUI in Linux?

Is there a way to load my own GUI app without the rest of the GUI in Linux? It's something like running Winamp only, and practically turning your PC into a music player.
-1
votes
2answers
1k views

new kali installation (EFI), I can't start on kali OS without the “super grub 2” usb key

I got a new computer. This computer works before with a multi boot (ubuntu OS, kali OS and windows OS). I wanted to erase all datas for install only a Kali linux OS (no multi boot, just only Kali). ...
0
votes
1answer
315 views

How to run a “Keep NumLock always on” command in Linux Mint 19 Cinnamon on each reboot / re-login?

In an answer of my question on Code Review: Keep NumLock always on in Linux (C++), I am pointed to the right solution for this problem, that being a command: setxkbmap -option numpad:mac which ...
2
votes
2answers
137 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 ...
1
vote
0answers
20 views

Why has Metacity stopped running at bootup, after I added gtk.css?

I'm running live knoppix 7.7.1 on a USB stick with persistence. Metacity has stopped running at bootup, after I did the following. I addded the file gtk.css to the pre-existing empty directories /...
1
vote
0answers
38 views

Is there a way to run a program at startup and in the background without root access?

I'm trying to have it so that my program is able to run at startup and in the background without having the user to be root. Ideally this would happen at the installation of the program and not using ...
0
votes
2answers
109 views

Why I cannot initialize dummy interface at bashrc?

I did try to initialize a dummy interface in shell manually without no problem. In order to bring up this interface at every boot up process, then i tried to add it to /etc/bashrc or /etc/profile as ...
2
votes
3answers
412 views

Random EXT4 FS errors

I'm having a wired problem in my laptop. It works fine but almost every hour the screen freezes. When I force the shutdown and start it again, I see problems similar to this: The only solution I ...
1
vote
1answer
925 views

How to start command on boot in Fedora 26 to reverse scroll mouse?

I am trying to start the following command on boot "xinput set-prop 13 289 1" I created a systemd service called reversemouse.service When I try to run it I get the following error: [brandon@...
2
votes
1answer
2k views

How to start KDE Plasma 5 on start up on FreeBSD 11.2?

On FreeBSD 11.2 I have plasma5-plasma-workspace installed, along with x11/kde5 and sddm and I'd like to boot KDE Plasma 5 on boot. I've DuckDuckGo searched this topic but I haven't found any clear ...
7
votes
3answers
17k 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 every time and start the machine there. Also, I do not need the the screen output, as I will just ssh from the OSX ...
0
votes
1answer
453 views

Delayed script to boot exagear and skype using RPI3 on debian

I'm using Exagear desktop to run Skype on RPI3 (Raspbian/Debian). I have some naive users also using the system because of which I want to load both of them on boot (maybe delayed startup service). I ...
10
votes
2answers
19k views

Systemd: how to make a systemd service start after network fully connected?

Background I am writing a simple script to be running in Raspbain on Raspberry Pi 2, simple turn a LED on to indicate I am ready to connect with SSH from my desktop computer. The script is not ...
4
votes
2answers
1k views

Is there a way to wait for boot to complete [closed]

With systemd one can query if the boot has completed by the command systemctl is-system-running which returns error code if boot hasn't completed. If one want to wait for the boot to complete one ...
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. ...
1
vote
0answers
25 views

Difference in rc.local and lxde autostart

I have created a python script with GUI and I want to be able to run it at start up once the Raspberry Pi boots. I placed my script in the rc.local but the GUI does not appear at start up. But when I ...
2
votes
1answer
803 views

Conky auto startup in Fedora 28

This is recurring question yet I cannot make one program (conky) to automatically start when GNOME 3 starts. In ~/.config/autostart I have the following file: cat ~/.config/autostart/conky.desktop [...
1
vote
2answers
1k views

How to run Bash script on startup on Linux?

I am running Linux 4.9.11-1.0.0 on my iMX7 dual development board. I have a test.sh file that I would like to run at startup. It currently only has a bunch of echo statements in it (just for testing ...
2
votes
2answers
19k views

How to switch from CLI to GUI Ubuntu

I am currently running Ubuntu 16.04 operating system. In order to experiment, I had asked for the way to login to Ubuntu CLI mode only (i.e. the GUI version must not start at all). In response to my ...
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 ...
2
votes
2answers
1k views

When is .profile executed?

I was installing an application and had trouble with understanding why the installation guide told to add an export command to the one of startup files. I did not see when it is executed. That was the ...
0
votes
0answers
238 views

Ubuntu 18.04 slow startup apparmor=“DENIED” error

I have a fairly recent installation of Ubuntu 18.04. Lately it has been really slow on startup. Another similar question suggested looking at dmesg and there are what look like two errors to me: [ ...
2
votes
2answers
7k views

What is bootstrapping?

I am reading about bootstrapping and am confused because the term is used so much in tech (specially bootstrap itself as the CSS framework). But as far as I know bootstrapping in terms of Linux ...
5
votes
1answer
7k views

Startup services on Debian 9

I tried to remove some services from startup using various software like: bum sysv-rc-conf rcconf But... some services are still executed, like MySQL, OpenVPN, MongoDB etc. I wonder if I am missing ...