-
Notifications
You must be signed in to change notification settings - Fork 304
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
Applications run but don't create window #90
Comments
@Thepenguin9 , would you please provide output of dmesg ? It looks WSLg failed to start RDP client software (mstsc.exe) in Windows side, the provided weston.log does not show the connection to Windows. [19:34:15.666] CreateWndow(): rdp_peer is not initalized And virtiofs is also not properly configured in your system, this could be separate issue, but can be same root case. [19:34:09.983] WSL2_SHARED_MEMORY_MOUNT_POINT is not set. |
Interestingly that reveals another piece of the puzzle. I've been having mount errors for an unrelated experiment on a hard drive, so I didn't think to check it now. |
I followed the guide in the root readme; updating wsl via powershell; restarting the instance; restarting my computer for good measure. I can't recall any other actions I could've taken to affect WSLg |
mstsc.exe works fine launching from start, not sure what I can do there
And this I have to admit I have no knowledge of, nor encountered this when setting up wsl |
Are you running a custom kernel? Make sure you are running latest kernel from Windows Update with |
I was running a self-build of Microsoft's own kernel. No edits, just locally compiled. I will try and rebuild the kernel and see if it still works, though for now this issue can be considered solved! |
* Use custom wayland for system distro * Add missing \ * Fixed copy paste typo on Dockerfile * Fix typo
this seems to be happening to me as well (no i don't have a custom kernel nor any self-built thingy like thepenguin9 so yeah help please) |
@c4artisan, would you please share /mnt/wslg/weston.log? thanks! |
@c4artisan, it looks msrdc.exe on Windows side is not connecting to Linux side, I wonder you might be hitting the similar group policy issue reported at #841, and there is another kind of policy totally blocks RDP connection, would you please share output from |
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client\UsbBlockDeviceBySetupClasses HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client\UsbSelectDeviceByInterfaces |
@hideyukn88 I also updated wsl today, so it might be an issue in the latest version.
Here's my own /mnt/wslg/weston.log, seems similar to the one above: Unfortunately disabling systemd is not an acceptable workaround for me, as I'm running apps that depend on it. |
anything new on my end? |
@OfekShilon: I wonder if you have a sysyemd unit that kills the X11 socket. Can you share the output of |
dmesg output: Thanks. |
Thank you @OfekShilon. I don't see anything that jumps out, but let's gather some debugging information to see if we can root cause this. Can you share:
|
Ubuntu 20.04
Neither helps. |
Thank you @OfekShilon. Sorry about the typo on Let's keep digging on #917 |
Environment
Steps to reproduce
WSL logs:
/mnt/wslg
You can access the wslg logs using explorer at:
\\wsl$\<Distro-Name>\mnt\wslg
(e.g.:\\wsl$\Ubuntu-20.04\mnt\wslg
)Expected behavior
gedit will open and present a blank file with all UI elements
Actual behavior
The application runs, does not create a window, and prints these errors
The text was updated successfully, but these errors were encountered: