2026-04-11T04:17:28.867595712Z /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0
2026-04-11T04:17:28.867707568Z /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur
2026-04-11T04:17:29.537632488Z /run/s6/basedir/scripts/rc.init: info: hook /docker-mods exited 0
2026-04-11T04:17:29.844084041Z s6-rc: info: service s6rc-oneshot-runner: starting
2026-04-11T04:17:30.015788134Z s6-rc: info: service s6rc-oneshot-runner successfully started
2026-04-11T04:17:30.019530077Z s6-rc: info: service fix-attrs: starting
2026-04-11T04:17:30.022159770Z s6-rc: info: service init-migrations: starting
2026-04-11T04:17:30.024495392Z s6-rc: info: service init-envfile: starting
2026-04-11T04:17:30.599285210Z s6-rc: info: service fix-attrs successfully started
2026-04-11T04:17:30.601009420Z s6-rc: info: service legacy-cont-init: starting
2026-04-11T04:17:30.627042904Z s6-rc: info: service init-envfile successfully started
2026-04-11T04:17:30.702370997Z [migrations] started
2026-04-11T04:17:30.706866957Z [migrations] no migrations found
2026-04-11T04:17:30.712116504Z s6-rc: info: service init-migrations successfully started
2026-04-11T04:17:30.714075658Z s6-rc: info: service init-adduser: starting
2026-04-11T04:17:30.902996939Z s6-rc: info: service legacy-cont-init successfully started
2026-04-11T04:17:31.276492610Z usermod: no changes
2026-04-11T04:17:31.372087719Z ───────────────────────────────────────
2026-04-11T04:17:31.372119884Z 
2026-04-11T04:17:31.372133742Z       ██╗     ███████╗██╗ ██████╗
2026-04-11T04:17:31.372142890Z       ██║     ██╔════╝██║██╔═══██╗
2026-04-11T04:17:31.372151367Z       ██║     ███████╗██║██║   ██║
2026-04-11T04:17:31.372159754Z       ██║     ╚════██║██║██║   ██║
2026-04-11T04:17:31.372168151Z       ███████╗███████║██║╚██████╔╝
2026-04-11T04:17:31.372176498Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2026-04-11T04:17:31.372184925Z 
2026-04-11T04:17:31.372192901Z    Brought to you by linuxserver.io
2026-04-11T04:17:31.372201107Z ───────────────────────────────────────
2026-04-11T04:17:31.377451997Z 
2026-04-11T04:17:31.377832793Z To support the app dev(s) visit:
2026-04-11T04:17:31.411873776Z DB Browser for SQLite: https://www.patreon.com/db4s
2026-04-11T04:17:31.417121390Z 
2026-04-11T04:17:31.417144587Z To support LSIO projects visit:
2026-04-11T04:17:31.417175679Z https://www.linuxserver.io/donate/
2026-04-11T04:17:31.417184387Z 
2026-04-11T04:17:31.417192283Z ───────────────────────────────────────
2026-04-11T04:17:31.417200990Z GID/UID
2026-04-11T04:17:31.417209016Z ───────────────────────────────────────
2026-04-11T04:17:31.504967290Z 
2026-04-11T04:17:31.504992361Z User UID:    911
2026-04-11T04:17:31.505001619Z User GID:    911
2026-04-11T04:17:31.505009846Z ───────────────────────────────────────
2026-04-11T04:17:32.007940615Z s6-rc: info: service init-adduser successfully started
2026-04-11T04:17:32.011012127Z s6-rc: info: service init-device-perms: starting
2026-04-11T04:17:32.502146191Z s6-rc: info: service init-device-perms successfully started
2026-04-11T04:17:32.504787147Z s6-rc: info: service init-os-end: starting
2026-04-11T04:17:32.632300877Z s6-rc: info: service init-os-end successfully started
2026-04-11T04:17:32.635721132Z s6-rc: info: service init-selkies: starting
2026-04-11T04:17:32.720625000Z s6-rc: info: service init-selkies successfully started
2026-04-11T04:17:32.723131555Z s6-rc: info: service init-nginx: starting
2026-04-11T04:17:34.049838074Z ...+......+......+.....+....+.....+.+.....+......+++++++++++++++++++++++++++++++++++++++*.+...+..+....+.....+++++++++++++++++++++++++++++++++++++++*.........+.....+......+....+.....+...+....+.........+......+.....+...+.+..+.......+.....+...+....+.........+...........+.+............+.....+.......+......+.....+....+......+........+.......+..+...+...+.........+................+...............+......+...+.....+...+.......+......+.....+.+...+..+...+.......+......+..+...+...+............+...+....+...............+..+.+.......................+.......+.........+......+..+.+......+.....+..........+...+..+.+..+...+.......+..+.............+......+....................+.....................+...+......+.......+............+..+.........+..........+.....+....+........+...............+....+......+........+.+.....+....+......+.........+......+...+........+..........+...+..+.........+.+...+..+.......+..+......+....+........+...+.............+.....+......+.+...+................................+.........+...+.......+........+.+.....+......................+..+............+...+......+.+...+........+....+..................+.....+.......+.....+......+...+.+......+...+..+..........+.........+.....+....+......+......+.....+...+...........................+....+........+.+..+.......+...+.....+..........+..+......+......+.+..+.......+.....+......+.........+....+.........+..+.+...+...........+...+.+.....+....+.....+.+..+...+.+..............+............+....+...+..+......+.......+...+.....+...+............+.......+..+.............+.....+.+..............+.......+......+............+..+...+.......+......+.....+...+....+...+..+...............+...............+......+......+.+..............+....+.....+....+...+.............................+....+..+....+...+...............+.....+......+................+........+...+...+....+...+..+.............+.....+...+.......+...+..+....+.....+....+.....+....+.....+......+.+...+......+............+..+.+..+............+..........+..+....+...........+...+.+..+....+.....+......+.......+......+.....+.+...+......+...........+......+..........+..+............+..................+.++++++
2026-04-11T04:17:34.257563548Z ..............+...............+++++++++++++++++++++++++++++++++++++++*..+...+++++++++++++++++++++++++++++++++++++++*.+.....+.+..+.......+...........+.......+......+......+........+.......+......+.........+...+..................+..+.+.....+....+..+.+.....+.......+...+...+.....+....+......+.........+..+.............+...+...+..+...+......+.+...+......+.....+.+.........+....................+.+...+.........+...+..+...............+.......+.........+......+...+..+....+..............+...+...+.....................+....+.....+............+.......+..+......++++++
2026-04-11T04:17:34.310725981Z -----
2026-04-11T04:17:36.010290771Z s6-rc: info: service init-nginx successfully started
2026-04-11T04:17:36.012541242Z s6-rc: info: service init-selkies-config: starting
2026-04-11T04:17:36.362661070Z [ls.io-init] CPU does not support AVX2. Falling back to X11
2026-04-11T04:17:37.541945568Z [ls.io-init] Creating initial backup of menu.xml
2026-04-11T04:17:38.351079717Z [ls.io-init] Creating initial backup of system rc.xml
2026-04-11T04:17:39.219720121Z s6-rc: info: service init-selkies-config successfully started
2026-04-11T04:17:39.222968429Z s6-rc: info: service init-video: starting
2026-04-11T04:17:39.635337274Z s6-rc: info: service init-video successfully started
2026-04-11T04:17:39.638179385Z s6-rc: info: service init-selkies-end: starting
2026-04-11T04:17:39.720625517Z s6-rc: info: service init-selkies-end successfully started
2026-04-11T04:17:39.723654253Z s6-rc: info: service init-config: starting
2026-04-11T04:17:39.809146236Z s6-rc: info: service init-config successfully started
2026-04-11T04:17:39.811565175Z s6-rc: info: service init-crontab-config: starting
2026-04-11T04:17:40.415520798Z s6-rc: info: service init-crontab-config successfully started
2026-04-11T04:17:40.418146213Z s6-rc: info: service init-config-end: starting
2026-04-11T04:17:40.508182122Z s6-rc: info: service init-config-end successfully started
2026-04-11T04:17:40.510509387Z s6-rc: info: service init-mods: starting
2026-04-11T04:17:40.586632280Z s6-rc: info: service init-mods successfully started
2026-04-11T04:17:40.589080468Z s6-rc: info: service init-mods-package-install: starting
2026-04-11T04:17:41.265961488Z s6-rc: info: service init-mods-package-install successfully started
2026-04-11T04:17:41.268791876Z s6-rc: info: service init-mods-end: starting
2026-04-11T04:17:41.356855635Z s6-rc: info: service init-mods-end successfully started
2026-04-11T04:17:41.360259648Z s6-rc: info: service init-custom-files: starting
2026-04-11T04:17:41.668341637Z [custom-init] No custom files found, skipping...
2026-04-11T04:17:41.674262185Z s6-rc: info: service init-custom-files successfully started
2026-04-11T04:17:41.677458549Z s6-rc: info: service init-services: starting
2026-04-11T04:17:41.760090595Z s6-rc: info: service init-services successfully started
2026-04-11T04:17:41.763367291Z s6-rc: info: service svc-xorg: starting
2026-04-11T04:17:41.766529296Z s6-rc: info: service svc-watchdog: starting
2026-04-11T04:17:41.768603070Z s6-rc: info: service svc-pulseaudio: starting
2026-04-11T04:17:41.771058423Z s6-rc: info: service svc-nginx: starting
2026-04-11T04:17:41.773560088Z s6-rc: info: service svc-docker: starting
2026-04-11T04:17:41.776757315Z s6-rc: info: service svc-cron: starting
2026-04-11T04:17:41.932201780Z s6-rc: info: service svc-xorg successfully started
2026-04-11T04:17:41.936009985Z s6-rc: info: service svc-pulseaudio successfully started
2026-04-11T04:17:41.942321069Z s6-rc: info: service svc-cron successfully started
2026-04-11T04:17:41.953847892Z s6-rc: info: service svc-watchdog successfully started
2026-04-11T04:17:41.956837180Z s6-rc: info: service svc-nginx successfully started
2026-04-11T04:17:41.958942337Z s6-rc: info: service svc-xsettingsd: starting
2026-04-11T04:17:41.961104029Z s6-rc: info: service svc-selkies: starting
2026-04-11T04:17:41.963687078Z s6-rc: info: service svc-de: starting
2026-04-11T04:17:41.964004818Z s6-rc: info: service svc-docker successfully started
2026-04-11T04:17:42.089753697Z s6-rc: info: service svc-xsettingsd successfully started
2026-04-11T04:17:42.114339948Z s6-rc: info: service svc-de successfully started
2026-04-11T04:17:42.141757960Z s6-rc: info: service svc-selkies successfully started
2026-04-11T04:17:42.144156678Z s6-rc: info: service legacy-services: starting
2026-04-11T04:17:42.477156336Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2026-04-11T04:17:42.483748336Z xsettingsd: Unable to open connection to X server
2026-04-11T04:17:42.485380271Z s6-rc: info: service legacy-services successfully started
2026-04-11T04:17:42.487066335Z s6-rc: info: service ci-service-check: starting
2026-04-11T04:17:42.555869814Z [ls.io-init] done.
2026-04-11T04:17:42.558859012Z s6-rc: info: service ci-service-check successfully started
2026-04-11T04:17:42.853441607Z 19
2026-04-11T04:17:42.950160961Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2026-04-11T04:17:42.961653825Z screen 0 shmid 0
2026-04-11T04:17:43.053558487Z 20
2026-04-11T04:17:43.872600595Z The XKEYBOARD keymap compiler (xkbcomp) reports:
2026-04-11T04:17:43.872787541Z > Warning:          Could not resolve keysym XF86OK
2026-04-11T04:17:43.872904637Z > Warning:          Could not resolve keysym XF86GoTo
2026-04-11T04:17:43.872950489Z > Warning:          Could not resolve keysym XF86VendorLogo
2026-04-11T04:17:43.872960299Z > Warning:          Could not resolve keysym XF86MediaSelectProgramGuide
2026-04-11T04:17:43.873020370Z > Warning:          Could not resolve keysym XF86MediaSelectProgramGuide
2026-04-11T04:17:43.873074619Z > Warning:          Could not resolve keysym XF86MediaSelectHome
2026-04-11T04:17:43.873084308Z > Warning:          Could not resolve keysym XF86MediaLanguageMenu
2026-04-11T04:17:43.873092885Z > Warning:          Could not resolve keysym XF86MediaTitleMenu
2026-04-11T04:17:43.873103817Z > Warning:          Could not resolve keysym XF86AudioChannelMode
2026-04-11T04:17:43.873152816Z > Warning:          Could not resolve keysym XF86MediaSelectPC
2026-04-11T04:17:43.873179039Z > Warning:          Could not resolve keysym XF86MediaSelectTV
2026-04-11T04:17:43.873190773Z > Warning:          Could not resolve keysym XF86MediaSelectCable
2026-04-11T04:17:43.873199470Z > Warning:          Could not resolve keysym XF86MediaSelectVCR
2026-04-11T04:17:43.873209851Z > Warning:          Could not resolve keysym XF86MediaSelectVCRPlus
2026-04-11T04:17:43.873218458Z > Warning:          Could not resolve keysym XF86MediaSelectSatellite
2026-04-11T04:17:43.873234721Z > Warning:          Could not resolve keysym XF86MediaSelectCD
2026-04-11T04:17:43.873244040Z > Warning:          Could not resolve keysym XF86MediaSelectTape
2026-04-11T04:17:43.873279301Z > Warning:          Could not resolve keysym XF86MediaSelectRadio
2026-04-11T04:17:43.873291976Z > Warning:          Could not resolve keysym XF86MediaSelectTuner
2026-04-11T04:17:43.873302818Z > Warning:          Could not resolve keysym XF86MediaPlayer
2026-04-11T04:17:43.873315604Z > Warning:          Could not resolve keysym XF86MediaSelectTeletext
2026-04-11T04:17:43.873350524Z > Warning:          Could not resolve keysym XF86MediaSelectAuxiliary
2026-04-11T04:17:43.873500516Z > Warning:          Could not resolve keysym XF86MediaPlaySlow
2026-04-11T04:17:43.873526158Z > Warning:          Could not resolve keysym XF86NumberEntryMode
2026-04-11T04:17:43.874453955Z > Warning:          Could not resolve keysym XF86RefreshRateToggle
2026-04-11T04:17:43.874631052Z > Warning:          Could not resolve keysym XF86Accessibility
2026-04-11T04:17:43.874641833Z > Warning:          Could not resolve keysym XF86DoNotDisturb
2026-04-11T04:17:43.892431503Z Errors from xkbcomp are not fatal to the X server
2026-04-11T04:17:43.925364437Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2026-04-11T04:17:43.944827806Z xsettingsd: Created window 0x400001 on screen 0 with timestamp 607746855
2026-04-11T04:17:43.945598707Z xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
2026-04-11T04:17:43.945663939Z xsettingsd: Took ownership of selection _XSETTINGS_S0
2026-04-11T04:17:46.415786398Z INFO:selkies.__main__:Starting mode 'websockets'...
2026-04-11T04:17:46.417027527Z INFO:selkies.__main__:Starting Selkies in 'websockets' mode.
2026-04-11T04:17:46.969530320Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2026-04-11T04:17:47.147338564Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2026-04-11T04:17:47.870510922Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2026-04-11T04:17:48.642482411Z INFO:main:Upload directory ensured: /config/Desktop
2026-04-11T04:17:48.643912400Z INFO:main:Legacy Mode ENABLED (SELKIES_MASTER_TOKEN is not set).
2026-04-11T04:17:48.649398133Z 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': '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', 'x264enc-striped', 'jpeg']}, 'help': 'The default video encoder.'}, {'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': '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), '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', 'h264_crf': (5, 50), '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': 0}
2026-04-11T04:17:48.649800052Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2026-04-11T04:17:48.650176499Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2026-04-11T04:17:48.652608826Z INFO:main:All main components initialized. Running server...
2026-04-11T04:17:48.781075716Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2026-04-11T04:17:48.825263535Z INFO:webrtc_input:Resetting keyboard modifiers.
2026-04-11T04:17:48.852045788Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2026-04-11T04:17:48.875004973Z INFO:webrtc_input:Found XFIXES version 4.0
2026-04-11T04:17:48.875324697Z INFO:webrtc_input:starting cursor monitor
2026-04-11T04:17:48.876032502Z INFO:webrtc_input:watching for cursor changes
2026-04-11T04:17:49.023158263Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2026-04-11T04:17:49.033884865Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2026-04-11T04:17:49.476405469Z INFO:data_websocket:Legacy client ('127.0.0.1', 45444) connected. Role: controller, Slot: None
2026-04-11T04:17:49.477351483Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 45444)
2026-04-11T04:17:49.479374335Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 45444)
2026-04-11T04:17:49.509503554Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2026-04-11T04:17:49.579830110Z INFO:data_websocket:PulseAudio connection established.
2026-04-11T04:17:49.609612642Z INFO:data_websocket:Registering new client for display: primary
2026-04-11T04:17:49.610073098Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2026-04-11T04:17:49.611948513Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2026-04-11T04:17:49.616761131Z INFO:gst_app_resize:Openbox detected. Applying xrdb for DPI 96.
2026-04-11T04:17:49.618874044Z INFO:gst_app_resize:Wrote 'Xft.dpi:   96' to /config/.Xresources.
2026-04-11T04:17:49.690892877Z INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb.
2026-04-11T04:17:49.691977941Z INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd.
2026-04-11T04:17:49.792049072Z INFO:gst_app_resize:Found xsettingsd process with PID: 1382.
2026-04-11T04:17:49.838503984Z xsettingsd: Reloading configuration
2026-04-11T04:17:49.840146992Z xsettingsd: Loaded 5 settings from /config/.xsettingsd
2026-04-11T04:17:49.843023762Z INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 1382 to reload config.
2026-04-11T04:17:50.214503834Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2026-04-11T04:17:50.218388864Z 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-04-11T04:17:50.218801555Z 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-04-11T04:17:50.219269837Z 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-04-11T04:17:50.220478340Z 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-04-11T04:17:50.220845780Z 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-04-11T04:17:50.221270615Z 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-04-11T04:17:50.222312392Z 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-04-11T04:17:50.222669571Z 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-04-11T04:17:50.223070779Z 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-04-11T04:17:50.224151715Z 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-04-11T04:17:50.224504414Z 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-04-11T04:17:50.224904520Z 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-04-11T04:17:50.228424806Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2026-04-11T04:17:50.229093302Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2026-04-11T04:17:50.230006280Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2026-04-11T04:17:50.230494492Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2026-04-11T04:17:50.231434194Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2026-04-11T04:17:50.231917276Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2026-04-11T04:17:50.233342345Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2026-04-11T04:17:50.233838975Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2026-04-11T04:17:50.235677646Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2026-04-11T04:17:50.236218504Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2026-04-11T04:17:50.236742269Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2026-04-11T04:17:50.237273699Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2026-04-11T04:17:50.945344910Z INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
2026-04-11T04:17:50.946119139Z INFO:data_websocket:Starting display reconfiguration...
2026-04-11T04:17:50.949928407Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2026-04-11T04:17:50.950995745Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2026-04-11T04:17:51.200604292Z INFO:data_websocket:Mode 1920x992 not found. Creating it.
2026-04-11T04:17:51.492384589Z INFO:data_websocket:Defining logical monitors for the window manager...
2026-04-11T04:17:51.658137406Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2026-04-11T04:17:51.658944761Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2026-04-11T04:17:51.659714510Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2026-04-11T04:17:51.708643965Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2026-04-11T04:17:51.721654394Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2026-04-11T04:17:51.722842175Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2026-04-11T04:17:51.723901698Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2026-04-11T04:17:51.725657933Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2026-04-11T04:17:51.727039665Z INFO:data_websocket:Display reconfiguration finished successfully.
2026-04-11T04:17:51.727886219Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2026-04-11T04:17:51.729132498Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2026-04-11T04:17:51.730201690Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2026-04-11T04:17:51.730926449Z INFO:data_websocket:Starting pcmflux audio pipeline...
2026-04-11T04:17:51.733794903Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2026-04-11T04:17:51.737364699Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2026-04-11T04:17:51.738088336Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2026-04-11T04:17:51.745341706Z INFO:data_websocket:pcmflux audio capture started successfully.
2026-04-11T04:17:51.748959810Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor with latency: X Shared Memory Extension available.10ms
2026-04-11T04:17:51.757835586Z 
2026-04-11T04:17:51.765926774Z XShm setup complete for 1920x992.
2026-04-11T04:17:51.766334695Z CPU cores available: 64
2026-04-11T04:17:51.771656728Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2026-04-11T04:17:51.772752263Z 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-04-11T04:17:51.843876394Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2026-04-11T04:17:51.844694381Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2026-04-11T04:17:51.856930773Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2026-04-11T04:17:51.858092601Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2026-04-11T04:17:51.858729493Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2026-04-11T04:17:51.879423630Z [pcmflux] SUCCESS: Connected to PulseAudio.
2026-04-11T04:17:51.991875964Z [pcmflux] SUCCESS: Opus encoder created.
2026-04-11T04:17:51.992636646Z [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-04-11T04:17:53.868409850Z [pcmflux] First non-silent audio chunk detected! Encoding...
2026-04-11T04:17:54.255374492Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 45444) (Display ID: primary)...
2026-04-11T04:17:54.257160547Z INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration.
2026-04-11T04:17:54.257960818Z INFO:data_websocket:Starting display reconfiguration...
2026-04-11T04:17:54.258639905Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2026-04-11T04:17:54.265231514Z WARNING:data_websocket:Backpressure task for 'primary' exiting: display no longer exists.
2026-04-11T04:17:54.266185264Z INFO:data_websocket:Backpressure logic task for 'primary' finished.
2026-04-11T04:17:54.285190010Z Capture loop stopped. X resources released.