Coding help : Where to log X11 forwards?
Darren Tucker
dtucker at zip.com.au
Sat Feb 7 09:11:24 EST 2009
Jeff Blaine wrote:
> Really confused now. Neither w00t gets tickled but the
> X11 session is established fine.
>
> % strings /linus/tmp/jblaine/sbin/sshd | grep w00t
> jblaine testing : pre-w00t
> jblaine testing : w00t? : %s
> %
>
> % sudo /linus/tmp/jblaine/sbin/sshd -p 3333 -ddd 2>&1 | grep w00t
You can add "-e" to force all debug messages to stderr although I don't
think it will make a difference.
> %
>
> /* 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?
Does the X11 request show up on the client-side debugging? You said
that X gets set up, is it possible it's done outside of ssh?
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list