# No authorization protocol specified for TBrowser drawing

**URL:** <https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381>\
**Category:** Newbie\
**Created:** [November 6, 2025, 3:38pm UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381 "2025-11-06T15:38:26Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![SarahBlind](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Post date:** [November 6, 2025, 3:38pm UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/1 "2025-11-06T15:38:26Z")

</div>

* * *

Dear Root users,

I am discovering ROOT and I have been dealing with problems when trying to open the TBrowser :

 ![Screenshot from 2025-11-06 16-20-16](https://root-forum.cern.ch/uploads/default/original/3X/4/b/4ba5e37797c7375348e6acee6d33ab5c46d8e740.png)

I have seen that this problem has been “solved” using `xhost +` but this seems to be a very bad idea in terms of security.

I’m a little lost but could there be computer package dependency problems ?

 ![Screenshot from 2025-11-06 16-33-28](https://root-forum.cern.ch/uploads/default/original/3X/b/8/b89fb9332a3ab9be4d96f413e6b8bb7ade3c9adb.png)

If this speaks to someone, many thanks for the help!

Sarah

_ROOT Version:_ 6.36.04  
_Platform:_ Ubuntu 24.04.3 LTS

---

<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 6, 2025, 4:07pm UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/2 "2025-11-06T16:07:55Z")

</div>

It looks like an issue that @linev could help with

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 7, 2025, 6:54am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/3 "2025-11-07T06:54:11Z")

</div>

Hi Sarah,

In batch mode web-based browser is not invoked.  
Seems to be you have problems with X11 settings.

But you can try to run web-based TBrowser on such remote node.  
In such case you can avoid X11 forwarding problems completely and  
just use normal web-browser on your desktop machine.

See short info here: [ROOT 7 - ROOT](https://root.cern/for_developers/root7/#rbrowser-on-remote-nodes)

Regards,  
Sergey

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 7, 2025, 7:36am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/4 "2025-11-07T07:36:16Z")

</div>

In your “`${HOME}/.bash_profile`”, or “`${HOME}/.bash_login`”, or “`${HOME}/.profile`” (whichever you use) add (and then re-login):

```bash
# for X11-forwarding SSH connection and snap applications
if [-z "${XAUTHORITY}"] ; then export XAUTHORITY="${HOME}/.Xauthority" ; fi

```

---

<div class="post-metadata">

**Author:** ![SarahBlind](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Post date:** [November 7, 2025, 10:39am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/5 "2025-11-07T10:39:26Z")

</div>

Thank you for your response!

Unfortunately I still have the same problem…

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 7, 2025, 10:44am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/6 "2025-11-07T10:44:14Z")

</div>

Have you completely logged out and then logged in again (i.e., not just opening a new terminal window)?

---

<div class="post-metadata">

**Author:** ![SarahBlind](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Post date:** [November 7, 2025, 10:46am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/7 "2025-11-07T10:46:27Z")

</div>

Yes, I completely restarted my computer!

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 7, 2025, 11:00am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/8 "2025-11-07T11:00:14Z")

</div>

Well, if you are the only user, try (should be “safe”):  
`xhost +local:`  
or, if there are more users:  
`xhost +SI:localuser:${USER}`

---

<div class="post-metadata">

**Author:** ![SarahBlind](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Post date:** [November 7, 2025, 11:13am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/9 "2025-11-07T11:13:56Z")

</div>

I obtain a huge segmentation violation. There might be several problems, I’m sorry, this is not at all my area of ​​expertise.

 ![Screenshot from 2025-11-07 12-10-00](https://root-forum.cern.ch/uploads/default/original/3X/e/7/e7c2ac2c7c912dcc20b10c0f899baf011ac0240b.png)

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 7, 2025, 1:44pm UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/10 "2025-11-07T13:44:32Z")

</div>

This requires the expertise of a “[ROOT Snap package](https://root.cern/install/#snap)” specialist (e.g., the person responsible for it).

Just to make sure … what do you get from: `echo ${XAUTHORITY}`

---

<div class="post-metadata">

**Author:** ![SarahBlind](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Post date:** [November 7, 2025, 1:57pm UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/11 "2025-11-07T13:57:16Z")

</div>

`echo ${XAUTHORITY}` returns:

> /run/user/1000/.mutter-Xwaylandauth.XRJIF3

Thank you very much for taking the time to help me!

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 7, 2025, 1:59pm UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/12 "2025-11-07T13:59:22Z")

</div>

That’s the problem (that I suspected) … “`XAUTHORITY`” should be: “`${HOME}/.Xauthority`”.  
Snap cannot access “`/run/...`” (it can access “`/home/...`”).

But the “segmentation violation” is another issue, I think.

---

<div class="post-metadata">

**Author:** ![SarahBlind](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Post date:** [November 7, 2025, 2:19pm UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/13 "2025-11-07T14:19:55Z")

</div>

I do understand better the problem. All I have to do now is solve it. Then I can move on to the problem of segmentation…

---

<div class="post-metadata">

**Author:** ![SarahBlind](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Post date:** [November 7, 2025, 3:03pm UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/14 "2025-11-07T15:03:04Z")

</div>

I wonder why your suggestion

```auto
if [-z "${XAUTHORITY}"] ; then export XAUTHORITY="${HOME}/.Xauthority" ; fi

```

is not working. I did add it to my `${HOME}/.profile`. I do not have a `${HOME}/.bash_login`.

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 7, 2025, 8:12pm UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/15 "2025-11-07T20:12:33Z")

</div>

You could try the “brutal way” (“ohne Wenn und Aber”). Add:  
`export XAUTHORITY="${HOME}/.Xauthority"`

---

<div class="post-metadata">

**Author:** ![SarahBlind](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Post date:** [November 12, 2025, 9:07am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/16 "2025-11-12T09:07:16Z")

</div>

Dear Wile\_E\_Coyote,

This weekend I decided to completely reinstall my Ubuntu. There were several problems with my machine, it didn’t hurt. My TBrowser works fine now!

Thank you so much for your help.

Regards,

Sarah

---

<div class="post-metadata">

**Author:** ![SarahBlind](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Post date:** [November 12, 2025, 9:08am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381/17 "2025-11-12T09:08:39Z")

</div>

Dear linev,

Many thanks for your response! There were to much problems with my computer, this week-end I decided to completely reinstall my Ubuntu. My TBrowser works fine now!

Regards,

Sarah
