RDP backend weirdness and crash
Created by: aemino
When using the rdp
backend and attempting to connect, with either xfreerdp ... --rfx
or xfreerdp ... --nsc
, my status bar (waybar) does not render properly, there are artifacts when moving the mouse, and a few seconds after moving the mouse, sway crashes. I'm not sure what useful information I can provide about this other then the following crash log. I included a few non-Sway messages just in case this issue is entirely unrelated to wlroots
.
I should also probably mention that I am running sway (with the rdp
backend) inside of "normal," desktop sway.
xkbcommon: ERROR: Unrecognized RMLVO option "grp:alt_toggle" was ignored
[19:25:25:717] [2620:2620] [INFO][com.freerdp.core.listener] - Listening on 0.0.0.0:3389
...
glamor: No eglstream capable devices found
glamor: 'wl_drm' not supported
Missing Wayland requirements for glamor GBM backend
Missing Wayland requirements for glamor EGLStream backend
Failed to initialize glamor, falling back to sw
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported high keycode 372 for name <I372> ignored
> X11 cannot support keycodes above 255.
> This warning only shows for the first high keycode.
> Internal error: Could not resolve keysym XF86MonBrightnessCycle
Errors from xkbcomp are not fatal to the X server
Resources files: /home/aemino/.config/waybar/config, /home/aemino/.config/waybar/style.css
Unknown option -b
Created log file at "/tmp/Alacritty-2632.log"
[2019-05-17 19:25] [ERROR] Alacritty encountered an unrecoverable error:
Error creating GL context; No monitors were detected.
[19:25:40:382] [2620:2620] [INFO][com.freerdp.core.connection] - Client Security: NLA:0 TLS:1 RDP:0
[19:25:40:383] [2620:2620] [INFO][com.freerdp.core.connection] - Server Security: NLA:0 TLS:1 RDP:1
[19:25:40:383] [2620:2620] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:0 TLS:1 RDP:0
[19:25:40:423] [2620:2620] [INFO][com.freerdp.core.connection] - Accepted client: NUS11180-10-roh
[19:25:40:423] [2620:2620] [INFO][com.freerdp.core.connection] - Accepted channels:
[19:25:40:424] [2620:2620] [INFO][com.freerdp.core.connection] - rdpdr
[19:25:40:424] [2620:2620] [INFO][com.freerdp.core.connection] - rdpsnd
[19:25:40:424] [2620:2620] [INFO][com.freerdp.core.connection] - cliprdr
[19:25:40:424] [2620:2620] [INFO][com.freerdp.core.gcc] - Active rdp encryption level: NONE
[19:25:40:424] [2620:2620] [INFO][com.freerdp.core.gcc] - Selected rdp encryption method: NONE
xkbcommon: ERROR: Unrecognized RMLVO option "grp:alt_toggle" was ignored
xkbcommon: ERROR: Unrecognized RMLVO variant "nodeadkeys" was ignored
xkbcommon: ERROR: Unrecognized RMLVO option "grp:alt_toggle" was ignored
2019-05-17 19:25:40 - [swaybg/main.c:300] Found config * for output RDP-1 (RDP RDP )
(waybar:2628): Gdk-CRITICAL **: 19:25:40.390: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
(waybar:2628): Gdk-CRITICAL **: 19:25:40.391: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
(waybar:2628): Gdk-CRITICAL **: 19:25:40.391: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
(waybar:2628): Gdk-CRITICAL **: 19:25:40.391: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
(waybar:2628): Gdk-CRITICAL **: 19:25:40.391: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
(waybar:2628): Gdk-CRITICAL **: 19:25:40.391: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed
Bar configured (width: 1280, height: auto) for output: RDP-1
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 374, clipping.
> X11 cannot support keycodes above 255.
> Warning: Unsupported high keycode 372 for name <I372> ignored
> X11 cannot support keycodes above 255.
> This warning only shows for the first high keycode.
> Internal error: Could not resolve keysym XF86MonBrightnessCycle
Errors from xkbcomp are not fatal to the X server
Bar configured (width: 1280, height: 37) for output: RDP-1
...
(EE) Gdk-Message: 19:25:53.556: Error reading events from display: Connection reset by peer
failed to read Wayland events: Broken pipe
fish: “env WLR_RDP_TLS_CERT_PATH=$HOME…” terminated by signal SIGSEGV (Address boundary error)
OS: Arch Linux
wlroots-git: a68c7c0c
sway-git: ed2e553b