From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joseph Mingrone Newsgroups: gmane.emacs.help Subject: problems with X11 forwarding inside frame Date: Tue, 14 May 2013 12:20:42 -0300 Message-ID: <86d2stk2ph.fsf@gly.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1368546486 17548 80.91.229.3 (14 May 2013 15:48:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 May 2013 15:48:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 14 17:48:04 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UcHSM-0005Lq-R4 for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 17:48:02 +0200 Original-Received: from localhost ([::1]:43216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcHSM-0004Xk-Ba for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 11:48:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcH6D-0007FY-Ve for help-gnu-emacs@gnu.org; Tue, 14 May 2013 11:25:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcH6C-0003I3-03 for help-gnu-emacs@gnu.org; Tue, 14 May 2013 11:25:09 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcH6B-0003H5-OE for help-gnu-emacs@gnu.org; Tue, 14 May 2013 11:25:07 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UcH67-0007Mm-Mh for help-gnu-emacs@gnu.org; Tue, 14 May 2013 17:25:03 +0200 Original-Received: from dynamic34-29.dynamic.dal.ca ([129.173.34.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 May 2013 17:25:03 +0200 Original-Received: from jrm by dynamic34-29.dynamic.dal.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 May 2013 17:25:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dynamic34-29.dynamic.dal.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Cancel-Lock: sha1:+xhApBMHNfCj8QJnsTNUFHvdAfw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-Mailman-Approved-At: Tue, 14 May 2013 11:47:41 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90766 Archived-At: phe is the local host, gly is the remote host. >From inside a term buffer: jrm@phe ~ % ssh -f gly 'env | grep -i display; emacsclient -nc' 0;jrm@phe|~DISPLAY=localhost:10.0 emacsclient: can't find socket; have you started the server? ... Starting Emacs daemon. So far so good. The new frame from gly opens. >From inside a term buffer in the new frame from gly: jrm@gly ~ % xcalc Error: Can't open display: localhost:10.0 ------ This is isolated to emacs because I can open a remote terminal and X11 forwarding works. jrm@phe ~ % ssh -f gly 'env | grep -i display; xterm' 0;jrm@phe|~DISPLAY=localhost:10.0 jrm@gly ~ % xcalc # xcalc opens If I open a local terminal, ssh to gly, then start an emacsclient everything works fine. Is there a way to avoid having a local terminal open for each remote emacs frame and have X11 forwarding work? Joseph