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

Should I run fsck on boot for an amazon ec2 image?

I have an Ubuntu micro instance running on amazon EC2. Recently after logging in I was alerted: *** /dev/xvda1 will be checked for errors at next reboot *** I've rebooted a couple times using init ...
2
votes
2answers
326 views

Running script once when X is initialized

Where should I put a bash script if I want it to be executed once during X startup as part of system bootup. For example, I want to start up VPN on my machine as root user once X starts up. When X ...
2
votes
2answers
107 views

What is the systemd-native way to manage NIC ring buffer sizes before bonded interfaces are set up?

Managing NIC ring buffer sizes with ethtool is simple, for example: ethtool -G eth0 rx 4096 tx 4096 (Or replace eth0 with whatever interface you need to manage.) Doing this live is easy. Trouble ...
2
votes
1answer
29 views

Setting up a screen session on system startup

I have a raspberry pi on which I'm running some services. I need to be able to ssh into the machine and monitor those services. Currently, what I do is I log in, run screen, then create three windows ...
2
votes
2answers
48 views

How to hide/disable preprompt messages?

When we boot a GNU/linux system it shows lots of messages on stdout. And then, immediately before the prompt it shows something like this: Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 ...
2
votes
1answer
981 views

System is booting up. Unprivileged users are not permitted to log in yet

Is there a way (other than permit root login on the target machine) to work-around the following: $ ssh 192.168.0.14 user@192.168.0.14's password: "System is booting up. Unprivileged users are not ...
2
votes
1answer
4k 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 ...
2
votes
1answer
979 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 [...
2
votes
1answer
2k views

Linux script not running on start up

Hello and thank you for being so helpful. I am trying to run a script at startup that reduces the power limits of my gpus. The shell command is in init.d and I have tried using symlink to rc1 and rc3. ...
2
votes
1answer
735 views

How to make that MATE runs a command at session startup?

Question- How to run a command at startup? Background info I have a problem with the tap to click action that isn’t enabled, so that it's solved using synclient TapButton1=1 TapButton2=3 ...
2
votes
1answer
1k views

Systemd Fedora 25 startup script permission denied

I have been following numerous tutorials on how to write a startup script for systemd (Fedora 25 on Vbox). However, I'm not able to make it work. Here is the bash script /home/dario/Desktop/unix/...
2
votes
1answer
747 views

Cannot mount vboxsf from /etc/rc.local

I'm mounting a sharefolder using mount -t vboxsf with root without problem by the command mount -t vboxsf logs /tmp/logs/. I'm trying to mount this sharefolder on every reboot of the machine so I ...
2
votes
2answers
117 views

Trying to have a command start on boot, but not working

I have been fighting with the problem for three days now. I have a computer that I am setting up for a friend and I have Zorin OS 12 on it since it was the first thing that came to mind that was ...
2
votes
1answer
713 views

Debian Linux - run script/app on boot

I have a .jar file which I run like this: java -jar server.jar 4242 So I have a script java-server.sh to launch it: #!/bin/sh java -jar server.jar 4242 & server.jar should start working on ...
2
votes
1answer
2k views

Commands in init script refuse to run or actually do anything

Edit -- So it turns out that this line is the culprit . /lib/lsb/init-functions If I comment out that line then the commands are actually able to run. Why would this be? I'm able to source this file ...
2
votes
1answer
625 views

How to delay a program from starting on boot up - Xubuntu

I am running Xubuntu and have several programs automatically starting when the computer powers up. All the programs starting at once is causing me issues with having the programs talk to each other. ...
2
votes
1answer
2k views

Using readahead in Debian Jessie

The article BootProcessSpeedup on the Debian Wiki lists a tip to speed up boot time. It says to install readahead and then #touch /etc/readahead/profile-once. It seems like an outdated article, ...
2
votes
1answer
419 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 ...
2
votes
1answer
4k views

Changing the /dev/tty* permissions at startup

My solution (ArchLinux ARM on RaspberryPi) requires that a non-privileged user has to have access to the /dev/ttyAMA0 port. In final implementation that user will be automatically logged in and a ...
2
votes
1answer
632 views

execute chmod on boot time on headless debian

I am programming a (web based) POS system, dedicated to be running on a debian based ITX-server with apache2 etc. Currently I am using Lubuntu 14.04 LTS for development (and for the 1st customer) with ...
2
votes
1answer
573 views

don't start xorg on boot [duplicate]

I have found a lot of question about Xorg not starting by default, but this is actually what I want. How can I have Linux Mint (17 Quiana) not start GUI, just the shell (I believe that is supposed to ...
2
votes
2answers
1k views

Execute root command after a user starts the session

I'm trying to find how is possible to execute a root command when a user starts their session. I found that adding commands to this file /etc/rc.local should execute the commands after the boot, but ...
2
votes
1answer
651 views

Can't reliably create a directory on startup after ec2 instance mounts its ephemeral drives

This particular instance type mounts two ephemeral drives, in /dev/ and /mnt/. I have to create working directories for one of my services in these paths at startup or the services won't launch. ...
2
votes
2answers
891 views

Execute user script as root in startup applications

I just created a script (logscreenlock) to log lock/unlock screen events (derived from this post): #! /bin/bash dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver'" | ( while true;...
2
votes
1answer
80 views

Problematic booting process

About a month ago I installed Lubuntu 11.10. Since that time there is a problem with booting and shutting down. Booting is endless. This screen never disappears, so I have to manually press the ...
2
votes
2answers
2k views

How to permanently remove obsolete icon from Ubuntu Xfce notification tray?

Since I uninstalled blueman, the obsolete icon persists in my Xfce (Ubuntu 11.04 64 bit) notification tray with a placeholder. There is a way to hide but not to remove it. Can you show me how to ...
2
votes
0answers
52 views

systemctl custom service doesn't start on boot, but starts OK manually

I have a Debian stretch on RPI. I need to start a custom service on boot up. /lib/systemd/system/lora-packet-forwarder.service Service is enabled, but shows up as inactive lora-packet-forwarder....
2
votes
1answer
471 views

Ubuntu 18.04 VM in emergency/maintenance mode due to failed corrupted raided disk

I have a VM which has an attached raided device with fstab entry: /dev/md127 /mnt/blah ext4 nofail 0 2 The raided disks are corrupted and during startup the unit entered emergency/maintence mode, ...
2
votes
0answers
6k views

Boot stuck at “Started TLP system startup/shutdown.” [closed]

OS: KDE Neon 5.14 based on Ubuntu 18.04 Kernel version: 4.15.0-42-generic I tried booting from an older kernel version from the grub menu, still the system won't boot. It shows a long list of ...
2
votes
0answers
324 views

troubleshooting AMD-Vi IO_PAGE_FAULT

I have been trying to run Linux on a PC with an AMD CPU. The installer for Ubuntu 16.04 loads fine but once the OS is loaded on the hard drive upon reboot I get a flood of console errors reading: ...
2
votes
0answers
169 views

Very long ubuntu startup time

I've just installed Ubuntu (on an SSD) and startup takes over two minutes. I've checked "dmesg" and found a clear 90 seconds process that probably shouldn't be there. [ 13.831788] audit: type=1400 ...
2
votes
0answers
115 views

~/.bash_profile not executed upon login, but ~/.profile is [duplicate]

I'm running Ubuntu, with Gnome3 as my desktop manager. While debugging some initialization issues (the usual confusion over bash_profile, bashrc, etc.), I found that given the following files, # ~/....
2
votes
0answers
115 views

How to turnoff Debug mode in Jboss server on a Linux machine?

When I start a JBOSS server 6.4 on my linux machine, it displays all the messages. But I don't want to see those messages, hence need to disable them. How can I turn off those messages in JBOSS 6.4 ...
2
votes
1answer
102 views

Bash script functions properly after GUI startup, but works differently when called from Autostart

the script is called from /home/pi/.config/lxsessions/LXDE-pi/autostart with the line: @bash /home/pi/Documents/openContent.sh /media/pi index.html http:/google.com and openContent.sh is: #!/...
2
votes
2answers
676 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 ...
2
votes
1answer
348 views

XOrg slow boot time

I have a Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 system with GNOME. It takes up to a minute to boot. I have two screens connected to a NVidia GTX 970. [ 7.660] (--) NVIDIA(GPU-0): AOC 1950w (...
2
votes
0answers
647 views

Start process at startup

I have installed JDownloader on my Debian based NAS System and want to get JDownloader starting at boot. I have setup a script in /etc/init.d/jdownloader and can start JD with SSH like /etc/init.d/...
2
votes
0answers
529 views

Systemd Synergy Unit File

I have a problem with systemd and Unit files. I am using Ubuntu 16.04 Gnome Edition and I want to start up the application "synergy" when I log in. After some research, I've learned that user unit ...
2
votes
0answers
401 views

Non blocking Dhcpcd via Systemctl

I have seen the --no-block argument with systemctl start but I have no idea how to have this in a config (ex.: /usr/lib/systemd/system/dchcpcd.service) or do this with the systemctl enable command. ...
2
votes
1answer
668 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 ...
2
votes
0answers
24 views

Debian/Ubuntu:redirect boot messages to file? [duplicate]

I know that something similar it's been asked before but I'd like to know if is possible, during the boot, to redirect the output (messages) also to a file. I mean, I know that I can find that ...
2
votes
0answers
179 views

Porting kernel 4.6 to ARMv6 board (Samsung S3C6410) which runs 2.6.38

I'm trying to get kernel 4.6 running on an S3C6410 board. In order to complete the port and to boot fully, I need to configure the kernel to work with the NAND flash and the SD controller on the ...
2
votes
0answers
372 views

scp and rsync not working when executed within .sh files from “startup programs window”

With Ubuntu Mate 16.04, I have a file my_backup.sh like this: # Log just for trying echo $(date) >> /home/albert/dia_hora # BBDD NOW=$(date --date="yesterday" +"%d") FILE="...
2
votes
0answers
157 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 ...
2
votes
0answers
336 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 ...
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 ...
2
votes
1answer
703 views

Script to run at shutdown

I'm trying to create the equivalent to rc.local that runs last during startup, but to run first during shutdown. I basically copy/pasted /etc/init.d/rc.local as the base template, and updated the ...
2
votes
1answer
19k views

How to recover missing serverauth so user can startx?

I've been using PCLinuxOS. All was OK until the Hard Drive had a bad block. After some fsck repair, from the shell, I tried to startx: xauth: file /home/joe/.serverauth.2052 does not exist. ...
2
votes
0answers
125 views

Linux Networking Bootup script takes too long

I am working with a fork of a raspberry pi SoC. One of the modification is the use of AP6210 WiFi/Bluetooth chip. I am running Debian. During boot up, the following 3 startup scripts need to run in ...
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 ...