# Error in \<RootX11IOErrorHandler\>: fatal X11 error (connection to server lost?!)

**URL:** <https://root-forum.cern.ch/t/error-in-rootx11ioerrorhandler-fatal-x11-error-connection-to-server-lost/49804>\
**Category:** Newbie\
**Created:** [May 1, 2022, 4:15am UTC](https://root-forum.cern.ch/t/error-in-rootx11ioerrorhandler-fatal-x11-error-connection-to-server-lost/49804 "2022-05-01T04:15:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dil](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dil/32/26887_2.png) [@Dil](https://root-forum.cern.ch/u/Dil)\
**Post date:** [May 1, 2022, 4:15am UTC](https://root-forum.cern.ch/t/error-in-rootx11ioerrorhandler-fatal-x11-error-connection-to-server-lost/49804/1 "2022-05-01T04:15:50Z")

</div>

Hello all,

I am having the following problem in Xquartz when I tried to open the .root file. Xquartz is quit unexpectedly and got the following error.  
root [1] h\_missing\_piplus\_piminus-\>Draw()  
Info in TCanvas::MakeDefCanvas: created default TCanvas with name c1  
root [2] Error in : fatal X11 error (connection to server lost?!)

\*\*\*\* Save data and exit application \*\*\*\*

I used ssh remote connection.  
Recently I installed Xquartz 2.8.1. (I am not sure my previous version of XQuartz, but haven’t had any problem)  
Any help would be greatly appreciated.  
My Mac version-MacOS Big Sur: 11.5.1

Thanks  
Dil

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 2, 2022, 7:47am UTC](https://root-forum.cern.ch/t/error-in-rootx11ioerrorhandler-fatal-x11-error-connection-to-server-lost/49804/2 "2022-05-02T07:47:38Z")

</div>

I have XQuartz 2.8.1 with MacOS 12.3.1 (Monterey) and I can display graphics remotely via ssh.
