LBX Support : Where to start

Gordon Fritsch GORDONFR at Attachmate.com
Wed Apr 11 08:27:43 EST 2001


Could this problem be tackled from a slightly different angle:

LBXproxy is like an X client for the X Server - an X client which "talks
using the LBX extension protocol rather than X11". Another way of tackling
this problem is to fina a way to start the lbxproxy and use its display#
instead of the SshServer's display#. Can this be done by modifying the code
in the proxymngr and xfindproxy programs that come with the X source code?

Gordon

-----Original Message-----
From: Jim Knoble [mailto:jmknoble at jmknoble.cx]
Sent: Tuesday, April 10, 2001 3:11 PM
To: openssh-unix-dev at mindrot.org
Subject: Re: LBX Support : Where to start


Circa 2001-Apr-10 15:43:08 -0500 dixit Carl Perry:

: I would like to put a patch in OpenSSH start lbxproxy on the server if 
: both ends of the connection support LBX.  I'm having difficulty figuring 
: out where to put this code, specifically I can't seem to find where the 
: X11 handshaking happens.  Could someone help me out on this??

>From a brief gander through the code:

  - The X display is created in channels.c:x11_create_display_inet();
    it's pretty much a socket bound to port 6000+X11DisplayOffset+n.
    
  - The calling code is in session.c:do_authenticated(), case
    SSH_CMSG_X11_REQUEST_FORWARDING; that's where the xauth stuff is
    set up.

Hope that helps.

-- 
jim knoble | jmknoble at jmknoble.cx | http://www.jmknoble.cx/



More information about the openssh-unix-dev mailing list