# Problems with the installation of root on windows 10 with WSL

**URL:** <https://root-forum.cern.ch/t/problems-with-the-installation-of-root-on-windows-10-with-wsl/42118>\
**Category:** ROOT\
**Created:** [November 4, 2020, 10:05am UTC](https://root-forum.cern.ch/t/problems-with-the-installation-of-root-on-windows-10-with-wsl/42118 "2020-11-04T10:05:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francesco\_Codazzi](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/francesco_codazzi/32/23881_2.png) [@Francesco\_Codazzi](https://root-forum.cern.ch/u/Francesco_Codazzi)\
**Post date:** [November 4, 2020, 10:05am UTC](https://root-forum.cern.ch/t/problems-with-the-installation-of-root-on-windows-10-with-wsl/42118/1 "2020-11-04T10:05:29Z")

</div>

hello everyone!  
I am writing because I have some problems with the installation of root on my computer (WINDOWS 10). I followed the steps found in this forum " [Complete ROOT Installation Instructions for WSL (Ubuntu 18.04 on Windows 10)](https://root-forum.cern.ch/t/complete-root-installation-instructions-for-wsl-ubuntu-18-04-on-windows-10/35148) " but I still have problems. The root installation in the ubuntu shell seems to have been done correctly, but when I start the program it doesn’t output the graphic screen that I see in some videos (with Xming started).  
Also when I try to plot a function it tells me this

[ Error in TGClient::TGClient: can’t open display “localhost:0.0”, switching to batch mode…  
In case you run from a remote ssh session, reconnect with ssh -Y ]

what am I wrong? thank you very much for your attention good day to everyone =)

P.S.: I downloaded -ubuntu 18  
-ROOT 6.22/00 version for ubuntu 18

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [November 4, 2020, 10:24am UTC](https://root-forum.cern.ch/t/problems-with-the-installation-of-root-on-windows-10-with-wsl/42118/2 "2020-11-04T10:24:46Z")

</div>

Welcome to the ROOT Forum!  
Please take a look at those pages:

> **[How to Run Graphical Linux Desktop Applications from Windows 10’s Bash Shell](https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/)**
>
> Windows 10’s Bash shell doesn’t officially support graphical Linux desktop applications. Microsoft says this feature is designed only for developers who want to run Linux terminal utilities. But the underlying “Windows Subsystem for Linux” is...

  

> **[WSL - Ubuntu Wiki](https://wiki.ubuntu.com/WSL#Running_Graphical_Applications)**

---

<div class="post-metadata">

**Author:** ![Francesco\_Codazzi](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/francesco_codazzi/32/23881_2.png) [@Francesco\_Codazzi](https://root-forum.cern.ch/u/Francesco_Codazzi)\
**Post date:** [November 7, 2020, 3:43pm UTC](https://root-forum.cern.ch/t/problems-with-the-installation-of-root-on-windows-10-with-wsl/42118/3 "2020-11-07T15:43:03Z")

</div>

hello bellnot!  
thank you for answering me, I apologize for not answering immediately but I had not activated the response notifications…  
returning to us, I followed all the procedures indicated in your links, but the problem remains … it seems that the system did not read the order "export DISPLAY=:0.  
To give you another example, I installed a simple visual text editor ( Geany ), I opened the program Xming and when I tried to open the program it tells me this  
"Unable to init server: Could not connect: Connection refused  
Geany: cannot open display "  
what do you think? maybe I’m wrong about starting Xming?

thanks for your attention, have a good evening =)

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [November 9, 2020, 7:55am UTC](https://root-forum.cern.ch/t/problems-with-the-installation-of-root-on-windows-10-with-wsl/42118/4 "2020-11-09T07:55:35Z")

</div>

Well, this is really a X11/Xming/WSL issue, and definitively not related to ROOT, so I suggest to search for it on the Web and try to find a solution, it’s what I would do anyway… Sorry, but I can’t really help more since I can’t try with WSL and have no problem with XMing and ssh (PuTTY).

---

<div class="post-metadata">

**Author:** ![Francesco\_Codazzi](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/francesco_codazzi/32/23881_2.png) [@Francesco\_Codazzi](https://root-forum.cern.ch/u/Francesco_Codazzi)\
**Post date:** [November 9, 2020, 8:04am UTC](https://root-forum.cern.ch/t/problems-with-the-installation-of-root-on-windows-10-with-wsl/42118/5 "2020-11-09T08:04:05Z")

</div>

i understand perfectly, thanks anyway for your help!

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [November 23, 2020, 8:04am UTC](https://root-forum.cern.ch/t/problems-with-the-installation-of-root-on-windows-10-with-wsl/42118/6 "2020-11-23T08:04:07Z")

</div>

Closed on November 23, 2020, 8:04am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
