2026-05-10T10:40:24.624774607Z /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0
2026-05-10T10:40:24.625673507Z /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur
2026-05-10T10:40:27.069429559Z /run/s6/basedir/scripts/rc.init: info: hook /docker-mods exited 0
2026-05-10T10:40:28.181275533Z s6-rc: info: service s6rc-oneshot-runner: starting
2026-05-10T10:40:28.342685944Z s6-rc: info: service s6rc-oneshot-runner successfully started
2026-05-10T10:40:28.345782820Z s6-rc: info: service fix-attrs: starting
2026-05-10T10:40:28.347550860Z s6-rc: info: service init-migrations: starting
2026-05-10T10:40:28.349207647Z s6-rc: info: service init-envfile: starting
2026-05-10T10:40:28.769984448Z [migrations] started
2026-05-10T10:40:28.839984029Z [migrations] no migrations found
2026-05-10T10:40:28.848893791Z s6-rc: info: service init-migrations successfully started
2026-05-10T10:40:28.851558066Z s6-rc: info: service init-adduser: starting
2026-05-10T10:40:28.976315477Z s6-rc: info: service fix-attrs successfully started
2026-05-10T10:40:28.978565398Z s6-rc: info: service legacy-cont-init: starting
2026-05-10T10:40:29.011991720Z s6-rc: info: service init-envfile successfully started
2026-05-10T10:40:29.639306217Z s6-rc: info: service legacy-cont-init successfully started
2026-05-10T10:40:29.949889154Z usermod: no changes
2026-05-10T10:40:30.110569796Z ───────────────────────────────────────
2026-05-10T10:40:30.110600387Z 
2026-05-10T10:40:30.110610006Z       ██╗     ███████╗██╗ ██████╗
2026-05-10T10:40:30.110618884Z       ██║     ██╔════╝██║██╔═══██╗
2026-05-10T10:40:30.110627261Z       ██║     ███████╗██║██║   ██║
2026-05-10T10:40:30.110635578Z       ██║     ╚════██║██║██║   ██║
2026-05-10T10:40:30.110643925Z       ███████╗███████║██║╚██████╔╝
2026-05-10T10:40:30.110652322Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2026-05-10T10:40:30.110660739Z 
2026-05-10T10:40:30.110668825Z    Brought to you by linuxserver.io
2026-05-10T10:40:30.110677031Z ───────────────────────────────────────
2026-05-10T10:40:30.121878769Z 
2026-05-10T10:40:30.122201158Z To support LSIO projects visit:
2026-05-10T10:40:30.122222180Z https://www.linuxserver.io/donate/
2026-05-10T10:40:30.122231820Z 
2026-05-10T10:40:30.122603729Z ───────────────────────────────────────
2026-05-10T10:40:30.122661365Z GID/UID
2026-05-10T10:40:30.123066511Z ───────────────────────────────────────
2026-05-10T10:40:30.238149550Z 
2026-05-10T10:40:30.238176224Z User UID:    911
2026-05-10T10:40:30.238186003Z User GID:    911
2026-05-10T10:40:30.238194550Z ───────────────────────────────────────
2026-05-10T10:40:31.292443297Z s6-rc: info: service init-adduser successfully started
2026-05-10T10:40:31.295215149Z s6-rc: info: service init-device-perms: starting
2026-05-10T10:40:31.710818602Z s6-rc: info: service init-device-perms successfully started
2026-05-10T10:40:31.713742079Z s6-rc: info: service init-os-end: starting
2026-05-10T10:40:31.913818644Z s6-rc: info: service init-os-end successfully started
2026-05-10T10:40:31.916188486Z s6-rc: info: service init-selkies: starting
2026-05-10T10:40:32.010849280Z s6-rc: info: service init-selkies successfully started
2026-05-10T10:40:32.013504747Z s6-rc: info: service init-nginx: starting
2026-05-10T10:40:33.471362984Z ........+++++++++++++++++++++++++++++++++++++++*.......+..+..........+.....+...............+......+.........+......+.+......+..+.............+....................+...+....+..+.+++++++++++++++++++++++++++++++++++++++*.....+.........+.+.....+.+.........+......+..+.......+.....+.........+..........+.................+...+.+...+...+..+.......+...+.....+......+................+.....+...................+..............+.+......+........+.+............+.....+....+...+...+..+......+.+.....+...+.............+..+............................+.........+...+...............+...+.....+....+...+......+...........+.........+............+...+......+.+............+..+...+............+......+...+....+...+........+....+..+...+................+..+....+......+........+.+.....+....+..+.........+...+...............+.+..............+...+....+.....+.+.........+........+......+....+.....+......+.+.........+..+.........+.+..+...+....+.........+.........+.....+...+....+.........+.....+.+..............+......+.+............+..+......+.........+.+.........+...........+....+...+........+...+.+........+......+...............+....+...+..+......+....+...+.....+.........+.+.................+...+..........+..+.+.....+....+...+...+..............+...+.......+..+.............+..+....+..+..........+...+..+...............+.......+.....+.+..+...+.+...+.....+............+.+..............+.+..+................+.........+........+.........+....+......+...+...+.....+....+........+...............+.+.........+.....+...+........................+.+...+..+....+.....+......+...+.+........+.+..+.........+.+........+......+....+............+.........+..................+..+...+.......+...+...........+............+...+.......+..+.+............+..+.+.....+.+...+........+...+....+...+.................+.+....................+.......+.....+.......+.....+......+.+.....+....+.....+....+.....+...+....+...........++++++
2026-05-10T10:40:33.781709154Z .......+...+++++++++++++++++++++++++++++++++++++++*.+.+........+.+..............+.......+........+......+.+...+...........+.............+......+.....+.+...+...+..+.+...........+...+.+..+....+...+..+.+.....+....+.........+.....+....+++++++++++++++++++++++++++++++++++++++*.....+.+.........+..+.+.........+........+......+....+....................................+..+............+.......+..............+.+.....+...............+....+.....+....+..+......+....+.....+....+..............+...+.......+..+....+............+.....+....+.....+.+........+.+......+..+...+....+.....+......+...+.......+...............+..+.+...........+...+.+.....+.+...+.....................+...........+...............+...+..........+...+...+.....................+...+.....+...+.............+..+...+.+...............+.....+.+.....+.......+.....+..........+..+.........+......+.+.....+.......+..+..................+......+.+.....+.+..+.+.....+......++++++
2026-05-10T10:40:33.826298306Z -----
2026-05-10T10:40:35.157832527Z s6-rc: info: service init-nginx successfully started
2026-05-10T10:40:35.160830905Z s6-rc: info: service init-selkies-config: starting
2026-05-10T10:40:36.858664793Z [ls.io-init] Creating initial backup of menu.xml
2026-05-10T10:40:37.958878211Z [ls.io-init] Creating initial backup of system rc.xml
2026-05-10T10:40:38.408823700Z /usr/sbin/which: no nvidia-smi in (/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
2026-05-10T10:40:39.056307482Z s6-rc: info: service init-selkies-config successfully started
2026-05-10T10:40:39.059355229Z s6-rc: info: service init-video: starting
2026-05-10T10:40:39.686684947Z s6-rc: info: service init-video successfully started
2026-05-10T10:40:39.689435054Z s6-rc: info: service init-selkies-end: starting
2026-05-10T10:40:39.798953788Z s6-rc: info: service init-selkies-end successfully started
2026-05-10T10:40:39.801444664Z s6-rc: info: service init-config: starting
2026-05-10T10:40:39.885612397Z s6-rc: info: service init-config successfully started
2026-05-10T10:40:39.892056784Z s6-rc: info: service init-crontab-config: starting
2026-05-10T10:40:40.441558686Z s6-rc: info: service init-crontab-config successfully started
2026-05-10T10:40:40.443618484Z s6-rc: info: service init-config-end: starting
2026-05-10T10:40:40.588437062Z s6-rc: info: service init-config-end successfully started
2026-05-10T10:40:40.591399959Z s6-rc: info: service init-mods: starting
2026-05-10T10:40:40.719801337Z s6-rc: info: service init-mods successfully started
2026-05-10T10:40:40.721353443Z s6-rc: info: service init-mods-package-install: starting
2026-05-10T10:40:41.239160408Z s6-rc: info: service init-mods-package-install successfully started
2026-05-10T10:40:41.241802188Z s6-rc: info: service init-mods-end: starting
2026-05-10T10:40:41.344995484Z s6-rc: info: service init-mods-end successfully started
2026-05-10T10:40:41.347976798Z s6-rc: info: service init-custom-files: starting
2026-05-10T10:40:41.818069077Z [custom-init] No custom files found, skipping...
2026-05-10T10:40:41.825616706Z s6-rc: info: service init-custom-files successfully started
2026-05-10T10:40:41.828654955Z s6-rc: info: service init-services: starting
2026-05-10T10:40:41.940308137Z s6-rc: info: service init-services successfully started
2026-05-10T10:40:41.943908507Z s6-rc: info: service svc-xorg: starting
2026-05-10T10:40:41.946346917Z s6-rc: info: service svc-watchdog: starting
2026-05-10T10:40:41.949340626Z s6-rc: info: service svc-pulseaudio: starting
2026-05-10T10:40:41.952780823Z s6-rc: info: service svc-nginx: starting
2026-05-10T10:40:41.955769952Z s6-rc: info: service svc-docker: starting
2026-05-10T10:40:41.958135115Z s6-rc: info: service svc-cron: starting
2026-05-10T10:40:42.077437221Z s6-rc: info: service svc-docker successfully started
2026-05-10T10:40:42.081310340Z s6-rc: info: service svc-nginx successfully started
2026-05-10T10:40:42.082471208Z s6-rc: info: service svc-cron successfully started
2026-05-10T10:40:42.090877846Z s6-rc: info: service svc-pulseaudio successfully started
2026-05-10T10:40:42.094184245Z s6-rc: info: service svc-watchdog successfully started
2026-05-10T10:40:42.424100514Z s6-rc: info: service svc-xorg successfully started
2026-05-10T10:40:42.428050349Z s6-rc: info: service svc-xsettingsd: starting
2026-05-10T10:40:42.430259447Z s6-rc: info: service svc-selkies: starting
2026-05-10T10:40:42.433286102Z s6-rc: info: service svc-de: starting
2026-05-10T10:40:42.539603880Z s6-rc: info: service svc-selkies successfully started
2026-05-10T10:40:42.539771427Z s6-rc: info: service svc-xsettingsd successfully started
2026-05-10T10:40:42.566082000Z s6-rc: info: service svc-de successfully started
2026-05-10T10:40:42.567865692Z s6-rc: info: service legacy-services: starting
2026-05-10T10:40:43.009807504Z 2026/05/10 03:40:42 [warn] 936#936: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size
2026-05-10T10:40:43.045655643Z /usr/sbin/which: no nvidia-smi in (/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
2026-05-10T10:40:43.237769963Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2026-05-10T10:40:43.256862692Z screen 0 shmid 0
2026-05-10T10:40:43.267959628Z 2026/05/10 03:40:42 [emerg] 1174#1174: io_setup() failed (38: Function not implemented)
2026-05-10T10:40:43.455907549Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2026-05-10T10:40:43.461221961Z 19
2026-05-10T10:40:43.561669337Z s6-rc: info: service legacy-services successfully started
2026-05-10T10:40:43.564751434Z s6-rc: info: service ci-service-check: starting
2026-05-10T10:40:43.726281265Z [ls.io-init] done.
2026-05-10T10:40:43.736805297Z s6-rc: info: service ci-service-check successfully started
2026-05-10T10:40:43.807374686Z 20
2026-05-10T10:40:44.820174875Z The XKEYBOARD keymap compiler (xkbcomp) reports:
2026-05-10T10:40:44.820718670Z > Warning:          Multiple symbols for level 1/group 1 on key <FK23>
2026-05-10T10:40:44.821171913Z >                   Using F23, ignoring XF86TouchpadOff
2026-05-10T10:40:44.821279309Z > Warning:          Symbol map for key <FK23> redefined
2026-05-10T10:40:44.821355122Z >                   Using last definition for conflicting fields
2026-05-10T10:40:44.821366515Z > Warning:          Symbol map for key <FK24> redefined
2026-05-10T10:40:44.821375674Z >                   Using last definition for conflicting fields
2026-05-10T10:40:44.838512794Z Errors from xkbcomp are not fatal to the X server
2026-05-10T10:40:44.919636296Z xsettingsd: Created window 0x200001 on screen 0 with timestamp 3136327828
2026-05-10T10:40:44.921207160Z xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
2026-05-10T10:40:44.921536322Z xsettingsd: Took ownership of selection _XSETTINGS_S0
2026-05-10T10:40:45.353219536Z 2026/05/10 03:40:45 [error] 1174#1174: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.3, server: , request: "GET /websockets HTTP/1.1", upstream: "http://127.0.0.1:8082/websockets", host: "172.17.0.4:3001"
2026-05-10T10:40:45.354948567Z 2026/05/10 03:40:45 [error] 1174#1174: *6 open() "/usr/share/selkies/web/50x.html" failed (2: No such file or directory), client: 172.17.0.3, server: , request: "GET /websockets HTTP/1.1", upstream: "http://127.0.0.1:8082/websockets", host: "172.17.0.4:3001"
2026-05-10T10:40:47.500640841Z INFO:selkies.__main__:Starting mode 'websockets'...
2026-05-10T10:40:47.502131382Z INFO:selkies.__main__:Starting Selkies in 'websockets' mode.
2026-05-10T10:40:47.984092553Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2026-05-10T10:40:48.635885362Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2026-05-10T10:40:49.357604736Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2026-05-10T10:40:50.082120421Z INFO:main:Upload directory ensured: /config/Desktop
2026-05-10T10:40:50.084955170Z INFO:main:Legacy Mode ENABLED (SELKIES_MASTER_TOKEN is not set).
2026-05-10T10:40:50.089695826Z INFO:main:Starting Selkies (WebSocket Mode) with settings: {'_setting_definitions': [{'name': 'audio_enabled', 'type': 'bool', 'default': True, 'help': 'Enable server-to-client audio streaming.'}, {'name': 'microphone_enabled', 'type': 'bool', 'default': True, 'help': 'Enable client-to-server microphone forwarding.'}, {'name': 'gamepad_enabled', 'type': 'bool', 'default': True, 'help': 'Enable gamepad support.'}, {'name': 'clipboard_enabled', 'type': 'bool', 'default': True, 'help': 'Enable clipboard synchronization.'}, {'name': 'clipboard_in_enabled', 'type': 'bool', 'default': True, 'help': 'Enable client-to-server clipboard synchronization.'}, {'name': 'clipboard_out_enabled', 'type': 'bool', 'default': True, 'help': 'Enable server-to-client clipboard synchronization.'}, {'name': 'command_enabled', 'type': 'bool', 'default': True, 'help': 'Enable parsing of command websocket messages.'}, {'name': 'file_transfers', 'type': 'list', 'default': 'upload,download', 'meta': {'allowed': ['upload', 'download']}, 'help': 'Allowed file transfer directions (comma-separated: "upload,download"). Set to "" or "none" to disable.'}, {'name': 'framerate', 'type': 'range', 'default': '8-120', 'meta': {'default_value': 60}, 'help': 'Allowed framerate range (e.g., "8-165") or a fixed value (e.g., "60").'}, {'name': 'h264_crf', 'type': 'range', 'default': '5-50', 'meta': {'default_value': 25}, 'help': 'Allowed H.264 CRF range (e.g., "5-50") or a fixed value.'}, {'name': 'video_bitrate', 'type': 'range', 'default': '1-100', 'meta': {'default_value': 8}, 'help': 'Default video-bitrate aka CBR, in Megabits per second (Mbps), allowed range (e.g., "1-100") or a fixed value (e.g., "8" for 8 Mbps)'}, {'name': 'rate_control_mode', 'type': 'enum', 'default': 'crf', 'meta': {'allowed': ['crf', 'cbr']}, 'help': 'Rate control mode for video encoding (cbr or crf). Only effective when enable_rate_control is true.'}, {'name': 'enable_rate_control', 'type': 'bool', 'default': False, 'help': 'Enable rate control for video encoding. Used in association with rate_control_mode.'}, {'name': 'audio_bitrate', 'type': 'enum', 'default': '320000', 'meta': {'allowed': ['64000', '128000', '192000', '256000', '320000']}, 'help': 'The default audio bitrate.'}, {'name': 'is_manual_resolution_mode', 'type': 'bool', 'default': False, 'help': 'Lock the resolution to the manual width/height values.'}, {'name': 'manual_width', 'type': 'int', 'default': 0, 'help': 'Lock width to a fixed value. Setting this forces manual resolution mode.'}, {'name': 'manual_height', 'type': 'int', 'default': 0, 'help': 'Lock height to a fixed value. Setting this forces manual resolution mode.'}, {'name': 'scaling_dpi', 'type': 'enum', 'default': '96', 'meta': {'allowed': ['96', '120', '144', '168', '192', '216', '240', '264', '288']}, 'help': 'The default DPI for UI scaling.'}, {'name': 'enable_binary_clipboard', 'type': 'bool', 'default': False, 'help': 'Allow binary data (e.g., images) on the clipboard.'}, {'name': 'use_browser_cursors', 'type': 'bool', 'default': False, 'help': 'Use browser CSS cursors instead of rendering to canvas.'}, {'name': 'use_css_scaling', 'type': 'bool', 'default': False, 'help': 'HiDPI when false, if true a lower resolution is sent from the client and the canvas is stretched.'}, {'name': 'ui_title', 'type': 'str', 'default': 'Selkies', 'help': 'Title in top left corner of sidebar.'}, {'name': 'ui_show_logo', 'type': 'bool', 'default': True, 'help': 'Show the Selkies logo in the sidebar.'}, {'name': 'ui_show_core_buttons', 'type': 'bool', 'default': True, 'help': 'Show the core components buttons display, audio, microphone, and gamepad.'}, {'name': 'ui_show_sidebar', 'type': 'bool', 'default': True, 'help': 'Show the main sidebar UI.'}, {'name': 'ui_sidebar_show_video_settings', 'type': 'bool', 'default': True, 'help': 'Show the video settings section in the sidebar.'}, {'name': 'ui_sidebar_show_screen_settings', 'type': 'bool', 'default': True, 'help': 'Show the screen settings section in the sidebar.'}, {'name': 'ui_sidebar_show_audio_settings', 'type': 'bool', 'default': True, 'help': 'Show the audio settings section in the sidebar.'}, {'name': 'ui_sidebar_show_stats', 'type': 'bool', 'default': True, 'help': 'Show the stats section in the sidebar.'}, {'name': 'ui_sidebar_show_clipboard', 'type': 'bool', 'default': True, 'help': 'Show the clipboard section in the sidebar.'}, {'name': 'ui_sidebar_show_files', 'type': 'bool', 'default': True, 'help': 'Show the file transfer section in the sidebar.'}, {'name': 'ui_sidebar_show_apps', 'type': 'bool', 'default': True, 'help': 'Show the applications section in the sidebar.'}, {'name': 'ui_sidebar_show_sharing', 'type': 'bool', 'default': True, 'help': 'Show the sharing section in the sidebar.'}, {'name': 'ui_sidebar_show_gamepads', 'type': 'bool', 'default': True, 'help': 'Show the gamepads section in the sidebar.'}, {'name': 'ui_sidebar_show_fullscreen', 'type': 'bool', 'default': True, 'help': 'Show the fullscreen button in the sidebar.'}, {'name': 'ui_sidebar_show_gaming_mode', 'type': 'bool', 'default': True, 'help': 'Show the gaming mode button in the sidebar.'}, {'name': 'ui_sidebar_show_trackpad', 'type': 'bool', 'default': True, 'help': 'Show the virtual trackpad button in the sidebar.'}, {'name': 'ui_sidebar_show_keyboard_button', 'type': 'bool', 'default': True, 'help': 'Show the on-screen keyboard button in the display area.'}, {'name': 'ui_sidebar_show_soft_buttons', 'type': 'bool', 'default': True, 'help': 'Show the soft buttons section in the sidebar.'}, {'name': 'enable_sharing', 'type': 'bool', 'default': True, 'help': 'Master toggle for all sharing features.'}, {'name': 'enable_collab', 'type': 'bool', 'default': True, 'help': 'Enable collaborative (read-write) sharing link.'}, {'name': 'enable_shared', 'type': 'bool', 'default': True, 'help': 'Enable view-only sharing links.'}, {'name': 'enable_player2', 'type': 'bool', 'default': True, 'help': 'Enable sharing link for gamepad player 2.'}, {'name': 'enable_player3', 'type': 'bool', 'default': True, 'help': 'Enable sharing link for gamepad player 3.'}, {'name': 'enable_player4', 'type': 'bool', 'default': True, 'help': 'Enable sharing link for gamepad player 4.'}, {'name': 'debug', 'type': 'bool', 'default': False, 'help': 'Enable debug logging.'}, {'name': 'mode', 'type': 'str', 'default': 'websockets', 'help': "Specify the mode: 'webrtc' or 'websockets'; defaults to websockets"}, {'name': 'enable_dual_mode', 'type': 'bool', 'default': False, 'help': 'Enable switching Streaming modes from UI'}, {'name': 'audio_device_name', 'type': 'str', 'default': 'output.monitor', 'help': 'Audio device name for pcmflux capture.'}, {'name': 'encoder', 'type': 'enum', 'default': 'x264enc', 'meta': {'allowed': ['x264enc', 'jpeg']}, 'help': 'The default video encoder.'}, {'name': 'jpeg_quality', 'type': 'range', 'default': '1-100', 'meta': {'default_value': 40}, 'help': 'Allowed JPEG quality range (e.g., "1-100") or a fixed value.'}, {'name': 'h264_fullcolor', 'type': 'bool', 'default': False, 'help': 'Enable H.264 full color range for pixelflux encoders.'}, {'name': 'h264_streaming_mode', 'type': 'bool', 'default': False, 'help': 'Enable H.264 streaming mode for pixelflux encoders.'}, {'name': 'use_cpu', 'type': 'bool', 'default': False, 'help': 'Force CPU-based encoding for pixelflux.'}, {'name': 'use_paint_over_quality', 'type': 'bool', 'default': True, 'help': 'Enable high-quality paint-over for static scenes.'}, {'name': 'paint_over_jpeg_quality', 'type': 'range', 'default': '1-100', 'meta': {'default_value': 90}, 'help': 'Allowed JPEG paint-over quality range or a fixed value.'}, {'name': 'h264_paintover_crf', 'type': 'range', 'default': '5-50', 'meta': {'default_value': 18}, 'help': 'Allowed H.264 paint-over CRF range or a fixed value.'}, {'name': 'h264_paintover_burst_frames', 'type': 'range', 'default': '1-30', 'meta': {'default_value': 5}, 'help': 'Allowed H.264 paint-over burst frames range or a fixed value.'}, {'name': 'second_screen', 'type': 'bool', 'default': True, 'help': 'Enable support for a second monitor/display.'}, {'name': 'port', 'type': 'int', 'default': 8081, 'env_var': 'CUSTOM_WS_PORT', 'help': 'Port for the data websocket server.'}, {'name': 'control_port', 'type': 'int', 'default': 8083, 'help': 'Port for the internal control plane API.'}, {'name': 'master_token', 'type': 'str', 'default': '', 'help': 'Master token to enable secure mode and protect the control plane API.'}, {'name': 'dri_node', 'type': 'str', 'default': '', 'env_var': 'DRI_NODE', 'help': 'Path to the DRI render node for VA-API.'}, {'name': 'watermark_path', 'type': 'str', 'default': '', 'env_var': 'WATERMARK_PNG', 'help': 'Absolute path to the watermark PNG file.'}, {'name': 'watermark_location', 'type': 'int', 'default': -1, 'env_var': 'WATERMARK_LOCATION', 'help': 'Watermark location enum (0-6).'}, {'name': 'wayland_socket_index', 'type': 'int', 'default': 0, 'help': 'Index for the Wayland command socket (e.g. 0 for wayland-0).'}], 'audio_enabled': (True, False), 'microphone_enabled': (True, False), 'gamepad_enabled': (True, False), 'clipboard_enabled': (True, False), 'clipboard_in_enabled': (True, False), 'clipboard_out_enabled': (True, False), 'command_enabled': (True, False), 'file_transfers': ['upload', 'download'], 'framerate': (8, 120), 'h264_crf': (5, 50), 'video_bitrate': (1, 100), 'rate_control_mode': 'crf', 'enable_rate_control': (False, False), 'audio_bitrate': '320000', 'is_manual_resolution_mode': (False, False), 'manual_width': 0, 'manual_height': 0, 'scaling_dpi': '96', 'enable_binary_clipboard': (False, False), 'use_browser_cursors': (False, False), 'use_css_scaling': (False, False), 'ui_title': 'Selkies', 'ui_show_logo': (True, False), 'ui_show_core_buttons': (True, False), 'ui_show_sidebar': (True, False), 'ui_sidebar_show_video_settings': (True, False), 'ui_sidebar_show_screen_settings': (True, False), 'ui_sidebar_show_audio_settings': (True, False), 'ui_sidebar_show_stats': (True, False), 'ui_sidebar_show_clipboard': (True, False), 'ui_sidebar_show_files': (True, False), 'ui_sidebar_show_apps': (True, False), 'ui_sidebar_show_sharing': (True, False), 'ui_sidebar_show_gamepads': (True, False), 'ui_sidebar_show_fullscreen': (True, False), 'ui_sidebar_show_gaming_mode': (True, False), 'ui_sidebar_show_trackpad': (True, False), 'ui_sidebar_show_keyboard_button': (True, False), 'ui_sidebar_show_soft_buttons': (True, False), 'enable_sharing': (True, False), 'enable_collab': (True, False), 'enable_shared': (True, False), 'enable_player2': (True, False), 'enable_player3': (True, False), 'enable_player4': (True, False), 'debug': (False, False), 'mode': 'websockets', 'enable_dual_mode': (False, False), 'audio_device_name': 'output.monitor', 'encoder': 'x264enc', 'jpeg_quality': (1, 100), 'h264_fullcolor': (False, False), 'h264_streaming_mode': (False, False), 'use_cpu': (False, False), 'use_paint_over_quality': (True, False), 'paint_over_jpeg_quality': (1, 100), 'h264_paintover_crf': (5, 50), 'h264_paintover_burst_frames': (1, 30), 'second_screen': (True, False), 'port': 8082, 'control_port': 8083, 'master_token': '', 'dri_node': '', 'watermark_path': '', 'watermark_location': -1, 'wayland_socket_index': 2}
2026-05-10T10:40:50.089983345Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2026-05-10T10:40:50.090319051Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2026-05-10T10:40:50.092649855Z INFO:main:All main components initialized. Running server...
2026-05-10T10:40:50.132147193Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2026-05-10T10:40:50.168018538Z INFO:webrtc_input:Resetting keyboard modifiers.
2026-05-10T10:40:50.207759878Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2026-05-10T10:40:50.228400022Z INFO:webrtc_input:Found XFIXES version 4.0
2026-05-10T10:40:50.228616257Z INFO:webrtc_input:starting cursor monitor
2026-05-10T10:40:50.229261777Z INFO:webrtc_input:watching for cursor changes
2026-05-10T10:40:50.387376411Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2026-05-10T10:40:50.398163614Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2026-05-10T10:40:50.453192238Z INFO:data_websocket:Legacy client ('127.0.0.1', 40678) connected. Role: controller, Slot: None
2026-05-10T10:40:50.453579508Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 40678)
2026-05-10T10:40:50.454663040Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 40678)
2026-05-10T10:40:50.481453108Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2026-05-10T10:40:50.540731079Z INFO:data_websocket:PulseAudio connection established.
2026-05-10T10:40:50.552693148Z INFO:data_websocket:Registering new client for display: primary
2026-05-10T10:40:50.553163976Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2026-05-10T10:40:50.554677274Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2026-05-10T10:40:50.558097080Z INFO:gst_app_resize:i3 detected. Applying xrdb for DPI 96.
2026-05-10T10:40:50.560029902Z INFO:gst_app_resize:Wrote 'Xft.dpi:   96' to /config/.Xresources.
2026-05-10T10:40:51.177733384Z INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb.
2026-05-10T10:40:51.180016302Z INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd.
2026-05-10T10:40:51.278847643Z INFO:gst_app_resize:Found xsettingsd process with PID: 1035.
2026-05-10T10:40:51.338308493Z xsettingsd: Reloading configuration
2026-05-10T10:40:51.340637874Z xsettingsd: Loaded 5 settings from /config/.xsettingsd
2026-05-10T10:40:51.346501221Z INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 1035 to reload config.
2026-05-10T10:40:51.521560998Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2026-05-10T10:40:51.529419273Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js0): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2026-05-10T10:40:51.529945021Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js0.sock, EVDEV socket: /tmp/selkies_event1000.sock. Using fixed config: Microsoft X-Box 360 pad
2026-05-10T10:40:51.530542364Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 0 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js0.sock, EVDEV: /tmp/selkies_event1000.sock).
2026-05-10T10:40:51.532257929Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js1): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2026-05-10T10:40:51.532754108Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js1.sock, EVDEV socket: /tmp/selkies_event1001.sock. Using fixed config: Microsoft X-Box 360 pad
2026-05-10T10:40:51.533332643Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 1 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js1.sock, EVDEV: /tmp/selkies_event1001.sock).
2026-05-10T10:40:51.534645387Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js2): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2026-05-10T10:40:51.535103960Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js2.sock, EVDEV socket: /tmp/selkies_event1002.sock. Using fixed config: Microsoft X-Box 360 pad
2026-05-10T10:40:51.535639719Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 2 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js2.sock, EVDEV: /tmp/selkies_event1002.sock).
2026-05-10T10:40:51.536942873Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js3): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2026-05-10T10:40:51.537443892Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js3.sock, EVDEV socket: /tmp/selkies_event1003.sock. Using fixed config: Microsoft X-Box 360 pad
2026-05-10T10:40:51.537958579Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 3 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js3.sock, EVDEV: /tmp/selkies_event1003.sock).
2026-05-10T10:40:51.543166025Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2026-05-10T10:40:51.543965705Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2026-05-10T10:40:51.545233308Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2026-05-10T10:40:51.545949100Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2026-05-10T10:40:51.547226592Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2026-05-10T10:40:51.547892183Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2026-05-10T10:40:51.549284426Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2026-05-10T10:40:51.549959375Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2026-05-10T10:40:51.551829031Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2026-05-10T10:40:51.552589041Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2026-05-10T10:40:51.553332288Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2026-05-10T10:40:51.554086075Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2026-05-10T10:40:51.581017398Z WARNING:gst_app_resize:Failed to set XFCE cursor size.
2026-05-10T10:40:51.929323721Z INFO:gst_app_resize:Set GNOME cursor-size to 32
2026-05-10T10:40:51.930631575Z INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
2026-05-10T10:40:51.931412407Z INFO:data_websocket:Starting display reconfiguration...
2026-05-10T10:40:51.934813596Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2026-05-10T10:40:51.935862699Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2026-05-10T10:40:52.232393048Z INFO:data_websocket:Mode 1920x992 not found. Creating it.
2026-05-10T10:40:52.601503955Z INFO:data_websocket:Defining logical monitors for the window manager...
2026-05-10T10:40:52.870232268Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2026-05-10T10:40:52.871092550Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2026-05-10T10:40:52.871784353Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2026-05-10T10:40:52.915042154Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2026-05-10T10:40:52.923998139Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2026-05-10T10:40:52.924945166Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2026-05-10T10:40:52.925912684Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2026-05-10T10:40:52.927462986Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2026-05-10T10:40:52.928745659Z INFO:data_websocket:Display reconfiguration finished successfully.
2026-05-10T10:40:52.929611713Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2026-05-10T10:40:52.931278299Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2026-05-10T10:40:52.932574329Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2026-05-10T10:40:52.933216452Z INFO:data_websocket:Starting pcmflux audio pipeline...
2026-05-10T10:40:52.935095607Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2026-05-10T10:40:52.938293977Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2026-05-10T10:40:52.939501339Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2026-05-10T10:40:52.944041351Z INFO:data_websocket:pcmflux audio capture started successfully.
2026-05-10T10:40:52.946813574Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor with latency: 10ms
2026-05-10T10:40:52.958423904Z X Shared Memory Extension available.
2026-05-10T10:40:52.961029711Z XShm setup complete for 1920x992.
2026-05-10T10:40:52.963086694Z CPU cores available: 64
2026-05-10T10:40:52.968472459Z Stream settings active -> Res: 1920x992 | FPS: 60.0 | Stripes: 1 | Mode: H264 (CPU) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
2026-05-10T10:40:52.969481251Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2026-05-10T10:40:53.062273842Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2026-05-10T10:40:53.063009674Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2026-05-10T10:40:53.067961997Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2026-05-10T10:40:53.068972572Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2026-05-10T10:40:53.069602721Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2026-05-10T10:40:53.088322818Z [pcmflux] SUCCESS: Connected to PulseAudio.
2026-05-10T10:40:53.089925816Z [pcmflux] SUCCESS: Opus encoder created.
2026-05-10T10:40:53.095169546Z [pcmflux] Capture loop started. Device: output.monitor, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, Debug Logging: Off, PCM Chunk: 3840 bytes
2026-05-10T10:40:55.062272133Z [pcmflux] First non-silent audio chunk detected! Encoding...
2026-05-10T10:40:57.690483439Z WARNING:webrtc_input:Error reading clipboard with xclip: 
2026-05-10T10:40:57.690524953Z Traceback (most recent call last):
2026-05-10T10:40:57.690534873Z   File "/usr/lib/python3.14/asyncio/tasks.py", line 488, in wait_for
2026-05-10T10:40:57.690543530Z     return await fut
2026-05-10T10:40:57.690551546Z            ^^^^^^^^^
2026-05-10T10:40:57.690559963Z   File "/usr/lib/python3.14/asyncio/subprocess.py", line 201, in communicate
2026-05-10T10:40:57.690568340Z     stdin, stdout, stderr = await tasks.gather(stdin, stdout, stderr)
2026-05-10T10:40:57.690576466Z                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-05-10T10:40:57.690584603Z asyncio.exceptions.CancelledError
2026-05-10T10:40:57.690592659Z 
2026-05-10T10:40:57.690600465Z The above exception was the direct cause of the following exception:
2026-05-10T10:40:57.690608511Z 
2026-05-10T10:40:57.690616327Z Traceback (most recent call last):
2026-05-10T10:40:57.690624273Z   File "/lsiopy/lib/python3.14/site-packages/selkies/input_handler.py", line 1767, in read_clipboard
2026-05-10T10:40:57.690632569Z     stdout_targets, _ = await asyncio.wait_for(proc_targets.communicate(), timeout=1)
2026-05-10T10:40:57.690640636Z                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-05-10T10:40:57.690648732Z   File "/usr/lib/python3.14/asyncio/tasks.py", line 487, in wait_for
2026-05-10T10:40:57.690656989Z     async with timeouts.timeout(timeout):
2026-05-10T10:40:57.690664914Z                ~~~~~~~~~~~~~~~~^^^^^^^^^
2026-05-10T10:40:57.690672790Z   File "/usr/lib/python3.14/asyncio/timeouts.py", line 114, in __aexit__
2026-05-10T10:40:57.690681007Z     raise TimeoutError from exc_val
2026-05-10T10:40:57.690688953Z TimeoutError
2026-05-10T10:41:15.589124257Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 40678) (Display ID: primary)...
2026-05-10T10:41:15.591083423Z INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration.
2026-05-10T10:41:15.591783172Z INFO:data_websocket:Starting display reconfiguration...
2026-05-10T10:41:15.592480486Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2026-05-10T10:41:15.647508268Z Capture loop stopped. X resources released.