[Bug 1328] New: ControlClient uses wrong $DISPLAY.

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Jul 6 01:15:56 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1328

           Summary: ControlClient uses wrong $DISPLAY.
           Product: Portable OpenSSH
           Version: 4.6p1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: dwmw2 at infradead.org


Created an attachment (id=1316)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1316)
Handle multiple $DISPLAYs

When using the ControlClient feature, X programs get forwarded to the
$DISPLAY of the _master_, not the client.

The X forwarding support in the SSH protocol doesn't allow for
specifying a display for forwarded connections, but we can achieve it
by generating different 'fake authentication data' for each one, then
using that to infer which display should be used.

(We have a similar bug with agent forwarding, and no 'easy' fix for
that one without a protocol change. It has been suggested that because
we can't fix _that_ bug, we shouldn't fix _this_ bug either, for
'consistency'. That logic seems a little flawed to me. Besides, I've
tripped over the 'wrong display' thing _many_ times and I have not
_once_ been bothered by the fact that I'm using the 'wrong' agent.)


-- 
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list