# Root Installation on WSL Ubuntu

**URL:** <https://root-forum.cern.ch/t/root-installation-on-wsl-ubuntu/42634>\
**Category:** ROOT\
**Created:** [December 7, 2020, 9:44pm UTC](https://root-forum.cern.ch/t/root-installation-on-wsl-ubuntu/42634 "2020-12-07T21:44:28Z")\
**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:** [December 8, 2020, 8:50am UTC](https://root-forum.cern.ch/t/root-installation-on-wsl-ubuntu/42634/6 "2020-12-08T08:50:31Z")

</div>

WSL does not have a graphics server. You need to install (and keep running) an X server like Xming or [VcXsrv](https://sourceforge.net/projects/vcxsrv/), and add this line at the end of your ~/.bashrc

```auto
export DISPLAY=localhost:0

```

---

_[View the full topic](https://root-forum.cern.ch/t/root-installation-on-wsl-ubuntu/42634)._
