Hi again Jim,

I found out that I had to set "X11UseLocalhost" to "no" in the gsisshd's config 
file to successfully forward X11 connections. I think this is due to a change 
in /etc/hosts.
In the meanwhile I tested the latest source release and the packages for SL6 
and they all work (but the test machines were under my full control and I could 
adjust /etc/hosts so that "X11UseLocalhost" could be left to "yes").
All the best,

Matteo


________________________________________
From: Lanati, Matteo
Sent: 25 January 2016 15:01
To: Basney, Jim
Cc: Globus Toolkit Users List
Subject: Re: [gt-user] gsisshd and X11 forwarding

Hi Jim,

thanks for the hints, I’ll let you know once I’ve tried something out.
All the best,

Matteo


> On 25 Jan 2016, at 14:41, Basney, Jim <jbas...@illinois.edu> wrote:
>
> Hi Matteo,
>
> I suggest:
>
> 1. Check the server's debug output for any X11-related messages. (See
> http://grid.ncsa.illinois.edu/ssh/ts_server.html for instructions.) You
> may find an error related to xauth indicating that you need to pass a
> ./configure --with-xauth option when compiling from source.
>
> 2. Do you see the same problem using server binaries from Globus or do you
> only see the problem when compiling the server from source?
>
> 3. Do you see the same problem using our latest GSI-OpenSSH pre-release
> from https://github.com/globus/gsi-openssh/releases? Any help testing our
> pre-release is much appreciated.
>
> -Jim
>
> On 1/25/16, 5:53 AM, Lanati, Matteo wrote:
>> Hi all,
>>
>> I¹ve a gsissh server compiled from sources version 6.0.1433516164.
>> In the config file of the daemon I set ŒX11Forwarding' to Œyes'.
>> However, when I connect from my machine and I try to start a graphical
>> application, I get the following error
>>
>> xterm Xt error: Can't open display:
>> xterm:  DISPLAY is not set
>>
>> If I set the variable, (i.e., connecting via ssh and getting a display),
>> things work as expected.
>> The daemon is using the correct config file, since in the verbose output
>> of the client I see
>>
>> X11 forwarding request accepted on channel 0
>>
>> while, if the X11Forwarding option were disabled, I¹d expect the message
>> "X11 forwarding request failed on channel 0².
>> The behaviour doesn¹t depend on the client platform, I tested it on OSX
>> and on Debian (both Globus 6, precompiled from the official repository).
>> Are there further suggestions?
>> Thanks in advance,
>>
>> Matteo
>

Matteo Lanati
Distributed Resources Group
Leibniz-Rechenzentrum (LRZ)
Boltzmannstrasse 1
85748   Garching b. München     (Germany)
Phone: +49 89 35831 8724

Reply via email to