Problem with X11 forwarding under CINT


I have troubles to launch scripts under CINT with remote SSH clients (Mac OS X X11 1.1 term and all FreeBSD terms) session.

Launching root binary display well the graphical welcome screen, while CINT says it dislikes my X11 configuration…:

[code]lxpub2> root
Error: illegal pointer to class object gClient 0x0 784 FILE: LINE:0
*** Interpreter error recovered ***
Error in : BadAtom (invalid Atom parameter) (XID: 39, XREQ: 18)

  •                                     *
  •    W E L C O M E  to  R O O T       *
  •                                     *
  • Version 5.06/00 30 October 2005 *
  •                                     *
  • You are welcome to visit our Web site *
  •            *
  •                                     *

FreeType Engine v2.1.9 used to render TrueType fonts.
Compiled on 30 October 2005 for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.2, July 14 2005
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.

Welcome to the ROOT tutorials

Type “.x demos.C” to get a toolbar from which to execute the demos

Type “.x demoshelp.C” to see the help window

root [0] .x demos.C
Error in : BadAccess (attempt to access private resource denied) (TGFrame XID: 87, XREQ: 102)
TGFrame: 87

root [1] .q

This is the end of ROOT – Goodbye[/code]

When I include root code in a C/C++ program (cfr. ), the root code and all graphical components associated are well working, so this is not a misconfiguration of X11 Forwarding.

PS: Under Win32 with PuTTy SSH client, there is no problems.

What’s wrong with this ?
Thank you for your help,



did you try ssh -Y?

Cheers, Fons.


did you try ssh -Y?

Cheers, Fons.[/quote]


ssh -Y resolves my problem :wink:

Thank you very much !