# Opening TBrowser causes XQuartz to unexpectedly quit

**URL:** <https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280>\
**Category:** ROOT\
**Created:** [September 20, 2017, 9:35pm UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280 "2017-09-20T21:35:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarahwferg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@sarahwferg](https://root-forum.cern.ch/u/sarahwferg)\
**Post date:** [September 20, 2017, 9:35pm UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/1 "2017-09-20T21:35:46Z")

</div>

So I used to be able to use root without any problems. Now whenever I open TBrowser the entire XQuartz application quits. Here is what I do:

ssh -Y @lxplus.cern.ch  
setupATLAS  
lsetup root  
root

Then I get an error:

```auto
LoadROOTSplashscreenPixmap, failed to load a splashscreen image
LoadROOTSplashscreenPixmap, failed to load a splashscreen image
PopupLogo, failed to create a background pixmap

```

in root I just try to open TBrowser with

`root [0] TBrowser b`

it takes a minute to open the Browser window but as soon as it loads the entire XQuartz application quits. The same thing happens if I try to just draw a histogram with

`h->draw();`

I have tried updating root on my local computer. I now have ROOT 6.10/04 .  
I have not changed anything else since. And everything was working fine a week ago.  
The version of XQuartz I have is 2.7.11.

Any help would be appreciated.

Thanks,

Sarah

---

<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:** [September 21, 2017, 7:13am UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/2 "2017-09-21T07:13:14Z")

</div>

The message:

```auto
LoadROOTSplashscreenPixmap, failed to load a splashscreen image

```

Shows that the X11 connection with your Mac did not work. Any graphics won’t display.  
It is not connected to TBrowser. I guess you will have the same problem opening a TPad or even starting any X11 application like `xterm` or `clock` can you try ?

> [@sarahwferg](#):
>
> I have tried updating root on my local computer. I now have ROOT 6.10/04 .

This is not related à you are running ROOT on lxplus.

---

<div class="post-metadata">

**Author:** ![sarahwferg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@sarahwferg](https://root-forum.cern.ch/u/sarahwferg)\
**Post date:** [September 21, 2017, 1:49pm UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/3 "2017-09-21T13:49:26Z")

</div>

> [@couet](#):
>
> I guess you will have the same problem opening a TPad or even starting any X11 application like xterm or clock can you try ?

Yes I have the same problem when opening `TPad` or `TCanvas` in root. However `xterm` and `xclock` work fine.

---

<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:** [September 21, 2017, 1:52pm UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/4 "2017-09-21T13:52:29Z")

</div>

> [@sarahwferg](#):
>
> However xterm and xclock work fine

This is weird … Are you at CERN ?

---

<div class="post-metadata">

**Author:** ![sarahwferg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@sarahwferg](https://root-forum.cern.ch/u/sarahwferg)\
**Post date:** [September 21, 2017, 4:40pm UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/5 "2017-09-21T16:40:05Z")

</div>

> [@couet](#):
>
> This is weird … Are you at CERN ?

No I am not at CERN.

---

<div class="post-metadata">

**Author:** ![sarahwferg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@sarahwferg](https://root-forum.cern.ch/u/sarahwferg)\
**Post date:** [September 21, 2017, 5:14pm UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/6 "2017-09-21T17:14:21Z")

</div>

I can run root fine on my local computer but if I try to run it on lxplus or on our ATLAS tier 3 site I get this error.

I thought it might have something to do with the `$DISPLAY` variable but it looks ok on both logins:

`[sferguso@lxplus044 ~]$ echo $DISPLAY`  
`localhost:24.0`

`: swf140030@g20 ~; echo $DISPLAY`  
`localhost:10.0`

are there any other variables I can check? I tried the suggestions on [https://www.xquartz.org/FAQs.html](https://www.xquartz.org/FAQs.html) for ssh forwarding debugging and everything looks fine except possibly:  
"`[6] remote $ grep X11 /etc/ssh/sshd_config ~/.ssh/*`  
`X11Forwarding yes`  
`X11DisplayOffset 10`" (this is what the website above says it should look like)

for which I get:

`[sferguso@lxplus044 ~]$ grep X11 /etc/ssh/sshd_config ~/.ssh/*`  
`grep: /etc/ssh/sshd_config: Permission denied`

and the same thing on our tier 3 site.

---

<div class="post-metadata">

**Author:** ![sarahwferg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@sarahwferg](https://root-forum.cern.ch/u/sarahwferg)\
**Post date:** [September 21, 2017, 11:17pm UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/7 "2017-09-21T23:17:18Z")

</div>

Update: I know it is a problem with my computer. I have had another graduate student log onto lxplus from my terminal and he had the same problems as me when trying to use root.

I have also used my advisor’s computer (which also uses XQuartz on a mac) to logon to my lxplus account and my account on our tier 3 site. When using his computer, I do not have these problems.

This tells me that there is not a problem with my environment on lxplus or my tier 3 account.

I uninstalled and reinstalled XQuartz. I still have the same problem as before.

---

<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:** [September 22, 2017, 7:46am UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/8 "2017-09-22T07:46:02Z")

</div>

You said that you are able to display xterm or clock from lxplus to your Mac … so XQuartz on Mac is correct. I do not understand why only ROOT has problem. Can you try to start ROOT with the option `- n` to not execute the `rootlogon.C` file . It might be that you have something in it causing the problem. Which ROOT version are you using ?

---

<div class="post-metadata">

**Author:** ![sarahwferg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@sarahwferg](https://root-forum.cern.ch/u/sarahwferg)\
**Post date:** [September 22, 2017, 10:39pm UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/9 "2017-09-22T22:39:51Z")

</div>

> [@couet](#):
>
> Can you try to start ROOT with the option - n to not execute the rootlogon.C file

I still have the same issues when I do this.

> [@couet](#):
>
> Which ROOT version are you using ?

I’ve mainly been testing it with version 6.10/04 but I have tried it with other versions including 5.34/10, 6.00/00, and 6.04/18 as well as some others. I get the same error at the startup with all the 6.xx/xx and get this error message for the 5.xx/xx  
`rootx xpm error: XpmColorFailed`

For the version 6.00/00 I get the original error message in an above post along with an error about cling:

`[sferguso@lxplus056 ~]$ root`  
`LoadROOTSplashscreenPixmap, failed to load a splashscreen image`  
`LoadROOTSplashscreenPixmap, failed to load a splashscreen image`  
`PopupLogo, failed to create a background pixmap`  
`Warning in cling::CIFactory::createCI():`  
` C++ ABI mismatch, compiled with __GLIBCXX__ v20130531 running with v20141219`

But I do not get the last two lines here when I use other versions.  
I get the same error message if i run with `root -n`.

---

<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:** [September 25, 2017, 8:36am UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/10 "2017-09-25T08:36:43Z")

</div>

After the splash screen error which error do you get when you try to open a TPad ?  
I must admit I am really puzzled with your issue and do not really know what it could be,

---

<div class="post-metadata">

**Author:** ![sarahwferg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@sarahwferg](https://root-forum.cern.ch/u/sarahwferg)\
**Post date:** [September 25, 2017, 3:45pm UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/11 "2017-09-25T15:45:09Z")

</div>

> [@couet](#):
>
> After the splash screen error which error do you get when you try to open a TPad ?

I do not get an error message when I open TPad. It causes XQuartz to completely quit. Same as when I open TBrowser or TCanvas.

Thanks for trying to help!

---

<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:** [September 26, 2017, 8:50am UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/12 "2017-09-26T08:50:17Z")

</div>

That’s really super weird … XQuartz and ROOT are not running on the same machine … I have never seen the XQuartz server falling down because of a ROOT session running on a remote machine. I do not see how I can help from here without trying on your machine. May be some local expert can try to help you ?

---

<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:** [October 10, 2017, 8:50am UTC](https://root-forum.cern.ch/t/opening-tbrowser-causes-xquartz-to-unexpectedly-quit/26280/13 "2017-10-10T08:50:19Z")

</div>

Closed on October 10, 2017, 8:50am UTC

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