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

learn more… | top users | synonyms

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

How to manually add startup applications on Mint 17.3

I have fully updated Linux Mint 17.3. I need to add a bunch of applications to startup. The problem is, the following dialog doesn't work - It won't add me an application from the list, nor it will ...
9
votes
3answers
4k views

What are the minimum root filesystem applications that are required to fully boot linux?

It's a question about user space applications, but hear me out! 3 'applications', so to speak, are required to boot a funcitonal distro of Linux: Bootloader - For embedded typically that's U-Boot, ...
13
votes
4answers
16k views

How can I run a script that starts before my login screen?

I was calibrating my touch screen, and saw that the best tool around was xinput_calibrator. So I used it. It have two options (one of which did not work), so I am here for the second. It says I should ...
0
votes
1answer
37 views

When do cron tasks begin to execute?

Having read through the Wikipedia page on cron, it is unclear to me when cron begins to execute the tasks I have defined in the crontab file. Is it during the boot process - or even at the end of it - ...
1
vote
1answer
40 views

Which configuration files override /etc/default/locale?

For some strange reason, I find my I have several LC_ locale variables set to a value I don't recognize having chosen (en_ZA.UTF-8). So, I want to set it differently - permanently, from the command-...
0
votes
1answer
83 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. ...
2
votes
2answers
2k views

run executable on boot

For the life of me, I cannot get this to work. I'm running Debian on Raspberry Pi. running this command from CLI: /home/pi/domotiga/DomotiGaServer.gambas -d runs my home automation server. How ...
4
votes
2answers
223 views

Why is boot slow?

I'm using Fedora 23, MATE edition. The computer feels slow to boot. How can I speed it up? Full details http://i.imgur.com/vrLGXDp.jpg $ systemd-analyze Startup finished in 16.571s (firmware) + 2....
1
vote
2answers
96 views

How can I start program on boot in Ubuntu 14.04?

Is the root crontab the only way? I'm starting up a MC server and don't want it to need me to manually restart it each time the server reboots for whatever reason. I don't want any login required ...
0
votes
0answers
23 views

Successful Kali 2 VB Install, but Cannot Start

I have 32-bit Ubuntu host machine with VirtualBox. Downloaded and installed kali-linux-2016.1-i386.iso from Kali Linux Downloads Here is the configuration But when I attempt to run Kali 2 from ...
1
vote
2answers
4k views

Run gui application on startup

I can run a script at boot by adding the following line to my crontab: @reboot perl /path/script That works fine. But the problem arises when I try to run a gui application such as gmail notify. It ...
1
vote
1answer
21 views

alsa config for startup

I'm having a problem with my headphone. A friendly person over at the #alsa irc channel came up with this to rectify: sudo hda-verb /dev/snd/hwC0D0 0x15 SET_EAPD_BTLENABLE 2 However it has to be ...
4
votes
3answers
29k views

Disabling graphical login in Debian wheezy

I have installed Debian wheezy on my machine with a netinst image, now I would like to deactivate the desktop and boot straight to the command line, not only that but I would like to not waste any ...
0
votes
1answer
25 views

How to get a list of all user scripts that are called on startup?

I have emacs daemon launching on startup and I have no idea where it is being launched. I've checked systemd and I don't have a service neither in /etc/systemd/system nor in /usr/lib/systemd/system. I'...
1
vote
0answers
51 views

How to start a service upon an lxc container start?

I would like to start OpenVPN automatically upon the launch of its lcx container. The container runs Ubuntu 14.04.4 LTS, service openvpn start is successful (when launched from the running container) ...
17
votes
4answers
36k views

Purpose and typical usage of /etc/rc.local

The header looks like this: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure that the script will "exit 0" on success or any other # value on error. What is ...
2
votes
1answer
137 views

Set environment variable (TZ) for all startup scripts and inittab

I'm working on an embedded Linux system and looking for a way to set the time zone for all processes. The question is: Is there any possibility to set the TZ environment variable at boot time (init ...
0
votes
1answer
102 views

How to make a simple script run at login everytime

I'm extremely new to Linux style computing. Please keep that in mind. I figured out how to write a script for the calendar to pop up in the terminal. !/bin/bash Shell Scrip to display current date, ...
0
votes
0answers
66 views

Does the following error indicate my system is compromised?

[FAILED] Failed to Verify Integrity of password and group files. See 'systemctl status shadow.service' for details. I get this message in T1 every time I start up the computer but I havn't noticed ...
1
vote
2answers
200 views

Custom service (systemd) won't run on startup

I'm creating a non-interactive kiosk in Raspbian. I gutted everything I didn't want - desktop managers, various graphical services etc - the script starts X, an absolutely minimal desktop manager and ...
10
votes
2answers
5k views

How to change timeout in systemctl

When I boot on my debian, startup hangs for approx 2 minutes on the line: Loading, please wait... [ 5.191043] systemd-fsck[129]: /dev/mmcblk0p2: clean, 234192/873120 files, 2335263/3491328 blocks [...
5
votes
3answers
386 views

Do I *need* `exit 0` at the end of `rc.local`?

What is the purpose of the exit code in rc.local? I seem to execute just fine without it. The header shows: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure ...
3
votes
2answers
3k views

Autostart a GUI application in Debian as root

I would like to know which is the most correct way to make my Debian automatically start up a graphical application once the desktop has been loaded. The app must be started as root.
4
votes
1answer
96 views

When is the appropriate time to start Redshift using upstart?

I have been trying to get Redshift to start before login so that the bright welcome screen does not blind me, in particular when switching users. Running Redshift as a service does not seem fully ...
0
votes
1answer
31 views

Start radio with systemd service

On a headless RaspberryPi, I would like to automatically start radio on boot, without any human action. I have written this file as /etc/systemd/system/radio.service : [Unit] Description=Radio Wants=...
2
votes
0answers
81 views

Running a service before log in

I don't like opening a question here for such a, seemingly, simple issue; but I've been stuck on this for a while now and I have no idea what to do next. I'm running a Fedora 22 system on a ...
1
vote
0answers
82 views

Configuring update-rc.d script for startup only

I'm running Yocto Poky and have a test script I want to run on startup only. The script just appends date to a file echo $(date) >> ~/test.txt. I add it to the daemon with: update-rc.d -f ...
4
votes
4answers
12k views

RHEL7 text-only installation

I want to install RHEL7 in purely text-only mode. Although I added the inst.text and inst.cmdline kernel option (since I want it to install from kickstart) it still requires more than a console as it ...
3
votes
3answers
2k views

get rid of “No Caching mode page found” message during boot

during early boot, I get following error message: [sdb] No Caching mode page found [sdb] Assuming drive cache: write through If I understand correctly, this is actually just a harmless info message ...
0
votes
3answers
144 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,...
0
votes
2answers
220 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 ...
0
votes
0answers
14 views

Add CLI based Startup Application

I would like to start the cmus in terminal as a startup Application. I tried: --> cmus command as startup application. But it didnot open in the terminal.
1
vote
0answers
199 views

Disable isc-dhcp-server form startup

I am working with isc-dhcp-server on ubuntu 14.04.1, and i don't want that it run on start up so I disabled it from rc with sudo update-rc.d -f isc-dhcp-server remove But it still run on startup, I ...
0
votes
0answers
19 views

systemctl script not able to read and write

I have a script running at start up using systemctl. Shown below. The script that runs just reads and writes data from a txt file. [Unit] Description= Start sample script After=local-fs.target getty@...
16
votes
2answers
20k views

i3wm : start applications on specific workspaces when i3 starts

How can I start applications on specific workspaces in i3 when it starts? Why is this not working in my config file? : workspace 1; exec firefox; workspace 2; exec chromium; workspace 1
0
votes
0answers
175 views

Graphical UI stops working shortly after boot [Linux Mint 17.3]

I recently updated to Linux Mint 17.3 Cinnamon 64-bit from 17.2 through the update manager. Upon reboot everything was in working order so I decided to update the kernel as well which was probably ...
0
votes
0answers
79 views

Run mate-terminal on startup as root without password

I am using Linux Mint 17. I want to run mate-terminal on startup as root without need to type password (I want it to perform automatically) and execute python script in it without closing terminal ...
2
votes
1answer
969 views

Where do I find boot log in Debian 8 (to debug autostart issues)?

I am trying to debug why certain apps fail to autostart (autostart package). Premise: My final goal is to understand why the autostart sequence is broken (probably due to certain packages' autostart ...
1
vote
0answers
15 views

Autoloading a particular driver, based on a detected specific kernel

I need some help in writing a tiny script and determining its placement within Debian 7.9 filesystem. As the title says, the script needs to be executed automatically on startup and, after checking ...
1
vote
2answers
54 views

What is the proper way to start a driver on boot?

I have succeded (full story here) on installing some ethernet card that, according to the docs, must be manually started: # modprobe e1000bp I would like this driver startup to be performed on boot ...
5
votes
2answers
5k views

What is the sequence loading linux kernel module on startup? How priority is set to them?

I have a Linux kernel module which I compiled dynamically. How is it added to startup? There are lot of .ko files in /lib/modules. How is priority set for loading these modules?
1
vote
1answer
980 views

Internet connection being lost after about 10 seconds

Okay so I have looked at this post Network connection drops after a few seconds, Which looks similar to the problem I am having but I have only just got Linux and can't work out what to do. Before I ...
2
votes
2answers
8k views

Set global environment variables at boot in Solaris 11

I am wanting to create a file in Solaris, so that I can export a few "items" whenever the machine is started up. i.e. I want to export ORACLE_HOME and ORACLE_SID and some other directories, of my ...
6
votes
3answers
3k views

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

I have struggled with this problem for two days and have tried many things to fix it to no avail. I'm hoping you guys can help me out. I am trying to create an Upstart job that starts a new screen ...
1
vote
0answers
184 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 ...
0
votes
0answers
20 views

Run tpb at login or startup and have it continue in the background (Debian+LXDE)

I'm trying to have tpb automatically, actively running when I'm logged in. I'm not sure when it needs to be run to continue on in the background after the GUI's started and I've logged in. The ...
1
vote
1answer
42 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
0answers
218 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 ...
1
vote
2answers
3k views

Why FreeRADIUS service won't work on Centos?

I have installed FreeRADIUS server on centos via yum successfully, but I couldn't start radiusd service. when I run as root user and exec the following radiusd -X an error is occurred. [root@userAAA ...