-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot open display :0. Installed wsl on W11 and try to start grafical application kstars but say Cannot open display :0 #1296
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
|
Diagnostic information
|
See #1291 (comment), and this https://github.com/microsoft/wslg/wiki/Diagnosing-%22cannot-open-display%22-type-issues-with-WSLg |
Windows Version
Microsoft Windows [Version 10.0.22621.1848]
WSL Version
WSL version: 2.3.24.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
Linux version 5.15.153.1-microsoft-standard-WSL2 (root@941d701f84f1) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) microsoft/WSL#1 SMP Fri Mar 29 23:14:13 UTC 2024
Other Software
kstars-bleeding-data/noble,now 6:3.7.3+202410080857~ubuntu24.04.1 all [installed,automatic]
Repro Steps
After setting up WSL I instaalled kstars with the instruction on https://www.indilib.org/forum/general/14409-instructions-to-run-kstars-ekos-indi-under-windows-wsl.html .
So mainly with
Installation Kstars:
WSL command prompt > sudo apt-add-repository ppa:mutlaqja/ppa
WSL command prompt > sudo apt-get update
WSL command prompt > sudo apt-get install indi-full gsc kstars-bleeding
After that the starticon on my desktopp was pointing to
weston.log.txt
But starting that give no result.
The logs say this
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
wslg [ /mnt/c/Users/WIL_VREE ]$ ls -la /tmp/.X11-unix
total 0
drwxrwxrwx 2 root root 40 Oct 19 23:05 .
drwxrwxrwt 1 root root 80 Oct 19 23:05 ..
wslg [ /mnt/c/Users/WIL_VREE ]$
wil_vree@BMAX1:
$ ls -la /mnt/wslg/.X11-unix$total 0
drwxrwxrwx 2 root root 40 Oct 19 23:05 .
drwxrwxrwt 7 root root 300 Oct 19 23:05 ..
wil_vree@BMAX1:
and attached is the weston log file
Expected Behavior
I expect to see the screen of the kstars app. Just like that happens on my other windows pc with wsl installed.
Actual Behavior
When I click the icon there is only a short pause and the no sign anymore.
When I then go to the wsl prompt and try to start kstars by typing it in, I get the error Cannot open display.
But I do noit know if this is supposed to work this way anyhow.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: