Coding help : Where to log X11 forwards?

Jeff Blaine jblaine at kickflop.net
Sun Feb 8 00:42:32 EST 2009


>> /* session.c */
>> ...
>>      debug2("jblaine testing : pre-w00t");
>>
>>      packet_check_eom();
>>      success = session_setup_x11fwd(s);
>>      if (!success) {
>>          xfree(s->auth_proto);
>>          xfree(s->auth_data);
>>          s->auth_proto = NULL;
>>          s->auth_data = NULL;
>>      } else {
>>          debug2("jblaine testing : w00t? : %s", s->auth_display);
>>      }
> 
> Sounds odd.
> 
> The code is in session_x11_req() which is called when the client sends a 
> "x11-req" channel request.  Are you sure you client is sending one?

Sorry, I should have provided more info.  My debug2() calls
above are around line 348 in the 'case SSH_CMSG_X11_REQUEST_FORWARDING:'
section.

I take it that's the wrong place?



More information about the openssh-unix-dev mailing list