Re: [ROOT] Fedora Core3 -- problems with display

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Thu Dec 16 2004 - 10:56:14 MET


Hi Tomasz ,
please check http://root.cern.ch/phpBB2/viewtopic.php?t=1332
MC wrote:

someone else help me and finally it was possible to solve this problem.
This is due to a different policy used by OpenSSH for Fedora Core 3. The problem was solved just by using

      Code:
      ssh -Y


instead of

      Code:
       ssh -X


for connecting to the other machine.
>From the release notes of Fedora Core 3,

      Quote:
      The behavior of ssh clients that are invoked with the -X flag has changed. In OpenSSH 3.8 and later, X11 forwarding is
performed in a way that applications run as untrusted clients by default. Previously, X11 forwarding was performed so that
applications always ran as trusted clients. Some applications may not function properly when run as untrusted clients. To forward
X11 so that applications are run as trusted clients, invoke ssh with the -Y flag instead of the -X flag, or set ForwardX11Trusted in
the ~/.ssh/config file.



Thanks to all the people that helped me in solving this issue.
MC

Regards. Valeriy

> Dear rooters,
> I am getting this error trying to display ROOT graphics object started
> from remote console (ssh).
> I suspect the GNOME Window manager but WindowMaker behaves identically.
> The suspection is moved to xorg stuff then.
>
>
> The error messge is:
> root [1] new TCanvas()
> Error in <RootX11ErrorHandler>: BadAccess (attempt to access private
> resource denied) (XID: 63, XREQ: 102)
>
>
> Regards,
>     Tomasz Bold
>
>
>
> The root version is:
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   4.00/04     30 April 2004   *
>   *                                         *
>   *  You are welcome to visit our Web site  *
>   *          http://root.cern.ch            *
>   *                                         *
>   *******************************************
>
> FreeType Engine v2.1.3 used to render TrueType fonts.
> Compiled for linux with thread support.
>
> CINT/ROOT C/C++ Interpreter version 5.15.133, Apr 18 2004
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
>
>
>



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET