Skip to content
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

How do I get VcXsrv to work with wayland-0 #650

Closed
lewisdonofrio opened this issue Feb 3, 2022 · 6 comments
Closed

How do I get VcXsrv to work with wayland-0 #650

lewisdonofrio opened this issue Feb 3, 2022 · 6 comments

Comments

@lewisdonofrio
Copy link

would like to get my full xfce4 desktop like I have with windows 10 and https://www.tinyurl.com/donofrioworkremmina2020 shows WSL1 working great. In windows 11 I've yet to get WSL2 to work even when I do the display mod's for the env setup, but that was trying x11, now in Insider w11 dev channel I guess we now get Wayland native but how to get a full DE like xfce4 so far all I get is:

(xfwm4:3779): Gtk-WARNING **: 05:58:38.765: cannot open display: wayland-0

@Biswa96
Copy link
Contributor

Biswa96 commented Feb 3, 2022

You don't need VcXsrv for WSLg feature. MSTSC is used with WSLg automatically.

@lewisdonofrio
Copy link
Author

WSLg doesn't sound like 2022 from what I've read it was how they did it in 2021? I've just installed ubuntu in wsl2 on my w11 insider dev channel build then I tried mstsc /v:localhost:3390 but it doesn't connect? why is it I can run xeyes but not the full DE?
image

@benhillis benhillis transferred this issue from microsoft/WSL Feb 4, 2022
@hideyukn88
Copy link
Member

@lewisdonofrio, if you want to use third party solutions to remote GUI, like VcXsrv, please disable graphics support in WSL by .wslconfig. See "guiApplications" at https://docs.microsoft.com/en-us/windows/wsl/wsl-config. Thanks!

@aadvanraamt
Copy link

Works for me!

@crramirez
Copy link
Contributor

would like to get my full xfce4 desktop like I have with windows 10 and https://www.tinyurl.com/donofrioworkremmina2020 shows WSL1 working great. In windows 11 I've yet to get WSL2 to work even when I do the display mod's for the env setup, but that was trying x11, now in Insider w11 dev channel I guess we now get Wayland native but how to get a full DE like xfce4 so far all I get is:

(xfwm4:3779): Gtk-WARNING **: 05:58:38.765: cannot open display: wayland-0

If you want a full desktop I recommend you this project: https://github.com/DesktopECHO/xWSL

@lewisdonofrio
Copy link
Author

lewisdonofrio commented Oct 18, 2022

yah works for me when I do not use VcXsrv but built-in Wayland support - #843 - well almost perfect, cannot close Wayland once opened lol
Screenshot 2022-03-17 224323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants