SteamLinkk issues

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Tusk
Posts: 9
Joined: Sun Jul 12, 2020 3:53 pm

SteamLinkk issues

Post by Tusk »

Hello mates

I have some issues with steamlink I have installed, but when I try to launch it I get an error.

wrong ownership on runtime directory /run/user/0, 0 instead of 1000.

What did you do?

thanks
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: SteamLinkk issues

Post by Joulinar »

Hi,

many thanks for your message. pls can you post

Code: Select all

ls -la /run/user/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Tusk
Posts: 9
Joined: Sun Jul 12, 2020 3:53 pm

Re: SteamLinkk issues

Post by Tusk »

Hello

Code: Select all

drwxr-xr-x  4 root   root    80 Jul 29 15:19 .
drwxr-xr-x 26 root   root   800 Aug  2 16:03 ..
drwx------  5 root   root   100 Jul 29 13:56 0
drwx------  5 dietpi dietpi 100 Aug  1 18:34 1000
But I think the error it's caused for other reason. I mean if I launch steamlink trough xmobaterm in my pc, a virtual windows is launched and works fine...

But the problem is if I launched in the local console. I also set up kodi to launch at the start. And the user logged is root, so when I backup to console I log on to dietpi user.

Thanks!
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: SteamLinkk issues

Post by Joulinar »

what happen if you login as user root on console?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Tusk
Posts: 9
Joined: Sun Jul 12, 2020 3:53 pm

Re: SteamLinkk issues

Post by Tusk »

Hello

I think the problem is how start diepi when I turn on it.

I've set it up so that Kodi will start when I turn on the raspberry pi, I read you need to login as root if not It wont work.

Then I exit from Kodi and I do "su - dietpi", after Kodi is launched, and I exit from Kodi too.

Then I run steamlink command. And other error appears

Code: Select all

/dev/tty1 permission denied
$ steamlink
XDG_runtime_dir not set defaulting /home/dietpi/.local/share/Steamlinl/.tmp/runtime-dietpi
Other times the error is I said in last posts... I think the error in the way the autostart is logged in.
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: SteamLinkk issues

Post by Joulinar »

I guess you would need to run it as root and not as user dietpi
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Tusk
Posts: 9
Joined: Sun Jul 12, 2020 3:53 pm

Re: SteamLinkk issues

Post by Tusk »

The problem is steamlink evoid to run as root. I can bypass it but its not recommend. Thats mean all apps that I want run from local console Its necessary to launch from root user. Is it right?
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: SteamLinkk issues

Post by Joulinar »

might be.

you could try to add user dietpi to video as well as tty group

Code: Select all

usermod -aG tty dietpi
usermod -aG video dietpi
might be this will work around the permission issues
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Tusk
Posts: 9
Joined: Sun Jul 12, 2020 3:53 pm

Re: SteamLinkk issues

Post by Tusk »

Hello

I try both things and I get the same error... I bypassed the bash steamlink to check if I run steamlink as root but as I sad I get the same error...

XDG_runtime_dir not set defaulting /home/root/.local/share/Steamlinl/.tmp/runtime-root.

But If I run steamlink in my personal computer trought mobaxterm the command run well!

Code: Select all

dietpi@DietPi:~$ sudo usermod -aG video dietpi
dietpi@DietPi:~$ steamlink
INFO: Couldn't open /home/dietpi/.local/share/Valve Corporation/SteamLink/streaming_settings.bin for reading
INFO: Couldn't open /home/dietpi/.local/share/Valve Corporation/SteamLink/client_id_map.txt for reading
INFO: Couldn't open /home/dietpi/.local/share/Valve Corporation/SteamLink/speaker_configuration.txt for reading
sh: 1: ifconfig: not found
Mix_OpenAudioDevice() failed: ALSA: Couldn't open audio device: Permiso denegado
Couldn't find sound data in ":/resources/sounds/click.wav"
Steam Link UI desktop resolution 1920 x 1080  coordinate scale = 1.05
INFO: Connected to Remote Client service with session 5485490031873974416
sh: 1: ifconfig: not found
libpng warning: iCCP: known incorrect sRGB profile
sh: 1: ifconfig: not found
sh: 1: ifconfig: not found
sh: 1: ifconfig: not found
Image

I dont understand nothing... Has anyone been able to install steamlink?

Thanks
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: SteamLinkk issues

Post by Joulinar »

do you have a screen attached? Because steam link is stared on that external screen and not within the console / command line.

If I start steam link within a SSH session, I see the same error massages

Code: Select all

root@DietPi3:~# sudo -u dietpi steamlink
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/home/dietpi/.local/share/SteamLink/.tmp/runtime-dietpi'
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
INFO: Couldn't open /home/dietpi/.local/share/Valve Corporation/SteamLink/streaming_settings.bin for reading
INFO: Couldn't open /home/dietpi/.local/share/Valve Corporation/SteamLink/client_id_map.txt for reading
INFO: Couldn't open /home/dietpi/.local/share/Valve Corporation/SteamLink/speaker_configuration.txt for reading
INFO: Warning: Couldn't set IPV6_ADD_MEMBERSHIP on discovery network socket
sh: 1: ifconfig: not found
Mix_OpenAudioDevice() failed: ALSA: Couldn't open audio device: Permission denied
Couldn't find sound data in ":/resources/sounds/click.wav"
Steam Link UI desktop resolution 1920 x 1080  coordinate scale = 1.05
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
INFO: Connected to Remote Client service with session 8524289175176727720
sh: 1: ifconfig: not found
libpng warning: iCCP: known incorrect sRGB profile
sh: 1: ifconfig: not found
sh: 1: ifconfig: not found
However on my attached monitor, steam link is started ;)

To get rid of permission issues, I added user dietpi to following groups

Code: Select all

usermod -aG tty dietpi
usermod -aG input dietpi
usermod -aG video dietpi
usermod -aG audio dietpi
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply