Steam Link

Steam Link

Raspberry pi 4 - autostarting steamlink
Title pretty much covers it. I've been through allsorts of tips on how to autostart, from rc.local, to crontab.

For me, on buster, there's only one way to get it to load (with a small hiccup). That is by editing the /etc/xdg/lxsession/LXDE-pi/autostart and adding in @steamlink before the screensaver.

Now, the problem I'm having is that I get a warning box pop up:

Warning
Couldn't download archive, aborting update.

If I click on OK, everything is fine, steamlink then loads. Problem being, I want this pi to sit behind my TV, so I don't want to have to stroll over with a mouse every time I boot up the pi to close the error box. Is there some command line override that can ignore errors?

If anyone else has any useful autostart methods for buster, please do let me know, because I've tried all the recommended methods (I'm assuming these are for earlier releases) and nothing works.

rc.local - doesn't work, although interestingly, if I ran it from the terminal, the script fired and loaded steamlink, so my formatting was correct, it just wasn't reading it. I even tried putting a 15 second sleep beforehand, didn't work.
systemd - doesn't work (although this is more than likely me getting the .service file format incorrectly
crontab - didn't work


TL;DR could someone share with me how they did a steamlink autostart with the pi 4 and raspbian buster?

Is there some other OS that just works without any faff?
< >
Showing 1-15 of 15 comments
I have just realised (rather stupidly) that the PS4 controller has a touchpad.... which will let me close the error box. But anyway, is there still a way to get rid of the error box so that it just auto-loads?
Excellent. Thanks again Xenophobe. All discussions said to put it before the screensaver, so I didn't try after.
You can also do the following:

open crontab as user pi
crontab -e

add the following line and save the file:
@reboot /usr/bin/steamlink

Now steamlink will start at every (re)boot.
I can run steam link on buster on a raspi 4 but after i click start playing and the steam big window ui is meant to come up i just get a black screen how did you guys get this working properly???
Having the same issue. I've tried putting "@steamlink" above "point-rpi" and below (as the last line in the file) and both ways lead to me seeing that "Couldn't download archive, aborting update." popup error.

I also tried using crontab as well but nothing happens when implementing that method.
Any ideas?
Originally posted by Hydrosung:
Having the same issue. I've tried putting "@steamlink" above "point-rpi" and below (as the last line in the file) and both ways lead to me seeing that "Couldn't download archive, aborting update." popup error.

Hey all, I had the exact same situation. The reason you get that error is that SteamLink is launched before the Raspberry Pi has been able to set up its internet connection. Whenever SteamLink launches, it checks online for an update. Since there is no internet connection yet, this will fail, resulting in the error message.
The fix is to configure Raspbian to wait for a network connection before finishing its boot sequence. You can change this in the "System" tab of the Raspberry Pi Configuration screen you can access via the start menu.
Originally posted by NavalBase MaK0:
Originally posted by Hydrosung:
Having the same issue. I've tried putting "@steamlink" above "point-rpi" and below (as the last line in the file) and both ways lead to me seeing that "Couldn't download archive, aborting update." popup error.

Hey all, I had the exact same situation. The reason you get that error is that SteamLink is launched before the Raspberry Pi has been able to set up its internet connection. Whenever SteamLink launches, it checks online for an update. Since there is no internet connection yet, this will fail, resulting in the error message.
The fix is to configure Raspbian to wait for a network connection before finishing its boot sequence. You can change this in the "System" tab of the Raspberry Pi Configuration screen you can access via the start menu.


Thank you I love you
I have "su - pi -c steamlink&" just above the "exit 0" in rc.local and it works fine for me. Must have the "wait for network" boot option enabled or I would get the same error.
Originally posted by ennok:
Must have the "wait for network" boot option enabled or I would get the same error.
Thank you! This seems to has been my problem all along!
To summarize for others, this is what I did:
Run "sudo nano /etc/xdg/lxsession/LXDE-pi/autostart" (without quotation marks) and write "@steamlink" (without quotation marks) at a new line on the bottom of the file.
Enable "wait for network".
Originally posted by NavalBase MaK0:
Originally posted by Hydrosung:
Having the same issue. I've tried putting "@steamlink" above "point-rpi" and below (as the last line in the file) and both ways lead to me seeing that "Couldn't download archive, aborting update." popup error.

Hey all, I had the exact same situation. The reason you get that error is that SteamLink is launched before the Raspberry Pi has been able to set up its internet connection. Whenever SteamLink launches, it checks online for an update. Since there is no internet connection yet, this will fail, resulting in the error message.
The fix is to configure Raspbian to wait for a network connection before finishing its boot sequence. You can change this in the "System" tab of the Raspberry Pi Configuration screen you can access via the start menu.

I just decided to set up a Rpi4 as a steamlink searching for awhile I finally came across your post to change the network settings. This finally fixed that error archive error. Thank you.
Originally posted by NavalBase:
Originally posted by Hydrosung:
Having the same issue. I've tried putting "@steamlink" above "point-rpi" and below (as the last line in the file) and both ways lead to me seeing that "Couldn't download archive, aborting update." popup error.

Hey all, I had the exact same situation. The reason you get that error is that SteamLink is launched before the Raspberry Pi has been able to set up its internet connection. Whenever SteamLink launches, it checks online for an update. Since there is no internet connection yet, this will fail, resulting in the error message.
The fix is to configure Raspbian to wait for a network connection before finishing its boot sequence. You can change this in the "System" tab of the Raspberry Pi Configuration screen you can access via the start menu.
Thank you!!
Originally posted by NavalBase:
Originally posted by Hydrosung:
Having the same issue. I've tried putting "@steamlink" above "point-rpi" and below (as the last line in the file) and both ways lead to me seeing that "Couldn't download archive, aborting update." popup error.

Hey all, I had the exact same situation. The reason you get that error is that SteamLink is launched before the Raspberry Pi has been able to set up its internet connection. Whenever SteamLink launches, it checks online for an update. Since there is no internet connection yet, this will fail, resulting in the error message.
The fix is to configure Raspbian to wait for a network connection before finishing its boot sequence. You can change this in the "System" tab of the Raspberry Pi Configuration screen you can access via the start menu.

4 Years later, So much thank you
5 years later. Still relevant !
Originally posted by igno2k:
You can also do the following:

open crontab as user pi
crontab -e

add the following line and save the file:
@reboot /usr/bin/steamlink

Now steamlink will start at every (re)boot.

works for me, thanks :steamthumbsup:
since i updated to raspberryOS trixy this week nor the crontab nor the systemd solution worked for me. steamlink started but with no sound and there was a prompt glitch in the interface. what worked for me however was opening the .bashrc file with
nano .bashrc
in the home folder and adding
/usr/bin/steamlink
as the last line.
< >
Showing 1-15 of 15 comments
Per page: 1530 50