From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Biocyberman Newsgroups: gmane.emacs.help Subject: Re: tramp: put X forwarding and custom port to ssh Date: Thu, 16 Jul 2015 00:50:26 +0200 Message-ID: References: <87r3oaykxa.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1437000659 18083 80.91.229.3 (15 Jul 2015 22:50:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jul 2015 22:50:59 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 16 00:50:54 2015 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 1ZFVVt-0002Pg-SF for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Jul 2015 00:50:54 +0200 Original-Received: from localhost ([::1]:37742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFVVt-0005jY-B6 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jul 2015 18:50:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFVVV-0005jT-MX for help-gnu-emacs@gnu.org; Wed, 15 Jul 2015 18:50:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFVVU-0003x7-4V for help-gnu-emacs@gnu.org; Wed, 15 Jul 2015 18:50:29 -0400 Original-Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:36217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFVVT-0003wc-TX for help-gnu-emacs@gnu.org; Wed, 15 Jul 2015 18:50:28 -0400 Original-Received: by oibn4 with SMTP id n4so38998093oib.3 for ; Wed, 15 Jul 2015 15:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vFSLwIVo3iv9n7hbgAh79/mkTWSJf53y1iI6g5rmhRQ=; b=vCXQ7e6/V3PHZ0VrxtfWNbVxzrwOPZhjkIwa2kRiVT3YM4RI2tpmYyGIwfAYOMI5Ap jUoYW1KrrXhwSlA8Af3qXMNgDRvy/9PtvBZxixKXDvcIE6D2en4xkbvGcXstZ9kbbFzf dnyEsWUhpvW9gpO/CeuCg/NfbC01KWojxsCQXcJHL42apHYdEXY84O/Y5IBPziOMCJjX 32cfqZdODgCGapvrptcK4qFBmd0aizPcoFW1v4w8gR6/Ns8s9h9tUiTcsGzY68Gsttez dkz6dr8WXuqbKSEzWq1rxUKN/cdsoNpFm6nsVX4oVcTmy/d91OHazrZnh2Od4inwHOr8 PbiQ== X-Received: by 10.202.241.67 with SMTP id p64mr5560130oih.87.1437000626150; Wed, 15 Jul 2015 15:50:26 -0700 (PDT) Original-Received: by 10.202.5.11 with HTTP; Wed, 15 Jul 2015 15:50:26 -0700 (PDT) In-Reply-To: <87r3oaykxa.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22c X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:105748 Archived-At: Hi Michael, Thank you for your email. I tried both. At first I thought "ForwardX11 yes" or "ForwardX11Trusted yes" is only meaningful to put on /etc/ssh/sshd_config, which configure the ssh_server. But then I did it anyway, and that did not help neither. I am lost on this now, If you or someone have a working system, I would be grateful to see the configuration. Best regards Vang On Tue, Jul 14, 2015 at 2:37 PM, Michael Albinus wrote: > Biocyberman writes: > > > Hello Emacs users > > Hi, > > > The goal: > > I have a working X forwarding setup when working with SSH outside emacs. > > Since TRAMP is so attractive, I want to make X forwarding work inside > emacs > > as well. This will help me to run ESS and R code on a remote server and > > output graphics on my local mointor. > > > > What I tried: > > I followed the manual at item 5.4.1 here: > > > http://www.gnu.org/software/emacs/manual/html_node/tramp/Remote-processes.html > > . I failed with the error described here: > > > http://stackoverflow.com/questions/30043608/unable-to-start-device-x11cairo-in-r-on-mac-10-10 > . > > If it doesn't help to set DISPLAY on the remote server via Tramp, you > could apply the second tip on this page: > > "Another trick might be that you put ForwardX11 yes or ForwardX11Trusted > yes to your ~/.ssh/config file for that host." > > Have you tried this? > > > Thanks > > Vang > > Best regards, Michael. >