Error: Can't open display: :0
Open
Nobody has claimed this yet.
bug
Install-Issue
- Dominant language
- C++
- Stars
- 11.9k
- Forks
- 429
- PR merge metrics
- No merged PRs in 30d
Description
This problem still persists , here are the details. Attached is the weston log as well.
cat /mnt/wslg/versions.txt
WSLg ( x86_64 ): 1.0.24+Branch.main.Sha.b42023b5fed7567955f4c6c36123a5cf22e9292a
Mariner: VERSION="1.0.20210224"
FreeRDP: b05321cd4e6a862aef76163a69db4e1910245736
weston: ed4f3bbbf5efbd5bde880704bc03497f2446c3f2
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
mesa:
echo $DISPLAY
:0
ls -la /tmp/.X11-unix
total 1236
drwxrwxrwt 2 root root 4096 Apr 24 22:59 .
drwxrwxrwt 7 root root 1257472 Sep 5 14:22 ..
lrwxrwxrwx 1 srtripathy srtripathy 19 Apr 24 22:59 .X11-unix -> /mnt/wslg/.X11-unix
ls -la /tmp/.X11-unix/
total 1236
drwxrwxrwt 2 root root 4096 Apr 24 22:59 .
drwxrwxrwt 7 root root 1257472 Sep 5 14:22 ..
lrwxrwxrwx 1 srtripathy srtripathy 19 Apr 24 22:59 .X11-unix -> /mnt/wslg/.X11-unix
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the attached weston.log and checking the reported WSLg version data in /mnt/wslg/versions.txt. Reproduce the failure while comparing DISPLAY and the /tmp/.X11-unix entries, then trace the relevant WSLg or Weston behavior. Done means identifying the cause of the display error and verifying a resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- desktop-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100