#1491·wslg

GUI (gtk1) app fails to run on WSLg; works okay on bare metal Xwayland

Author: HMRWork42Created Aug 7, 2026Updated Sep 18, 2026
Labelsbug

Windows build number:

Microsoft Windows [Version 10.0.26200.8973]

Your Distribution version:

Fedora 44 (lsb_release -r outputsRelease: 44)

Your WSL versions:

WSL version: 2.7.11.0
Kernel version: 6.18.33.2-2
WSLg version: 1.0.73.2
MSRDC version: 1.2.7214
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26200.8973

Steps to reproduce:

  1. install gsview from rpmfusion.
  2. run gsview <any.pdf>
  3. see a pop up window showing the error Failed to open device or install ViewerPreProcess hook: returns -21 .

WSL logs:

wsl-logs.zip

zip files from sudo zip -r9X ~/Desktop/wsl-logs.zip /mnt/wslg/*.log

WSL dumps:

No response

Expected behavior:

gsview <any.pdf> should display the pdf. I have a bare-metal Fedora 44 system too, and it does work there correctly. So this is specific to WSLg.

Actual behavior:

See a pop up window showing the error Failed to open device or install ViewerPreProcess hook: returns -21 .