Skip to content

When run as User, Web UI does not accept PIN. When run as Root, pulseaudio access is denied. #4660

@Nyxaraa

Description

@Nyxaraa

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

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

This issue is present in the latest pre-release

Describe the Bug

Issue is as described. If I run Sunshine as user, Moonlight recognized but webhost gives incorrect PIN error. If I run as root, can connect and stream, but access to pulseaudio is denied and audio will not stream.

Expected Behavior

Running sunshine as user allows connection to webhost via moonlight, and that running as root allows audio streaming.

Additional Context

No response

Host Operating System

Linux

Operating System Version

Arch Linux 6.18.7

Architecture

amd64/x86_64

Sunshine commit or version

2025.924.154138

Package

Linux - LizardByte/pacman-repo

GPU Type

AMD

GPU Model

9070XT

GPU Driver/Mesa Version

Mesa 25.3.4

Capture Method

KMS (Linux)

Config

capture = kms
output_name = 1
sw_preset = ultrafast
sw_tune = film

Apps

Relevant log output

(when run as root)
Error: Couldn't connect to pulseaudio: Access denied
Warning: There will be no audio
Error: unable to initialize audio capture. The stream will not have audio.

(when run as user there is no relevant log output to explain why the Pairing request will not be accepted)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions