LizardByte / Sunshine

Self-hosted game stream host for Moonlight.
http://app.lizardbyte.dev/Sunshine/
GNU General Public License v3.0
15.41k stars 743 forks source link

Steam on Ubuntu LTS22.04: Unable to find executable [steam]. Is it in your PATH? #2772

Closed Matthias-vdE closed 4 days ago

Matthias-vdE commented 4 days ago

Is there an existing issue for this?

Is your issue described in the documentation?

Is your issue present in the latest beta/pre-release?

None

Describe the Bug

Sunshine is unable to find the steam command in order to launch steam:

[2024:06:28:20:27:58]: Error: Unable to find executable [steam]. Is it in your PATH?
[2024:06:28:20:27:58]: Info: Spawning [steam steam://open/gamepadui] in [""]
[2024:06:28:20:27:58]: Warning: Couldn't spawn [steam steam://open/gamepadui]: System: No such file or directory

Running steam steam://open/gamepadui directly from the command line works. The location of the steam command is also present in the $PATH variable:


matthias@pop-os:/$ which steam
/usr/games/steam
matthias@pop-os:/$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Manually specifying the location gives a similar issue:

2024:06:28:20:34:33]: Info: Spawning [/usr/games/steam steam://open/gamepadui] in ["/usr/games"] [2024:06:28:20:34:33]: Warning: Couldn't spawn [/usr/games/steam steam://open/gamepadui]: System: No such file or directory

Both Steam and Sunshine were installed using the POP!_Shop. However, Steam was installed as DEB rather than Flatpack.

Expected Behavior

No response

Additional Context

No response

Host Operating System

Linux

Operating System Version

Pop OS / Ubuntu LTS 22.04

Architecture

64 bit

Sunshine commit or version

Version 0.23.1.8b21db6.dirty

Package

Linux - flatpak

GPU Type

AMD

GPU Model

6800XT

GPU Driver/Mesa Version

Built-in driver

Capture Method

None

Config

-

Apps

No response

Relevant log output

2024:06:28:20:06:34]: Error: Unable to find executable [steam]. Is it in your PATH?
[2024:06:28:20:06:34]: Info: Spawning [steam steam://open/bigpicture] in [""]
[2024:06:28:20:06:34]: Warning: Couldn't spawn [steam steam://open/bigpicture]: System: No such file or directory
[2024:06:28:20:07:52]: Error: Unable to find executable [steam]. Is it in your PATH?
[2024:06:28:20:07:52]: Info: Spawning [steam steam://open/bigpicture] in [""]
[2024:06:28:20:07:52]: Warning: Couldn't spawn [steam steam://open/bigpicture]: System: No such file or directory
[2024:06:28:20:08:39]: Error: Unable to find executable [steam]. Is it in your PATH?
[2024:06:28:20:08:39]: Info: Spawning [steam steam://open/gamepadui] in [""]
[2024:06:28:20:08:39]: Warning: Couldn't spawn [steam steam://open/gamepadui]: System: No such file or directory
[2024:06:28:20:12:08]: Error: Unable to find executable [steam]. Is it in your PATH?
[2024:06:28:20:12:08]: Info: Executing: [steam steam://open/gamepadui] in [""]
[2024:06:28:20:12:08]: Warning: Couldn't run [steam steam://open/gamepadui]: System: No such file or directory
[2024:06:28:20:12:29]: Error: Unable to find executable [steam]. Is it in your PATH?
[2024:06:28:20:12:29]: Info: Spawning [steam steam://open/gamepadui] in [""]
[2024:06:28:20:12:29]: Warning: Couldn't spawn [steam steam://open/gamepadui]: System: No such file or directory
[2024:06:28:20:14:07]: Info: Spawning [setsid steam steam://open/gamepadui] in ["/usr/bin"]
[2024:06:28:20:15:26]: Info: Spawning [setsid steam steam://open/gamepadui] in ["/usr/bin"]
[2024:06:28:20:17:01]: Info: Spawning [setsid steam steam://open/bigpicture] in ["/usr/bin"]
[2024:06:28:20:17:48]: Error: Unable to find executable [steam]. Is it in your PATH?
[2024:06:28:20:17:48]: Info: Spawning [steam steam://open/gamepadui] in [""]
[2024:06:28:20:17:48]: Warning: Couldn't spawn [steam steam://open/gamepadui]: System: No such file or directory
[2024:06:28:20:18:09]: Error: Unable to find executable [steam]. Is it in your PATH?
[2024:06:28:20:18:09]: Info: Spawning [steam steam://open/gamepadui] in [""]
[2024:06:28:20:18:09]: Warning: Couldn't spawn [steam steam://open/gamepadui]: System: No such file or directory
[2024:06:28:20:25:46]: Info: Spawning [steam steam://open/gamepadui] in ["/usr/games"]
[2024:06:28:20:25:46]: Warning: Couldn't spawn [steam steam://open/gamepadui]: System: No such file or directory
[2024:06:28:20:26:22]: Info: Spawning [/usr/games/steam steam://open/gamepadui] in ["/usr/games"]
[2024:06:28:20:26:22]: Warning: Couldn't spawn [/usr/games/steam steam://open/gamepadui]: System: No such file or directory
[2024:06:28:20:27:58]: Error: Unable to find executable [steam]. Is it in your PATH?
[2024:06:28:20:27:58]: Info: Spawning [steam steam://open/gamepadui] in [""]
[2024:06:28:20:27:58]: Warning: Couldn't spawn [steam steam://open/gamepadui]: System: No such file or directory
[2024:06:28:20:34:33]: Info: Spawning [/usr/games/steam steam://open/gamepadui] in ["/usr/games"]
[2024:06:28:20:34:33]: Warning: Couldn't spawn [/usr/games/steam steam://open/gamepadui]: System: No such file or directory
ReenigneArcher commented 4 days ago

https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/setup.html#considerations