2025-12-09T04:13:30.215862443Z /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0
2025-12-09T04:13:30.215922834Z /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur
2025-12-09T04:13:30.313660217Z s6-rc: info: service s6rc-oneshot-runner: starting
2025-12-09T04:13:30.317830735Z s6-rc: info: service s6rc-oneshot-runner successfully started
2025-12-09T04:13:30.318197814Z s6-rc: info: service fix-attrs: starting
2025-12-09T04:13:30.318454952Z s6-rc: info: service init-migrations: starting
2025-12-09T04:13:30.318806860Z s6-rc: info: service init-envfile: starting
2025-12-09T04:13:30.325494046Z [migrations] started
2025-12-09T04:13:30.325556111Z [migrations] no migrations found
2025-12-09T04:13:30.326051638Z s6-rc: info: service init-migrations successfully started
2025-12-09T04:13:30.326168985Z s6-rc: info: service init-adduser: starting
2025-12-09T04:13:30.327936002Z s6-rc: info: service init-envfile successfully started
2025-12-09T04:13:30.334090856Z s6-rc: info: service fix-attrs successfully started
2025-12-09T04:13:30.334206990Z s6-rc: info: service legacy-cont-init: starting
2025-12-09T04:13:30.344117566Z s6-rc: info: service legacy-cont-init successfully started
2025-12-09T04:13:30.384409908Z usermod: no changes
2025-12-09T04:13:30.393153343Z ───────────────────────────────────────
2025-12-09T04:13:30.393176360Z 
2025-12-09T04:13:30.393181059Z       ██╗     ███████╗██╗ ██████╗
2025-12-09T04:13:30.393186169Z       ██║     ██╔════╝██║██╔═══██╗
2025-12-09T04:13:30.393190628Z       ██║     ███████╗██║██║   ██║
2025-12-09T04:13:30.393195338Z       ██║     ╚════██║██║██║   ██║
2025-12-09T04:13:30.393199646Z       ███████╗███████║██║╚██████╔╝
2025-12-09T04:13:30.393204005Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2025-12-09T04:13:30.393208334Z 
2025-12-09T04:13:30.393212803Z    Brought to you by linuxserver.io
2025-12-09T04:13:30.393217162Z ───────────────────────────────────────
2025-12-09T04:13:30.393334698Z 
2025-12-09T04:13:30.393343476Z To support LSIO projects visit:
2025-12-09T04:13:30.393350019Z https://www.linuxserver.io/donate/
2025-12-09T04:13:30.393356342Z 
2025-12-09T04:13:30.393362835Z ───────────────────────────────────────
2025-12-09T04:13:30.393369939Z GID/UID
2025-12-09T04:13:30.393417154Z ───────────────────────────────────────
2025-12-09T04:13:30.396641036Z 
2025-12-09T04:13:30.396650154Z User UID:    911
2025-12-09T04:13:30.396654473Z User GID:    911
2025-12-09T04:13:30.396658792Z ───────────────────────────────────────
2025-12-09T04:13:30.410470964Z s6-rc: info: service init-adduser successfully started
2025-12-09T04:13:30.410683081Z s6-rc: info: service init-os-end: starting
2025-12-09T04:13:30.411871674Z s6-rc: info: service init-os-end successfully started
2025-12-09T04:13:30.412045735Z s6-rc: info: service init-selkies: starting
2025-12-09T04:13:30.413061210Z s6-rc: info: service init-selkies successfully started
2025-12-09T04:13:30.413183596Z s6-rc: info: service init-nginx: starting
2025-12-09T04:13:30.476365989Z ..+................+...+..+....+...+.....+......+.+.........+.....+....+......+............+++++++++++++++++++++++++++++++++++++++*.+......+...+..+....+.....+++++++++++++++++++++++++++++++++++++++*.........+...+..+...+...+....+...+......+.....+.......+..+................+..+...+.+........+.+..+.............+......+.........+.....+.......+........+.+...+..+......+...+.......+..+.......+.....+.........+....+........+...+.+.....+.+.........+......+.....+....+...+...+..+......+.+...+...+.....+.........+.+....................+..........+..+......+....+..+....+.....+.+.....+......+....+...+.......................+...+....+...+...+.........+........+....+...+......+.....+................+.....+.........+.......+..+.............+..................+..+.........+...+.+..+.......+...............+......+......+.....+...+......+.+.....+...+...+..........+.....+.......++++++
2025-12-09T04:13:30.486460946Z .+...+.....+......+.+++++++++++++++++++++++++++++++++++++++*...+.......+..+...+++++++++++++++++++++++++++++++++++++++*.....+.+.....+.............+.................+...+.+..+.......+........+....+......+..+......+......+.+........+....+........+...+.++++++
2025-12-09T04:13:30.490110825Z -----
2025-12-09T04:13:30.721242409Z s6-rc: info: service init-nginx successfully started
2025-12-09T04:13:30.728046790Z s6-rc: info: service init-selkies-config: starting
2025-12-09T04:13:30.776236865Z [ls.io-init] Creating initial backup of menu.xml
2025-12-09T04:13:30.802979203Z [ls.io-init] Creating initial backup of system rc.xml
2025-12-09T04:13:30.847450449Z s6-rc: info: service init-selkies-config successfully started
2025-12-09T04:13:30.847520280Z s6-rc: info: service init-video: starting
2025-12-09T04:13:30.858356550Z s6-rc: info: service init-video successfully started
2025-12-09T04:13:30.858501431Z s6-rc: info: service init-selkies-end: starting
2025-12-09T04:13:30.859907012Z s6-rc: info: service init-selkies-end successfully started
2025-12-09T04:13:30.860041282Z s6-rc: info: service init-config: starting
2025-12-09T04:13:30.861370970Z s6-rc: info: service init-config successfully started
2025-12-09T04:13:30.861550872Z s6-rc: info: service init-crontab-config: starting
2025-12-09T04:13:30.867311892Z s6-rc: info: service init-crontab-config successfully started
2025-12-09T04:13:30.867424639Z s6-rc: info: service init-config-end: starting
2025-12-09T04:13:30.868441557Z s6-rc: info: service init-config-end successfully started
2025-12-09T04:13:30.868566789Z s6-rc: info: service init-mods: starting
2025-12-09T04:13:30.869538075Z s6-rc: info: service init-mods successfully started
2025-12-09T04:13:30.869648246Z s6-rc: info: service init-mods-package-install: starting
2025-12-09T04:13:30.875076657Z s6-rc: info: service init-mods-package-install successfully started
2025-12-09T04:13:30.875172881Z s6-rc: info: service init-mods-end: starting
2025-12-09T04:13:30.876075909Z s6-rc: info: service init-mods-end successfully started
2025-12-09T04:13:30.876181672Z s6-rc: info: service init-custom-files: starting
2025-12-09T04:13:30.880778518Z [custom-init] No custom files found, skipping...
2025-12-09T04:13:30.881180648Z s6-rc: info: service init-custom-files successfully started
2025-12-09T04:13:30.881298726Z s6-rc: info: service init-services: starting
2025-12-09T04:13:30.882292236Z s6-rc: info: service init-services successfully started
2025-12-09T04:13:30.882416436Z s6-rc: info: service svc-xorg: starting
2025-12-09T04:13:30.882548192Z s6-rc: info: service svc-watchdog: starting
2025-12-09T04:13:30.882686490Z s6-rc: info: service svc-pulseaudio: starting
2025-12-09T04:13:30.883175034Z s6-rc: info: service svc-nginx: starting
2025-12-09T04:13:30.883180986Z s6-rc: info: service svc-docker: starting
2025-12-09T04:13:30.883292561Z s6-rc: info: service svc-cron: starting
2025-12-09T04:13:30.884451755Z s6-rc: info: service svc-pulseaudio successfully started
2025-12-09T04:13:30.884604683Z s6-rc: info: service svc-xorg successfully started
2025-12-09T04:13:30.884776378Z s6-rc: info: service svc-nginx successfully started
2025-12-09T04:13:30.884910138Z s6-rc: info: service svc-xsettingsd: starting
2025-12-09T04:13:30.885065080Z s6-rc: info: service svc-selkies: starting
2025-12-09T04:13:30.885227246Z s6-rc: info: service svc-de: starting
2025-12-09T04:13:30.885370575Z s6-rc: info: service svc-docker successfully started
2025-12-09T04:13:30.885512300Z s6-rc: info: service svc-watchdog successfully started
2025-12-09T04:13:30.886020453Z s6-rc: info: service svc-cron successfully started
2025-12-09T04:13:30.886578166Z s6-rc: info: service svc-xsettingsd successfully started
2025-12-09T04:13:30.887178094Z s6-rc: info: service svc-selkies successfully started
2025-12-09T04:13:30.887314990Z s6-rc: info: service svc-de successfully started
2025-12-09T04:13:30.887431875Z s6-rc: info: service legacy-services: starting
2025-12-09T04:13:30.904063725Z s6-rc: info: service legacy-services successfully started
2025-12-09T04:13:30.904192494Z s6-rc: info: service ci-service-check: starting
2025-12-09T04:13:30.906525702Z [ls.io-init] done.
2025-12-09T04:13:30.906868332Z s6-rc: info: service ci-service-check successfully started
2025-12-09T04:13:30.924850832Z Can't open display :1
2025-12-09T04:13:30.928196558Z Can't open display :1
2025-12-09T04:13:30.930683697Z Can't open display :1
2025-12-09T04:13:30.931010715Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2025-12-09T04:13:30.933410507Z screen 0 shmid 0
2025-12-09T04:13:31.541427983Z xrandr: cannot find mode 1024x768_60.00
2025-12-09T04:13:31.565344150Z 17
2025-12-09T04:13:31.574055180Z 18
2025-12-09T04:13:31.927629533Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2025-12-09T04:13:31.979479106Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2025-12-09T04:13:32.070994310Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2025-12-09T04:13:32.096970315Z INFO:main:Upload directory ensured: /config/Desktop
2025-12-09T04:13:32.098154639Z INFO:main:Legacy Mode ENABLED (SELKIES_MASTER_TOKEN is not set).
2025-12-09T04:13:32.098172656Z INFO:main:Starting Selkies (WebSocket Mode) with settings: {'audio_enabled': (True, False), 'microphone_enabled': (True, False), 'gamepad_enabled': (True, False), 'clipboard_enabled': (True, False), 'command_enabled': (True, False), 'file_transfers': ['upload', 'download'], 'encoder': 'x264enc', 'framerate': (8, 120), '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), '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), 'port': 8082, 'control_port': 8083, 'master_token': '', 'dri_node': '', 'audio_device_name': 'output.monitor', 'watermark_path': '', 'watermark_location': -1, 'debug': (False, 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)}
2025-12-09T04:13:32.098195522Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2025-12-09T04:13:32.098203879Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2025-12-09T04:13:32.098244841Z INFO:main:All main components initialized. Running server...
2025-12-09T04:13:32.100487667Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2025-12-09T04:13:32.103150058Z INFO:webrtc_input:Resetting keyboard modifiers.
2025-12-09T04:13:32.110242710Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2025-12-09T04:13:32.117975721Z INFO:webrtc_input:Found XFIXES version 4.0
2025-12-09T04:13:32.118003346Z INFO:webrtc_input:starting cursor monitor
2025-12-09T04:13:32.118015461Z INFO:webrtc_input:watching for cursor changes
2025-12-09T04:13:32.129637132Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-09T04:13:32.130247692Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2025-12-09T04:13:32.289183021Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2025-12-09T04:13:32.289618969Z 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)
2025-12-09T04:13:32.289654881Z 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
2025-12-09T04:13:32.289663138Z 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).
2025-12-09T04:13:32.289734632Z 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)
2025-12-09T04:13:32.289751306Z 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
2025-12-09T04:13:32.289794422Z 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).
2025-12-09T04:13:32.289907220Z 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)
2025-12-09T04:13:32.289936709Z 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
2025-12-09T04:13:32.289951288Z 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).
2025-12-09T04:13:32.290021029Z 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)
2025-12-09T04:13:32.290045929Z 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
2025-12-09T04:13:32.290088234Z 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).
2025-12-09T04:13:32.290666298Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2025-12-09T04:13:32.290717822Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2025-12-09T04:13:32.290844697Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2025-12-09T04:13:32.290881191Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2025-12-09T04:13:32.291007836Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2025-12-09T04:13:32.291034810Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2025-12-09T04:13:32.291163559Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2025-12-09T04:13:32.291192658Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2025-12-09T04:13:32.291452311Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2025-12-09T04:13:32.291497842Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2025-12-09T04:13:32.291545048Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2025-12-09T04:13:32.291585860Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2025-12-09T04:13:33.085775298Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-09T04:13:33.174276303Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-09T04:13:33.201269616Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-09T04:13:33.623076490Z /defaults/startwm.sh: line 17:   432 Segmentation fault      (core dumped) dbus-launch /usr/bin/xfce4-session > /dev/null 2>&1
2025-12-09T04:13:33.659236331Z No desktop processes found to terminate.
2025-12-09T04:13:34.024241170Z INFO:data_websocket:Legacy client ('127.0.0.1', 53422) connected. Role: controller, Slot: None
2025-12-09T04:13:34.024281441Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53422)
2025-12-09T04:13:34.024503518Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53422)
2025-12-09T04:13:34.034194101Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2025-12-09T04:13:34.038611756Z INFO:data_websocket:PulseAudio connection established.
2025-12-09T04:13:34.052982793Z INFO:data_websocket:Registering new client for display: primary
2025-12-09T04:13:34.053016802Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2025-12-09T04:13:34.053197225Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2025-12-09T04:13:34.053703324Z INFO:gst_app_resize:XFCE detected. Applying xfconf-query for DPI 96.
2025-12-09T04:13:34.071555471Z WARNING:gst_app_resize:Could not obtain XFCE session environment. Falling back to direct execution.
2025-12-09T04:13:34.098462090Z INFO:gst_app_resize:Successfully set XFCE DPI to 96 using xfconf-query.
2025-12-09T04:13:34.098505046Z INFO:gst_app_resize:Attempting to set cursor size to: 32 (based on DPI 96)
2025-12-09T04:13:34.116927391Z INFO:gst_app_resize:Successfully set cursor size to 32
2025-12-09T04:13:34.134923348Z INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
2025-12-09T04:13:34.134958919Z INFO:data_websocket:Starting display reconfiguration...
2025-12-09T04:13:34.135230596Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2025-12-09T04:13:34.135270817Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2025-12-09T04:13:34.167903586Z INFO:data_websocket:Mode 1920x992 not found. Creating it.
2025-12-09T04:13:34.220529964Z INFO:data_websocket:Defining logical monitors for the window manager...
2025-12-09T04:13:34.349573354Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2025-12-09T04:13:34.349605439Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2025-12-09T04:13:34.349609928Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2025-12-09T04:13:34.360216906Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2025-12-09T04:13:34.360688666Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2025-12-09T04:13:34.360752214Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-12-09T04:13:34.360824319Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2025-12-09T04:13:34.361044061Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2025-12-09T04:13:34.361053560Z INFO:data_websocket:Display reconfiguration finished successfully.
2025-12-09T04:13:34.361110966Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2025-12-09T04:13:34.361435479Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2025-12-09T04:13:34.361498386Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2025-12-09T04:13:34.361517194Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-12-09T04:13:34.361606714Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-12-09T04:13:34.368231153Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-12-09T04:13:34.368261584Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-12-09T04:13:34.368415865Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-12-09T04:13:34.372180215Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-12-09T04:13:34.383155855Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-12-09T04:13:34.383876376Z X Shared Memory Extension available.
2025-12-09T04:13:34.383888070Z [pcmflux] SUCCESS: Opus encoder created.
2025-12-09T04:13:34.383898781Z [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
2025-12-09T04:13:34.384027591Z XShm setup complete for 1920x992.
2025-12-09T04:13:34.384038643Z CPU cores available: 64
2025-12-09T04:13:34.384096960Z 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
2025-12-09T04:13:34.388753597Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-12-09T04:13:34.389872880Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2025-12-09T04:13:34.389886047Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2025-12-09T04:13:34.390227665Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2025-12-09T04:13:34.390532258Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2025-12-09T04:13:34.391229653Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2025-12-09T04:13:34.686656189Z xrandr: Failed to get size of gamma for output screen
2025-12-09T04:13:34.692633495Z xrandr: Failed to get size of gamma for output screen
2025-12-09T04:13:34.699257102Z xrandr: Failed to get size of gamma for output screen
2025-12-09T04:13:34.703635007Z xrandr: Failed to get size of gamma for output screen
2025-12-09T04:13:34.707230116Z X Error of failed request:  BadMatch (invalid parameter attributes)
2025-12-09T04:13:34.707251009Z   Major opcode of failed request:  130 (MIT-SHM)
2025-12-09T04:13:34.707260367Z   Minor opcode of failed request:  4 (X_ShmGetImage)
2025-12-09T04:13:34.707268233Z   Serial number of failed request:  24
2025-12-09T04:13:34.707275548Z   Current serial number in output stream:  24
2025-12-09T04:13:35.942290116Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2025-12-09T04:13:35.965340560Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2025-12-09T04:13:36.040259125Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2025-12-09T04:13:36.060394389Z INFO:main:Upload directory ensured: /config/Desktop
2025-12-09T04:13:36.060911550Z INFO:main:Legacy Mode ENABLED (SELKIES_MASTER_TOKEN is not set).
2025-12-09T04:13:36.060920127Z INFO:main:Starting Selkies (WebSocket Mode) with settings: {'audio_enabled': (True, False), 'microphone_enabled': (True, False), 'gamepad_enabled': (True, False), 'clipboard_enabled': (True, False), 'command_enabled': (True, False), 'file_transfers': ['upload', 'download'], 'encoder': 'x264enc', 'framerate': (8, 120), '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), '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), 'port': 8082, 'control_port': 8083, 'master_token': '', 'dri_node': '', 'audio_device_name': 'output.monitor', 'watermark_path': '', 'watermark_location': -1, 'debug': (False, 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)}
2025-12-09T04:13:36.060927342Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2025-12-09T04:13:36.060948525Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2025-12-09T04:13:36.061132475Z INFO:main:All main components initialized. Running server...
2025-12-09T04:13:36.064155562Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2025-12-09T04:13:36.066964488Z INFO:webrtc_input:Resetting keyboard modifiers.
2025-12-09T04:13:36.073024661Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2025-12-09T04:13:36.078933619Z INFO:webrtc_input:Found XFIXES version 4.0
2025-12-09T04:13:36.078948279Z INFO:webrtc_input:starting cursor monitor
2025-12-09T04:13:36.079018270Z INFO:webrtc_input:watching for cursor changes
2025-12-09T04:13:36.092245985Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-09T04:13:36.092801824Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2025-12-09T04:13:36.244807400Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2025-12-09T04:13:36.245360454Z 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)
2025-12-09T04:13:36.245418270Z 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
2025-12-09T04:13:36.245460666Z 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).
2025-12-09T04:13:36.245582391Z 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)
2025-12-09T04:13:36.245614716Z 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
2025-12-09T04:13:36.245656881Z 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).
2025-12-09T04:13:36.245765089Z 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)
2025-12-09T04:13:36.245801322Z 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
2025-12-09T04:13:36.245842424Z 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).
2025-12-09T04:13:36.246032978Z 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)
2025-12-09T04:13:36.246045193Z 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
2025-12-09T04:13:36.246148060Z 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).
2025-12-09T04:13:36.247038543Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2025-12-09T04:13:36.247103103Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2025-12-09T04:13:36.247310260Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2025-12-09T04:13:36.247351794Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2025-12-09T04:13:36.247599182Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2025-12-09T04:13:36.247642339Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2025-12-09T04:13:36.247877302Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2025-12-09T04:13:36.247932333Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2025-12-09T04:13:36.248162186Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2025-12-09T04:13:36.248234120Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2025-12-09T04:13:36.248281225Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2025-12-09T04:13:36.248327288Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2025-12-09T04:13:39.770856814Z INFO:data_websocket:Legacy client ('127.0.0.1', 58438) connected. Role: controller, Slot: None
2025-12-09T04:13:39.770907045Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 58438)
2025-12-09T04:13:39.771143020Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 58438)
2025-12-09T04:13:39.782759681Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2025-12-09T04:13:39.786731389Z INFO:data_websocket:PulseAudio connection established.
2025-12-09T04:13:39.794673892Z INFO:data_websocket:Registering new client for display: primary
2025-12-09T04:13:39.794713331Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2025-12-09T04:13:39.795009918Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2025-12-09T04:13:39.795392078Z INFO:gst_app_resize:XFCE detected. Applying xfconf-query for DPI 96.
2025-12-09T04:13:39.815027686Z INFO:gst_app_resize:Found active XFCE session environment. Commands will be executed within this context.
2025-12-09T04:13:39.834296736Z INFO:gst_app_resize:Successfully set XFCE DPI to 96 using xfconf-query.
2025-12-09T04:13:39.834345193Z INFO:gst_app_resize:Attempting to set cursor size to: 32 (based on DPI 96)
2025-12-09T04:13:39.851946676Z INFO:gst_app_resize:Successfully set cursor size to 32
2025-12-09T04:13:40.304082670Z INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
2025-12-09T04:13:40.304127240Z INFO:data_websocket:Starting display reconfiguration...
2025-12-09T04:13:40.304369107Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2025-12-09T04:13:40.304407765Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2025-12-09T04:13:40.353863298Z INFO:data_websocket:Defining logical monitors for the window manager...
2025-12-09T04:13:40.375096282Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2025-12-09T04:13:40.375139249Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2025-12-09T04:13:40.375217967Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2025-12-09T04:13:40.376994044Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2025-12-09T04:13:40.377279899Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2025-12-09T04:13:40.377336613Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-12-09T04:13:40.377492768Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2025-12-09T04:13:40.377776489Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2025-12-09T04:13:40.377833193Z INFO:data_websocket:Display reconfiguration finished successfully.
2025-12-09T04:13:40.377867292Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2025-12-09T04:13:40.377985139Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2025-12-09T04:13:40.377996071Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2025-12-09T04:13:40.378036272Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-12-09T04:13:40.378108437Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-12-09T04:13:40.378310264Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-12-09T04:13:40.378322047Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-12-09T04:13:40.378683435Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-12-09T04:13:40.378707233Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-12-09T04:13:40.384599979Z X Shared Memory Extension available.
2025-12-09T04:13:40.384816084Z XShm setup complete for 1920x992.
2025-12-09T04:13:40.384852167Z CPU cores available: 64
2025-12-09T04:13:40.384861566Z 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
2025-12-09T04:13:40.385324518Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-12-09T04:13:40.385383436Z [pcmflux] SUCCESS: Opus encoder created.
2025-12-09T04:13:40.385391282Z [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
2025-12-09T04:13:40.389141453Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-12-09T04:13:40.393777959Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2025-12-09T04:13:40.393798571Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2025-12-09T04:13:40.394106280Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2025-12-09T04:13:42.386373372Z [pcmflux] First non-silent audio chunk detected! Encoding...
2025-12-09T04:13:43.388705194Z WARNING:data_websocket:Backpressure TRIGGERED for 'primary'. S:177, C:19 (EffDesync:158.0f > Allowed:120.0f).
2025-12-09T04:13:44.235899001Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 58438) (Display ID: primary)...
2025-12-09T04:13:44.235936637Z INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration.
2025-12-09T04:13:44.235972309Z INFO:data_websocket:Starting display reconfiguration...
2025-12-09T04:13:44.238010663Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2025-12-09T04:13:44.240022885Z Capture loop stopped. X resources released.
2025-12-09T04:13:44.240333170Z INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
2025-12-09T04:13:44.240343932Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-12-09T04:13:44.248390264Z INFO:data_websocket:Video chunk sender for 'primary' cancelled.
2025-12-09T04:13:44.248405424Z INFO:data_websocket:Video chunk sender for 'primary' finished.