Skip to content

wslg stopped forwarding windows with no errors #1305

@tgrosinger

Description

@tgrosinger

Following these instructions, I am opening an issue here because I previously was able to run wslg apps, but it has recently stopped working.

$ cat /mnt/wslg/versions.txt
WSLg ( x86_64 ): 1.0.65+Branch.main.Sha.25d8697d5049e1994baa6ba542f507347b608ad4
Built at: Wed Aug 14 21:11:14 UTC 2024
Mariner: VERSION="2.0.20240609"
DirectX-Headers:
mesa:
pulseaudio: 6f045ff0dca233a939a2aba815f84d177e294122
FreeRDP: c4030980b29322a9cb2190711a5fadeeeb8b6a33
weston: f227edd681479ec3cb2290a25d84d2d3462aebfa

$ echo $DISPLAY
:0

$ ls -la /tmp/.X11-unix
total 40
drwxrwxrwx  2 root       root          60 Feb 11 15:28 .
drwxrwxrwt 13 root       root       36864 Feb 11 15:28 ..
srwxrwxrwx  1 tgrosinger tgrosinger     0 Feb 11 15:28 X0

$ sudo rm -r /tmp/.X11-unix
rm: cannot remove '/tmp/.X11-unix/X0': Read-only file system

$ ls -la /tmp/.X11-unix/
total 40
drwxrwxrwx  2 root       root          60 Feb 11 15:28 .
drwxrwxrwt 12 root       root       36864 Feb 11 15:28 ..
srwxrwxrwx  1 tgrosinger tgrosinger     0 Feb 11 15:28 X0

$ ls -la /mnt/wslg/.X11-unix/
total 0
drwxrwxrwx 2 root       root        60 Feb 11 15:28 .
drwxrwxrwt 7 root       root       260 Feb 11 15:28 ..
srwxrwxrwx 1 tgrosinger tgrosinger   0 Feb 11 15:28 X0

$ sudo mount -o remount,rw /tmp/.X11-unix

$ sudo rm -r /tmp/.X11-unix
rm: cannot remove '/tmp/.X11-unix': Device or resource busy
;
# Wait a few minutes, and this error is resolved.

$ sudo ln -s /mnt/wslg/.X11-unix /tmp/.X11-unix

$ xcalc
Error: Can't open display: :0

weston.log

Please let me know how I can proceed from here. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions