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
0
votes
0answers
13 views

How can I launch RetroArch by default on a Batocera Linux system?

I recently installed Batocera Linux on an old PC. It's running a Pentium D 2.8Ghz, NVIDIA GeForce 7600 GS, and 5GB of RAM. I had to go with Batocera over Lakka because it wouldn't boot. So, Batocera ...
0
votes
0answers
24 views

Failed to show the preferences dialog GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown

I am facing issue in USB Live persistence Kali linux . I have installed it correctly and everything is going on nicely but after running it sometime i saw that the upper panel is not there it was gone ...
0
votes
0answers
19 views

AppArmor fails to load AppArmor profiles during startup

Woke up to find my system unable to startup with the following lines: [FAIL] Unable to find AppArmor initscript functions ... failed! [FAIL] startpar: service(s) returned failure: AppArmor ... failed!...
0
votes
1answer
25 views

Debian Buster fsck failed with exit status 4

I posted this already somewhere else but didn't get any response. I have updated my raspberry pi from Jessie to Buster now since then I finally was able to get domoticz working again, but another ...
0
votes
1answer
23 views

disabling part of touchpad at startup

For years I have been manually disabling the 'stick' part of the touchpad on a Toshiba Z30 at startup of Mint. This model has a hardware problem where the mouse moves around by itself. Have now ...
0
votes
0answers
20 views

Proper systemd initialization in virtual machine?

Have Centos8 instance running in a VM under VirtualBox, without any apparent problems. Got curious one day, and tried: $ sudo systemctl list-machines NAME STATE FAILED JOBS * ...
0
votes
1answer
27 views

Crontab or Init.d for startup scripts in linux?

Sorry if I am just dumb about this but I am currently trying to set up my raspberry pi to start a script at startup but I cant seem to figure out which is better to use, Crontab or init.d . I can't ...
0
votes
0answers
27 views

Run command as systemd service with startup delay

I have three java code which they are in this path: /etc/khar/test-01.jar /etc/khar/test-01-b.jar /etc/khar/test-02.jar I have created systemd service for test-01.jar and test-02.jar and enable ...
0
votes
1answer
23 views

Trying to create a start-up nodejs script Ubuntu

This is the first time I try to create a start-up script for Ubuntu. I need to launch an express server for my API and I have followed Making Node.js service always alive on Ubuntu Server. So my ...
0
votes
0answers
38 views

linux mint 19.3 login automatically at startup and wake from suspend if connected to home wifi

is there any way to login automatically at startup and wake from suspend only when connected to certain wifi networks (for example wifi at home) on a linux mint 19.3 (ubuntu 18.04) cinnamon? thanks
0
votes
0answers
55 views

zsh startup - interactive shell not running .zlogin

I have just installed zsh on my Mac (OS X 10.15.2 Catalina), and now am trying to get it working right on a computer running Mint 19.3. The Mac has shared bash startup files with the Linux computer (...
0
votes
0answers
28 views

rc.local doesn't run my app

Hi everyone I'm working with Yocto Linux and I want to run a program while yocto is starting, I finish to configure rc.local, but my program doesn't run and when I run my program with sudo ./app i get ...
1
vote
1answer
70 views

Cron runs a non-existing variant of . sh script

I've been encountered a strange phenomena. I've been messing with cron, so it runs a script called startup.sh, which it does. I used the command sudo crontab -e and then entered the following: @...
0
votes
1answer
35 views

Loud squeak in the start of Kali

When I start Kali Linux, there is a loud squeak. How it can be turned off. Found on the Internet, about Debian but there is no necessary file (fbdev-blacklist.conf). Tell me how I can turn off this ...
0
votes
0answers
30 views

OpenSuSE Leap 15.1 installation: System startup fails because of read-only file system

On a virgin PC I have this problem with a freshly-installed openSuSE Leap 15.1: Installation runs fine, but when booting from hard drive for the first time, the boot menu as well as the "Loading linux"...
0
votes
1answer
450 views

Debian Buster - UUID Does not exist. Dropping to shell problem

I have no idea what I did but when I startup I get this message in BusyBox: Give up waiting for root file system device. Common problems: -Boot args (cat /proc/cmdlines) -Check rootdelay= (did the ...
0
votes
2answers
83 views

Auto-mount cryfs on startup

cryfs requires a password/passphrase entry for mounting a filesystem. I want to automatically mount a FS at startup (like calling a script from inside of rc.local to do the job). (the encrypted ...
0
votes
0answers
35 views

ntpd config optimization

I have an embedded Linux system without RTC, so it (currently) boots with thinking it's Jan, 1st 1970. I have ntpd installed and started as: /usr/bin/ntpd -g with a pretty standard /etc/ntp.conf: ...
0
votes
0answers
28 views

Environment variable not set after putting it in /etc/environment or .xinitrc

I want to set some environment variables to make fcitx, an Input Method Editor, work. What I tried: putting them in /etc/environment like this: GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=...
0
votes
0answers
40 views

How to setup startup script to run before PostgreSQL server but after mounting disks?

The system is Ubuntu Server 18.04 LTS on VM in Azure cloud, with PostgreSQL 12 installed. Data storage for PostgreSQL is on RAID composed from "remote" managed disks. However, every Azure VM has ...
0
votes
1answer
24 views

Systemd service vs .profile to start python program at boot

I have a python application running on a raspberry pi. Since the pi will be used mostly for display (no keyboard except for password input on boot because the pi user home directory is encrypted) the ...
0
votes
0answers
14 views

when will systemd consider my service/application has started

I'm writing an application and use systemd to auto start it as the 1st service. There is some other application which also runs as a service and I want the 2nd service start after my 1st service. [...
0
votes
0answers
166 views

Linux Mint 19.2 Tina GUI won't startx automatically

I am running a standard Linux Mint 19.2 system. By all accounts every single default was chosen. The main problem is that X Windows does not want to start automatically. I have a vague suspicion this ...
0
votes
1answer
195 views

KDE Neon: black startup screen with only cursor. Forgot login credentials for Alt+Ctrl+F2 tty terminal

TLDR: After powering on and choosing my OS (I have Win10, Ubuntu, and KDE Neon all on the same disc and every time my computer starts grub(?) gives me the option between the three. Black startup ...
5
votes
1answer
124 views

Method to determine what `Type` of systemd service to use for any given application

I think I have a relatively good handle on the different Type of services which systemd can be configured for (e.g. simple, oneshot, etc). The docs provide a pretty reasonable overview and ...
0
votes
1answer
29 views

Update script failed to fetch on start-up

I'm working on Debian 9.7.0 without desktop environment. I've made a script to update my packages and I added in /etc/crontab to run on start-up. Here's the script: #!/bin/bash apt-get update &&...
0
votes
1answer
59 views

Kubuntu not starting up after cloning HDD to SSD (dual-boot)

My Acer Aspire 3 was really slow recently, so I decided to upgrade to an SSD (Samsung 860 QVO). To clone the HDD to the SSD, I used 'MiniTool Partition Wizard' on my Desktop PC with both drives ...
0
votes
0answers
50 views

How to start a script before the login password request [duplicate]

On debian 9 i want to start a shell script on a console, who will allow the user enter some information, before the login, password request This script will be launch only one time (at the first ...
3
votes
1answer
218 views

Linux embedded: boot stopped by “crng init” for LOOOOONG time

I am having heavy problems similar to what discussed in this question. In my case though, I have a very recent kernel (5.3) for a small embedded processor (mips, mt7628) and boot process stops for ...
2
votes
2answers
621 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 ...
0
votes
0answers
68 views

systemd macchanger start job hanging

I am running Arch Linux and I have set up systemd to change my MAC address on startup with macchanger # /etc/systemd/system/macspoof@.service [Unit] Description=macchanger on %I Wants=network-pre....
0
votes
0answers
756 views

'Minimal BASH like line editing is supported' GRUB Error

I bought a new hp desktop recently which comes with windows 10. I pretty much followed this video to dual boot it with linux Ubuntu (including editing the Grub customizer at the end, but I chose ...
2
votes
1answer
71 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 ...
0
votes
2answers
206 views

Encrypt a disk without having to log in to enter the password

I am using eCryptfs to encrypt the home directory and would like to access files without having the user log in. The program pam_mount will automount encrypted file systems, but it seems like that ...
2
votes
2answers
117 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 ...
1
vote
1answer
182 views

Error “cannot open display” on systemd Service which needs graphical interface

I wanted to send a popup on boot with zenify: zenity --info --text="`hostname -I`" --title="Rpi Local IP" --display=:0.0 So here is my service file: [Unit] Description=Display IP at boot After=...
1
vote
1answer
89 views

Why does my bash terminal startup run the same set of commands twice?

I'm on a Mac and whenever I start up my terminal app the initial startup prints the following: Picked up _JAVA_OPTIONS: -XX:MaxPermSize=4G -Xmx4G Java HotSpot(TM) 64-Bit Server VM warning: ignoring ...
1
vote
1answer
195 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/...
0
votes
1answer
57 views

Autostart pure-ftpd by running its Perl configuration file at the command line

I have manually built the pure-ftpd on my Raspberry Pi and it runs perfectly fine when I invoke /etc/pure-config.pl /etc/pure-ftpd.conf from the command line. I'd like to run that simple command /...
0
votes
0answers
61 views

Stop display settings from reverting back on shutdown

Recently made the switch from windows 10 to linux mint(cinnamon) and was looking to change the display scaling for a 13in monitor. Found out that fractional scaling isn't an option, but found an ...
1
vote
2answers
550 views

Execute a script before login screen

I am trying to run a script before the login screen in Ubuntu 19.04. The script checks if there is an external monitor connected to my notebook and if there is one it changes the resolution to ...
2
votes
0answers
99 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....
0
votes
3answers
442 views

Start systemd service after network is up

This is the first time that I have to mess around with systemd. I can't find a solution how to manage, that my service starts after the network is up. I try to start knockd.service on startup on my ...
1
vote
0answers
111 views

What is the equivalent of systemd-analyze in CentOS 6?

systemd-analyze is the command to investigate time taken by each service during boot in CentOS 7. Is there a similar utility in CentOS 6 for doing this? update: extending the question after Lucas' ...
0
votes
0answers
80 views

How to run a process in background on startup?

I'm trying to run a process(myfile) on startup on my yocto linux board, but I'm getting either IOCTL or segmentation fault while I use nohup or & to run in background. I could run myfile in ...
0
votes
0answers
48 views

Program not working after setting script in init.d

I have two programs that need to run on start up. I am using init.d scripts because the virtual machine in my system does not have systemctl. With my configuration program_A is working but program_B ...
0
votes
0answers
54 views

Debian 9 stretch - How to prompt user from rc.local script and echo in current terminal

I need to create an easy to go Debian VM for new developers on my team. I run a script on boot with rc.local. This is a small test script : #!/bin/bash exec < /dev/tty1 # Checking if user ...
0
votes
1answer
25 views

Launch interactive app from script

I have an application built in C that uses fgets to read user commands from stdin. I want my embedded linux system to launch this application on startup, and put the user in the terminal of this ...
1
vote
0answers
149 views

XFCE Session & Startup Application terminal command to turn on and off

In XFCE4 I can create my own custom start-up commands at Settings Manager > Session & Startup > Application Startup and turn them on or off by clicking on the command's check-box. Is there a ...
0
votes
0answers
51 views

Fedora 28 hangs when logging in shortly after boot

I am running Fedora 28 on a ThinkPad T460s. On the first log in, directly after booting, the screen becomes grey with the mouse pointer visible, but I cant move it. It stays like that for a few ...

1
2 3 4 5
13