Skip to content
Discussion options

You must be logged in to vote

Think this one was a user error, but for anyone else who runs into something similar.

I was running sunshine as a user service directly in a terminal. Switching it over to a headless service that runs on login solved my issue. Not sure if that is a corelation or causation solution.

  1. Created the following script at ~/.local/share/sunshine/sunshine-start.sh
#!/bin/sh
# Wait for the Plasma compositor and PipeWire to stabilize
sleep 3

# Export critical session hooks explicitly for this process tree.
export XDG_RUNTIME_DIR=/run/user/$(id -u)
export WAYLAND_DISPLAY=wayland-0
export XDG_CURRENT_DESKTOP=KDE
export KWIN_WAYLAND_NO_PERMISSION_CHECKS=1
export PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/p…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@DylanDimkovski
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ReenigneArcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants