Steam Link

Steam Link

Komerdoor Jan 12, 2019 @ 3:25pm
Really need a way to connect to PC without GUI interaction
Something like:
steamlink --connect="PCNAME"

Which I can then use in my systemd script to automatically connect to my PC in VR or non-VR mode. This also means that it should exit after disconnecting returning 1 >= on failure or 0 after a clean exit.

The reason for this is that my Steam controllers are directly connected to the Vive's linkbox and then to the PC. Now everytime I want to use the Steam Link I have to plug in the SC dongle from my Vive's linkbox into my RPi to be able to select connect.
Last edited by Komerdoor; Jan 12, 2019 @ 3:27pm
< >
Showing 1-4 of 4 comments
Sir Forkington Jan 14, 2019 @ 10:11am 
Take a look at ~/.local/share/SteamLink/steamlink.sh

The GUI launches the streaming client by writing the command to ~/.local/share/SteamLink/.tmp/launch_cmdline.txt

The command is something like this:

streaming_client --settings "/home/pi/.local/share/Valve Corporation/SteamLink/streaming_settings.bin" --stats "/home/pi/.local/share/Valve Corporation/SteamLink/streaming_stats.bin" --locale en_US --server 192.168.0.3:27031 token_here

Prevent steamlink.sh from removing that file by temporarily commenting out this line:

rm -rf "${cmdline_file}"

then open the GUI, connect to your computer and retrieve the command with:


You can use this script with your token and command:

QT_VERSION="5.12.0" export TOP="/home/pi/.local/share/SteamLink" export TMPDIR="$TOP/.tmp" export PATH="$TOP/bin:$PATH" export QTDIR="$TOP/Qt-$QT_VERSION" export QT_PLUGIN_PATH="$QTDIR/plugins" export LD_LIBRARY_PATH="$TOP/lib:$QTDIR/lib:$LD_LIBRARY_PATH" export SDL_GAMECONTROLLERCONFIG_FILE="${XDG_DATA_HOME:-$HOME/.local/share}/Valve Corporation/SteamLink/controller_map.txt" export QT_QPA_EGLFS_FORCE888=1 QPLATFORM=eglfs streaming_client --settings "/home/pi/.local/share/Valve Corporation/SteamLink/streaming_settings.bin" --stats "/home/pi/.local/share/Valve Corporation/SteamLink/streaming_stats.bin" --locale en_US --server 192.168.0.3:27031 token_here
Komerdoor Jan 14, 2019 @ 1:31pm 
Aha good to know. I should have looked at that file myself first before asking :P. Thank you
Komerdoor Feb 4, 2019 @ 11:19am 
Do you know how to get an authentication token?
Last edited by Komerdoor; Feb 4, 2019 @ 11:23am
#hontrash Jun 26, 2019 @ 6:08am 
Originally posted by Sir Forkington:
Take a look at ~/.local/share/SteamLink/steamlink.sh

The GUI launches the streaming client by writing the command to ~/.local/share/SteamLink/.tmp/launch_cmdline.txt

The command is something like this:

streaming_client --settings "/home/pi/.local/share/Valve Corporation/SteamLink/streaming_settings.bin" --stats "/home/pi/.local/share/Valve Corporation/SteamLink/streaming_stats.bin" --locale en_US --server 192.168.0.3:27031 token_here

Prevent steamlink.sh from removing that file by temporarily commenting out this line:

rm -rf "${cmdline_file}"

then open the GUI, connect to your computer and retrieve the command with:


You can use this script with your token and command:

QT_VERSION="5.12.0" export TOP="/home/pi/.local/share/SteamLink" export TMPDIR="$TOP/.tmp" export PATH="$TOP/bin:$PATH" export QTDIR="$TOP/Qt-$QT_VERSION" export QT_PLUGIN_PATH="$QTDIR/plugins" export LD_LIBRARY_PATH="$TOP/lib:$QTDIR/lib:$LD_LIBRARY_PATH" export SDL_GAMECONTROLLERCONFIG_FILE="${XDG_DATA_HOME:-$HOME/.local/share}/Valve Corporation/SteamLink/controller_map.txt" export QT_QPA_EGLFS_FORCE888=1 QPLATFORM=eglfs streaming_client --settings "/home/pi/.local/share/Valve Corporation/SteamLink/streaming_settings.bin" --stats "/home/pi/.local/share/Valve Corporation/SteamLink/streaming_stats.bin" --locale en_US --server 192.168.0.3:27031 token_here

I am in need for a command line interface as well. Unfortunaly this solution doesn't seem to work, my only guess would be the encryption handshake fails. Anyone got it running this way?
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jan 12, 2019 @ 3:25pm
Posts: 4