Windows Version
Microsoft Windows [Version 10.0.26200.8457]
WSL Version
2.7.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.114.1-1
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
- Update to WSL 2.7.3
- Start WSL
- Run:
xeyes
- Observe:
- taskbar entry appears
- no window is rendered
Expected Behavior
xeyes GUI window appears and the eyes follow the mouse pointer
Actual Behavior
After updating to WSL 2.7.3, WSLg GUI applications no longer render any windows.
- Applications launch successfully
- Taskbar icons appear
- Window previews show a blank surface
- No actual window is visible
The window title includes: [WARN:COPY MODE]
Diagnostic Logs
The issue is caused by /mnt/shared_memory not being mounted at all.
Expected:
/mnt/shared_memory
Actual:
$ ls -l /mnt
total 3
drwxrwxrwx 1 neumann neumann 4096 May 21 07:30 c
drwxrwxrwt 2 root root 60 May 21 09:44 wsl
drwxrwxrwt 7 root root 300 May 21 09:44 wslg
$
From /mnt/wslg/weston.log:
rdp_allocate_shared_memory: Failed to open "/mnt/shared_memory/..." with error: Input/output error
Workaround
Manually creating the mount fixes the issue:
sudo mkdir -p /mnt/shared_memory
sudo mount -t tmpfs tmpfs /mnt/shared_memory
After this:
- GUI windows render normally
- [WARN:COPY MODE] disappears
After manually mounting /mnt/shared_memory once (tmpfs) and then unmounting it again, GUI applications continue to render correctly — even across wsl --shutdown and windows reboot.
This suggests:
- WSLg initialization fails if
/mnt/shared_memory is missing at startup
- but once the rendering pipeline is successfully initialized, it continues working even without it
This indicates a timing / initialization dependency rather than a strict runtime requirement.
Windows Version
Microsoft Windows [Version 10.0.26200.8457]
WSL Version
2.7.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.114.1-1
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
xeyesExpected Behavior
xeyes GUI window appears and the eyes follow the mouse pointer
Actual Behavior
After updating to WSL 2.7.3, WSLg GUI applications no longer render any windows.
The window title includes:
[WARN:COPY MODE]Diagnostic Logs
The issue is caused by
/mnt/shared_memorynot being mounted at all.Expected:
/mnt/shared_memoryActual:
From
/mnt/wslg/weston.log:rdp_allocate_shared_memory: Failed to open "/mnt/shared_memory/..." with error: Input/output errorWorkaround
Manually creating the mount fixes the issue:
After this:
After manually mounting
/mnt/shared_memoryonce (tmpfs) and then unmounting it again, GUI applications continue to render correctly — even acrosswsl --shutdownand windows reboot.This suggests:
/mnt/shared_memoryis missing at startupThis indicates a timing / initialization dependency rather than a strict runtime requirement.