From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Biocyberman Newsgroups: gmane.emacs.help Subject: tramp: put X forwarding and custom port to ssh Date: Mon, 13 Jul 2015 20:54:34 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1436821161 3088 80.91.229.3 (13 Jul 2015 20:59:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2015 20:59:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 13 22:59:09 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 1ZEkof-0001vl-Eh for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 22:59:09 +0200 Original-Received: from localhost ([::1]:56784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEkoe-0000Qz-T5 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 16:59:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEisC-00035e-KJ for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 14:54:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEis8-0003KE-9E for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 14:54:40 -0400 Original-Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:36711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEis8-0003GR-4X for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 14:54:36 -0400 Original-Received: by oibn4 with SMTP id n4so29935747oib.3 for ; Mon, 13 Jul 2015 11:54:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+FycopRjogfZr6YY44YmA3hWKekwA6mPsA5AlqZYkf0=; b=zlTgaFF30MMttphcaSmubQuLrOYNHgp7yv3vaiUeO7bhcbaeoM0uQ9B+ihG/CxRvBF pOtUxBI8dmNaZWFKX4Y3sX/te8tyIK8M1BujoPNgYCNWiHk60AUK/57HfEzNY00ZrDMB pbMouy/0cCMkIzDQexpSM4gK0Y9fhVmeYlAeEnynZSVe2FH7ghbxaadqcl9NPnTXT5nd P5JI7TaPejlGrZCn0vbRCv7btQebpKAfMMVuP6kTq9KmYC2k9OptFNE1qRtKQQSpGpPp bPGEv2DWd0bzoHRXEqYBG7xKuupPiOh6dG2vKtl8oMOfKt2d9b9rHWzFx9Xlv3zrt8ol RiDA== X-Received: by 10.182.39.194 with SMTP id r2mr33226984obk.20.1436813674551; Mon, 13 Jul 2015 11:54:34 -0700 (PDT) Original-Received: by 10.202.5.11 with HTTP; Mon, 13 Jul 2015 11:54:34 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22d X-Mailman-Approved-At: Mon, 13 Jul 2015 16:58:59 -0400 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:105699 Archived-At: Hello Emacs users I am a new emacs user,and I thought the problem I have is solved long time ago. However, after many google searched, I could not find a working solution. 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. I also tried and get this method working: http://www.r-bloggers.com/run-a-remote-r-session-in-emacs-emacs-ess-r-ssh. However, it still involves multiple steps. Alternatively, I can manually modify the ssh connection method in tramp-methods of the tramp.el file. But since it is a common issue to many, I want to ask for a simpler/common solution. Thanks Vang