From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: tramp X forwarding howto Date: Thu, 05 Sep 2013 11:32:19 +0200 Message-ID: <87ob874nrw.fsf@gmx.de> References: <8738pkg9dn.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378373571 4225 80.91.229.3 (5 Sep 2013 09:32:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 09:32:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Paul K Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 05 11:32:54 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 1VHVvp-0007L3-Ei for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Sep 2013 11:32:53 +0200 Original-Received: from localhost ([::1]:57773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHVvo-0008Ae-Re for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Sep 2013 05:32:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHVvR-00081O-7w for help-gnu-emacs@gnu.org; Thu, 05 Sep 2013 05:32:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHVvL-0004Oh-E6 for help-gnu-emacs@gnu.org; Thu, 05 Sep 2013 05:32:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:49207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHVvL-0004OV-5J for help-gnu-emacs@gnu.org; Thu, 05 Sep 2013 05:32:23 -0400 Original-Received: from detlef.gmx.de ([91.41.132.94]) by mail.gmx.com (mrgmx103) with ESMTPS (Nemesis) id 0MRGvT-1VPzJr34pT-00UbqI for ; Thu, 05 Sep 2013 11:32:21 +0200 In-Reply-To: (Paul K.'s message of "Thu, 5 Sep 2013 11:09:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:myzFumL5rEkOoeB3QjBzPq0rVGGxs/0rnAiK9ALcFGVQi3ycl7s +dzprBuroiPcU899/6cyGZw9Yk0kK94LhA0kkjjd6Wlt9FCOVdHRyYcUMPTx5kzzZqNp6HH Sfwh88En3NvULEXLs2XOWURDzewaIkyLX28yIY7MrT4XSyN4Zw7Z2jg2ZM2K/H/HL+nQR9q e1Bml9WVdwvyJWccH5tZA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.15 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:93270 Archived-At: Paul K writes: > Hallo Michael, Hi Paul, > it is: > 2.2.6-24.3 Well. That's pretty recent. > I visit remote directory of my linux box. I want to run some X > application for some remote file, but I get some error message: > > Gtk-WARNING **: cannot open display: > > I do not see `-Y' argument in the ssh command. Is this the reason? > how can I instruct tramp to use this argument ? Likely, the recipe explained in section 6.5.1 of should work for you. Adding an additional argumemt to the ssh call, like -X or -Y, is more tricky. If the recipe above does not work, you could add a respective entry to your ~/.ssh/config: Host RHEL6-64 ForwardX11Trusted yes Best regards, Michael.