Questions tagged [systemd-startup]

Startup programs on boot with systemd services.

Filter by
Sorted by
Tagged with
1
vote
1answer
75 views
+50

How to run a graphical app before console login in a systemd-nspawn'd container?

TL;DR I'm looking for a way to autostart graphical applications, without first requiring the user to manually login. I'm improving my Vdesktop script that runs multiple versions of Raspbian on one Pi ...
1
vote
1answer
37 views

Run script on startup not working

So I'm pretty new to the pi. I'm trying to run chromium in kiosk mode on boot and point it to a local page. I've tried many tutorials online and they're all for versions of the pi that are older than ...
2
votes
3answers
69 views

Raspberry PI @reboot open xterm windows

Hello i am trying to open two shell scripts on reboot. Crontab My crontab is the following @reboot sh /home/pi/Desktop/autoStart.sh autoStart.sh in this shell script is the following #!/bin/sh cd /...
2
votes
1answer
144 views

start chromium on raspberry pi in kiosk mode using systemd service instead of through LXDE-pi/autostart

As many people, i'm looking to use my pi as a kiosk. I have managed to get everything running when starting the kiosk. my kiosk.sh script, which works fine #!/bin/bash URL="http://127.0.0.1" xset s ...
3
votes
4answers
407 views

Raspberry Pi run commands on boot

I thought that running commands on raspberry pi on boot was the easiest thing in my project. But it seems that it is complex enough not to work. I've searched a lot on the internet on a simple ...
1
vote
1answer
191 views

Run a script before blank screen on shutdown/reboot

I am trying to get my raspberry pi 3 (running Raspbian 10) to show an animation on boot and before shutdown/reboot. using Plymouth I managed to get the boot animation, however, it doesn't display ...
0
votes
1answer
23 views

The service error for startup app in a terminal

My Python application needs to run on a Raspberry Pi 3 at startup and in a terminal. What I did: I created a service screenscript.service in /etc/systemd/system a bash file in /home/pi/mydir/screen....
3
votes
2answers
345 views

Excute python file on start-up

I have a simple python file(no GUI) that I'd like it to run in the background at start-up of raspberry pi 3b. I checked out this post Execute script on start-up But it didn't specify what to do with ...
1
vote
3answers
3k views

Running a script at bootup : Good practices?, rc.local falling, Other options?

I want to run some script at bootup, right now I'm trying to see if can achieve this using rc.local is this even a good practice?? To try out this script that it's supposed to run at bootup I'm am ...