X-Spam-Check-By: sourceware.org
Date: Tue, 28 Mar 2006 09:37:28 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Sshd: problem with X11 passthru
Message-ID: <20060328073728.GI20907@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <2fc802c00603270955m5aab74d9s592c663ff905bae4@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2fc802c00603270955m5aab74d9s592c663ff905bae4@mail.gmail.com>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mar 27 18:55, David Picton wrote:
> I have encountered a problem with the sshd server when the client
> specifies X11 passthru i.e. ssh -Y or ssh -X.
> 
> The allocation of virtual displays doesn't work correctly if two or
> more X11-enabled sessions run at the same time.
> 
> As I understand it, the server should give each session a unique
> display number under these circumstances:  localhost:10.0,
> localhost:11.0, localhost:12.0 etc.
> 
> Instead, all the sessions have DISPLAY=localhost:10.0 at the same
> time.  This causes a variety of problems - loss of access to the X
> server (due to changed Magic Cookie authorization on the server when a
> new client connects), or the appearance of windows on the wrong server
> (if two different clients connect).
> 
> (Note that setting up Magic Cookie authorization on the client machine
> makes no difference to this bug.  It prevents the client-side warning
> about 'fake authorization' but it doesn't cure any of the server-side
> problems!)

I don't see anything Cygwin specific here.  You should ask your
question on a mailing list or newsgroup dedicated to OpenSSH.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

