# Opening the graph window in root

**URL:** <https://root-forum.cern.ch/t/opening-the-graph-window-in-root/60119>\
**Category:** ROOT\
**Created:** [July 5, 2024, 12:24am UTC](https://root-forum.cern.ch/t/opening-the-graph-window-in-root/60119 "2024-07-05T00:24:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 5, 2024, 1:56am UTC](https://root-forum.cern.ch/t/opening-the-graph-window-in-root/60119/2 "2024-07-05T01:56:51Z")

</div>

You also have to install an X server (e.g. VcXsrv) and run Xlaunch before opening the Ubuntu window. See here for configuration:

> [@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/opening-the-graph-window-in-root/60119)._
