# TCanvas c1; command not working

**URL:** <https://root-forum.cern.ch/t/tcanvas-c1-command-not-working/57693>\
**Category:** Newbie\
**Created:** [December 28, 2023, 6:27am UTC](https://root-forum.cern.ch/t/tcanvas-c1-command-not-working/57693 "2023-12-28T06:27:02Z")\
**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:** [December 28, 2023, 11:34am UTC](https://root-forum.cern.ch/t/tcanvas-c1-command-not-working/57693/2 "2023-12-28T11:34:00Z")

</div>

Here is a more “official” guide (especially if you are using WSL):

> [@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):
>
> From @olifre : Install WSL ( [https://aka.ms/install](https://aka.ms/install) ) and then Ubuntu 18.04 from the Windows Store. The first step is not needed anymore for most recent Windows 10 versions, I think. Start the freshly installed Ubuntu Bash shell and install the dependencies and some build tools: sudo apt update && sudo apt dist-upgrade sudo apt install build-essential libtbb-dev libtiff5 x11-apps git Now there’s no graphics, since WSL does not ship any X server. You can fix that e.g. by installing [Xming](https://sourceforge.net/projects/xming/) and…

For WSL2, this may work:

> [@ROOT on Windows 11 WSL2 / WSLg](https://root-forum.cern.ch/t/root-on-windows-11-wsl2-wslg/48348):
>
> Dear experts/developers, I installed the latest ROOT (6.24/06) on a Windows 11 with WSL2 (which has native GUI support) and found a weird problem with graphics. Some details: It is not a fresh Windows, but updated from W10, although it did not have WSL installed before, so it is a fresh WSL install. As per the recommended ROOT instructions with this post from @James-Carroll and MicroSoft’s instructions for WSL, I did this (with reboots where needed): Turned on these Windows features: “…

Note that, apart from ROOT, you need an X server running on Windows too, as explained in the pages above.

---

_[View the full topic](https://root-forum.cern.ch/t/tcanvas-c1-command-not-working/57693)._
