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

learn more… | top users | synonyms

0
votes
1answer
79 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
53 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
167 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 ...
6
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 ...
6
votes
0answers
151 views

How to pause (or capture) the messages that fly by at the end of startup sequence?

Towards the end of the "startup sequence"1, I see a longish series of diagnostic messages fly by very quickly, right before I see the login prompt2. AFAICT, most, if not all, of the lines making up ...
5
votes
3answers
342 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
83 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
25 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 ...
2
votes
0answers
79 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
76 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 ...
3
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
1k 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
108 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 ...
0
votes
2answers
188 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
177 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 ...
16
votes
2answers
19k 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
167 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
67 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
708 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
49 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 ...
4
votes
2answers
4k 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
957 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
161 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
19 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
193 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 ...
0
votes
0answers
40 views

Restart service after boot then enable networking ordering

Problem: Server application when first started upon boot has memory leak. When service is restarted, it will then run without issue. Temporary solution is to: AFTER the OS has completed booting, ...
7
votes
3answers
17k views

Running a script during booting/startup; init.d vs cron @reboot

I am currently trying to understand the difference between init.d and cron @reboot for running a script at startup/booting of the system. The use of @reboot (this method was mentioned in this forum ...
2
votes
2answers
8k 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
0answers
35 views

Why are Dolphin and Konsole running automatically in Linux Mint (Ubuntu-based, KDE)?

They are in fact running on each system boot and in double instance, even if I close all the instances before shutdown. I checked /etc/xdg/autostart/ and ~/.config/autostart/ but there are no ...
1
vote
1answer
24 views

how to run a script start-up on live distro?

I'm using a live distro installed on usb drive (persistence mode) Is any way to run a script automatically when machine starts?
0
votes
0answers
49 views

Autostarting shell applications using Startup Applications Preferences?

In gnome I run "Startup Application Preferences". After that I press add and in comamnd field I write: logkeys --start. However, logkeys doesn't auto start. How to fix it?
1
vote
0answers
16 views

Linux Mint Hangs on Battery Check, Can't Access Terminal

freaking out a bit here. Put in a lot of work tonight on a major paper that I cannot now access. I was just about to go to bed and launched Minecraft for a 10 minute time of decompression and ...
5
votes
2answers
1k views

How to permanently disable root-password prompt for recovery mode, RHEL7

Note: I asked a similar quesiton concerning version 6 of these bundles here. Note that 7 uses systemd and may have a different implementation In the rare cases that a RHEL or CentOS 7 system is ...
2
votes
1answer
162 views

How to permanently disable root-password prompt for recovery mode, RHEL6

In the rare cases that a RHEL or CentOS 6 system is prevented from booting by (for instance) an improper shutdown, or a forced fsck-check failure on boot, the console will prompt the user for a root ...
0
votes
1answer
109 views

How to effectively manage autostart in Linux Ubuntu/Mint (KDE)?

I am aware I can use 'autostart' package. However there are certain programs (e.g. 2 windows of Dolphin) which start automatically despite they're not in autostart. Also, certain program fail to run ...
1
vote
1answer
67 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) ...
1
vote
1answer
133 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 ...
0
votes
1answer
161 views

iso installed debian 8.2.0, but boot fails with strange textscreen artifact with red character

I got it to install on dev/sdb from DVD. (debian-8.2.0-amd64-DVD-1.iso) Basic install, default desktop. No extra packages from DVD#2#3 or via package manager installed. During startup, the ...
1
vote
0answers
16 views

Relative benefits of systemd and update-rc.d for boot scripting

I've been using update-rc.d to get scripts to run on startup on Yocto, which lacks an /etc/rc.local file. Now I've just come across systemd, which appears to do exactly the same thing. Can anyone ...
1
vote
2answers
30 views

Run script on startup for Old Linux kernel (3.0.0)

I need to run a script on system startup, but the Linux version is very old, so: There is no rc.local. Even when I created it and gave it a command, it was never run. There is no crontab at all. ...
1
vote
1answer
109 views

Linux Mint 17 Cinnamin + MySQL + turn OFF autostart

I have tried all the suggestions in hours of googling and still when I reboot and run service mysql status my server is running. since i only use mysql for database testing with my java apps i don't ...
2
votes
2answers
858 views

Arch linux can't login

My problem is that I can't login. If I try to loggin with correct username and password it doesn't do anything. I have error message on boot failed to create static device Nodes in /dev . This ...