From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: CVS trunk emacsclient: X11 connection rejected Date: Mon, 29 Oct 2007 17:01:19 -0400 Message-ID: References: <4ky7dpbd3x.fsf@fencepost.gnu.org> <6br6jhfcz0.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193691713 4494 80.91.229.12 (29 Oct 2007 21:01:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2007 21:01:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 29 22:01:55 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Imbk1-0004mf-Pp for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 22:01:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Imbjs-0005zE-HT for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 17:01:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Imbjq-0005yk-2Q for emacs-devel@gnu.org; Mon, 29 Oct 2007 17:01:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Imbjn-0005vw-8a for emacs-devel@gnu.org; Mon, 29 Oct 2007 17:01:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Imbjn-0005vr-3R for emacs-devel@gnu.org; Mon, 29 Oct 2007 17:01:31 -0400 Original-Received: from x-132-204-241-194.xtpr.umontreal.ca ([132.204.241.194] helo=ceviche.home) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Imbji-0000rd-S6; Mon, 29 Oct 2007 17:01:27 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 88E82B4ABE; Mon, 29 Oct 2007 17:01:19 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sat, 27 Oct 2007 15:51:57 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82099 Archived-At: > What happens if you do > host2> ssh host1 > host1> echo "$DISPLAY" > and then use this DISPLAY (presumably somehting like "localhost:10"): go to > your Emacs and type > M-: (make-frame-on-display "localhost:10") RET The above things are meant to reproduce more or less what `ssh host1 emacclient' does, so as to try and take out emacsclient from the equation. So yes: first start Emacs, then ssh into host2 from there ssh back into host1 and then ask Emacs to connect to the pseudo-display "localhost:10.0" that goes through the two ssh tunnels. Stefan