# Canvas display on wsl

**URL:** <https://root-forum.cern.ch/t/canvas-display-on-wsl/43491>\
**Category:** Newbie\
**Created:** [February 10, 2021, 11:52am UTC](https://root-forum.cern.ch/t/canvas-display-on-wsl/43491 "2021-02-10T11:52:10Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [November 16, 2022, 4:57am UTC](https://root-forum.cern.ch/t/canvas-display-on-wsl/43491/6 "2022-11-16T04:57:41Z")

</div>

What version of ROOT? In any case, try reinstalling Xming and also ROOT (use the precompiled binary for Ubuntu 20.04); if still not working, maybe try VcXsrv instead of Xming, and chcek out these tips:

> [@ROOT on Windows 11 WSL2 / WSLg](https://root-forum.cern.ch/t/root-on-windows-11-wsl2-wslg/48348/7):
>
> So I tried staying with WSL2 and using VcXsrv, and it works fine, as far as I have tested. I don’t know if behind curtains WSL is complaining for having 2 GUI servers, but it seems to work slight_smile Just for completeness, when using WSL2 and VcXsrv (don’t know with Xming), adding these lines to .bashrc is needed: export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2\>/dev/null):0 export LIBGL\_ALWAYS\_INDIRECT=1 but is not enough (in either Windows 10 or 11). When starti…

---

_[View the full topic](https://root-forum.cern.ch/t/canvas-display-on-wsl/43491)._
