Steam Link

Steam Link

nexus Jul 14, 2019 @ 3:04pm
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-14 of 14 comments
nexus Jul 14, 2019 @ 3:09pm 
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?
nexus Jul 15, 2019 @ 12:54am 
Excellent. Thanks again Xenophobe. All discussions said to put it before the screensaver, so I didn't try after.
igno2k Jul 17, 2019 @ 12:46pm 
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.
Seelie Aug 3, 2019 @ 7:45pm 
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???
Hydrosung Sep 9, 2019 @ 6:38pm 
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?
NavalBase Sep 26, 2019 @ 7:21am 
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.
Lyme Apr 5, 2020 @ 1:04am 
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
ennok Apr 11, 2020 @ 5:06pm 
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.
Chris_Acrobat Jul 10, 2020 @ 4:23pm 
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".
Taco Aug 23, 2021 @ 11:23pm 
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.
Pico Dec 19, 2021 @ 12:13am 
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!!
Julieisdead Mar 7, 2023 @ 7:10am 
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
Last edited by Julieisdead; Mar 7, 2023 @ 7:11am
La Brioche Apr 22, 2024 @ 2:17pm 
5 years later. Still relevant !
MattCarval Apr 24, 2024 @ 11:44am 
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:
< >
Showing 1-14 of 14 comments
Per page: 1530 50