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
1
vote
2answers
654 views

How do I load modules at startup in a certain order?

I have a group of modules that I need to be loaded at startup. I've followed the documentation for loading a module however I need load these modules in a certain order. I've tried creating a bash ...
1
vote
2answers
902 views

Upstart: launching something only once

Fact: If you use start on <event> for a job, your job might be run every time <event> occurs. The upstart cookbook mentions two methods to run a job only once. The first is logical to me, ...
1
vote
1answer
3k views

Finding log file of ntp daemon in Ubuntu 10.04 LTS

My Ubuntu is set to run ntp before dovecot at startup. (See my earlier question: The rc0.d,rc1.d,... directories in /etc) However, I suspect that dovecot may have finished executing before ntp ...
1
vote
1answer
5k views

adding a program on start-up by using LSBInitScripts

I use Debian Lenny (I know lenny is old and other bla bla) and would like to place a program on the start-up. I use update-rc.d by adding an executable file on /etc/init.d. By referring to http://wiki....
1
vote
1answer
715 views

Segmentation fault when executing a command in rc.local

I'm trying to execute xbindkeys -f /etc/xbindkeysrc command on the start up. I've put this in my rc.local including another command : #!/bin/bash echo OFF > /sys/kernel/debug/vgaswitcheroo/switch ...
1
vote
1answer
8k views

Automatic Startup of Oracle 11gR2 on CentOS 6.3

I've setup a handful of CentOS 5.6 servers with Oracle 11gR2 and not run into this particular problem, but I have hit a wall with CentOS 6.3 and auto-starting Oracle. Not sure if this is related to ...
1
vote
2answers
1k 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. ...
1
vote
2answers
3k views

Can a service script put inside init.d be called at startup and shutdown?

I'm running Red Hat 5.1. I have a script called sysinit that I added as a service using chkconfig --add sysinit. I have the following set in the file: #chkconfig 4 01 01 This creates one symlink ...
1
vote
1answer
1k views

removing startup item from com.apple.launchd

Im not sure if this is the right place for this kind of question, but here it goes anyways... I installed a program a few months ago, it had a startup option that I did install. Later, I decided to ...
1
vote
1answer
87 views

How to autostart more than one app in different workspaces in i3wm

I'm trying to start different apps in different workspaces without using classes. I have already tried the suggestion at start applications on specific workspaces when i3 starts by including in i3/...
1
vote
2answers
599 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 ...
1
vote
1answer
126 views

Mounts of systemd service script disappear

I have a systemd service file of the following kind. [Unit] Description=Mount some special file systems After=local-fs.target Before=syslog.service [Service] Type=oneshot ExecStart=/root/some-...
1
vote
1answer
79 views

Why can't a service startup at boot

I want to use systemd to make a service startup at boot. However I get the message saying that the service is inactive(dead): root@mdchost:/lib/systemd/system# systemctl status ...
1
vote
1answer
1k 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 ...
1
vote
1answer
17 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 ...
1
vote
2answers
84 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 ...
1
vote
1answer
1k views

sddm slow to launch [duplicate]

Recently sddm has become very slow to show the login screen on Arch Linux. After I see the bootup message "Reached Graphical User Interface target" (or similar), there is a long delay of more than 10 ...
1
vote
1answer
39 views

Suspend boot process

I am looking for something that suspends the boot process (before certain services are started). It would prompt the console for user input after which I could use that input and continue booting the ...
1
vote
1answer
2k views

Executing .jar File on Startup

I'm running a Nukkit Minecraft server on my Raspberry Pi (I know it doesn't have good hardware but I'm experimenting) and googling different ways to make a bash file for Linux. I have made the file ...
1
vote
2answers
2k views

Forcing command to run on logout

I want to run a command, say touch ~/test.txt every time I'm logging out from my computer. Is that possible, and if so how should I go about doing this? I've looked at other responses but they were a ...
1
vote
1answer
2k views

Trying to make mongodb start on startup Debian 9

So when I type: sudo update-rc.d mongod defaults I get: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), ...
1
vote
1answer
1k 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@...
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 ...
1
vote
1answer
60 views

Start SWT application after system start

I am trying to start a java SWT application after the system has booted and the user has logged in on a debian based distro (RaspbianOS on a Raspberry Pi). Therefore I have added the line sh <path&...
1
vote
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 ...
1
vote
1answer
3k views

How to debug Ubuntu startup process

./Hello! My Ubuntu 16.04 LTS installation, probably after installing updates, now unable to start Unity after user login. It just freezes! Google'ing won't help this time :/ I.e. OS boots, show ...
1
vote
1answer
583 views

Running code without ssh in beaglebone black

I want to run some code in Beaglebone black without doing ssh when I apply power. I have tried putting some commands to run the code in ~/.bashrc file but it only works when I login using ssh. I have ...
1
vote
2answers
5k views

Running Commands on Startup

I am following this tutorial on using a mobile phone's accelerometer. In order for it to work properly you have to run three commands on startup every time... rfkill unblock bluetooth killall ...
1
vote
1answer
2k views

Garbled text on startup

I'm having an issue with my Ubuntu Server 16.04 installation. I have it running on a Zotac Z-Box CI23 Nano. It installed fine, but on its first boot all I had was a blank screen. I edited /etc/default/...
1
vote
1answer
100 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
2answers
2k 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 ...
1
vote
2answers
2k views

systemctl .service file not working as expected

I am working with the service files in Centos 7 and am creating one for xymon. The issue I am running into is I am trying to configure start, stop, and restart. I went as far as using an existing ...
1
vote
1answer
2k views

Custom scripts under /etc/profile.d and /etc/init.d - rhel6 and rhel7

I need to start my script during boot time. I have read that the scripts under /etc/init.d & /etc/profile.d are sourced during system startup. How different are these directories? Other than the ...
1
vote
1answer
3k views

Systemd vs rc.local for a startup script post installation? (completely hands free)

I have a custom Ubuntu Server ISO that answers installation questions via preseed and kickstart files. It also installs additional .debs I've placed on the ISO during the actual installation as well. ...
1
vote
1answer
29 views

Autoloading a particular driver, based on a detected specific kernel

I need to write a script and determining its placement within Debian 7.9 filesystem. The script needs to be executed automatically on startup and, after checking what kernel is currently loaded (2.6....
1
vote
1answer
67 views

Relation between shell start up processes and environment of parent process

"How are shell variables related to the environment that a process started by the shell has on start-up?" I read If processes inherit the parent's environment, why do we need export? My current ...
1
vote
1answer
552 views

How to turn on rEFInd in the startup again? [closed]

I formatted old macbook book, installed Mac OS X El Capitan, and refind boot loader, and linux mint. Installed: El Capitan rEFind boot loader Linux Mint 17.2 Rafaela Mate with Codecs (64 bits) At ...
1
vote
1answer
1k views

How to bypass rEFInd boot loader and boot straight to Linux OS straight?

How to bypass rEFInd boot loader and boot straight to Linux OS straight? Hi Guys, I managed to install rEFind Boot loader and Linux Mint on the old macbook. Whenever macbook turns on, it will go ...
1
vote
1answer
111 views

Abortable task on startup on Ubuntu 14.04

I have a VM that needs to boot up, perform a specific task, and then shut itself down. It also needs to be possible to abort the special startup sequence to get the "regular" bootup behaviour, i.e. ...
1
vote
1answer
1k views

Run a udev rule for a USB flash drive when the computer is started with the device inserted

I want my Ubuntu 15.04 x64 server system to execute a script whenever a certain flash drive is inserted. So I created a custom rule file with the following content ACTION=="add",SUBSYSTEM=="usb",ATTR{...
1
vote
2answers
1k views

How do I display a message when I logon?

I am trying to display a message when I log on to Linux Mint 17.2. I have tried various methods without success: 1) I created a file /home/myusername/Desktop/startup-message.sh as follows: #!/bin/...
1
vote
1answer
1k views

How to autorun a C# mono applications on Raspberry PI startup?

I have a Raspberry PI running Raspbian and I connect to it through RDP or SSH. And I have 2 applications in C# and I run them through mono. One is a WinForms app (GUI app, which cannot be launched ...
1
vote
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), ...
1
vote
1answer
340 views

linux run jar on startup after mysql is running [closed]

Is there a way to run a jar at startup on CentOS 6.5 but only after MySQL is running?
1
vote
1answer
247 views

Some of my applications are always started when I login to Linux Mint

When I login to the system I have few Nemo windows open. I did it few weeks ago, and probably forgot to close at shut down. But now Mint remember my open application and always open it after start up:...
1
vote
1answer
307 views

need a detailed guide to start scripts and applications in xfce4

I am looking for a detailed explanation about where is the right place to start scripts applications during the boot process. It seems there is either confusion or not need for the detail I am looking ...
1
vote
1answer
61 views

Scheduling a task whenever the system starts

I've installed Ubuntu alongside Windows 8.1. I want to create a task that mounts some of my Hard disk drives whenever the system starts. What Linux command can I use? Thanks in advance.
1
vote
1answer
971 views

CKB Arch - Daemon run on startup

I have a Corsair K65 RGB Keyboard. To start it working, I had to clone https://github.com/ccMSC/ckb , compile and run the [clonedir]/ckb/bin/ckb-daemon . Every time I boot, I have to pull out my old ...
1
vote
1answer
567 views

Script not running correctly on startup

I have a very simple script that echoes some stuff then starts a VNC Server. It works fine when I run it on the command line but when it runs on startup it gives some strange results. Here is my ...
1
vote
1answer
3k views

Start application as root at boot time on Ubuntu 14.04

I'm working in Ubuntu 14.04 I have an C++ application which I have compiled. I get the executable which name is "program". Well the thing is that this program use opencv and sockets then if I try to ...