Skip to content

Commit 6fcf02b

Browse files
shanemcdclaude
andcommitted
Add cap_sys_admin to Sunshine for KMS capture on Wayland
Enables KMS capture method which bypasses the XDG portal for screen capture. Required for proper mouse/keyboard input on KDE Plasma Wayland. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8c9aab8 commit 6fcf02b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mybox/Containerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,7 @@ EOF
202202
systemctl enable cockpit.socket
203203
systemctl enable apcupsd
204204
systemctl enable shairport-sync
205+
206+
# Sunshine: Enable KMS capture for Wayland (requires cap_sys_admin)
207+
setcap cap_sys_admin+p /usr/bin/sunshine
205208
EORUN

0 commit comments

Comments
 (0)