I have installed steam link in raspbian stretch, but I would like it to start when the operating system starts, I've been reading and I tried it with init.d but it did not work for me.
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
/etc/init.d was deprecated with Jessie. Everything is done with systemd now on Raspbian Stretch (and lots of other distros).
There's six places where you can easily get things running at boot time.
sudo nano /etc/rc.local. Add your program before the
exit 0line. Put an
&on the end of the line if it starts a long running process.
sudo crontab -e
/home/pi/.config/lxsession/LXDE-pi/autostartwhich looks like
Create a systemd service file in
/etc/systemd/system/myscript.service which has this basic structure
[Unit] Description=Thing to start at boot time [Service] Type=simple ExecStart=/usr/bin/python3 /home/pi/thing_to_start.py [Install] WantedBy=multi-user.target
There are other ways to get things running but those are the six most popular. If the program you're starting uses the GUI use the