From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14119 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.user Subject: Re: How to pull a gui gnus from linux to windows desktop Date: Thu, 02 Dec 2010 08:18:00 -0600 Organization: Still searching... Message-ID: <87mxoos1gn.fsf@newsguy.com> References: <87bp56xh3v.fsf@newsguy.com> <87lj49w7sq.fsf@newsguy.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291303790 5543 80.91.229.12 (2 Dec 2010 15:29:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2010 15:29:50 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Dec 02 16:29:46 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1POB6P-0008IW-8v for gegu-info-gnus-english@m.gmane.org; Thu, 02 Dec 2010 16:29:45 +0100 Original-Received: from localhost ([127.0.0.1]:41930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POB6O-0006HY-7h for gegu-info-gnus-english@m.gmane.org; Thu, 02 Dec 2010 10:29:44 -0500 Original-Received: from [140.186.70.92] (port=51901 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PO9zk-0001cn-FE for info-gnus-english@gnu.org; Thu, 02 Dec 2010 09:19:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PO9zM-0004B4-9Y for info-gnus-english@gnu.org; Thu, 02 Dec 2010 09:18:46 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:41550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PO9zL-00049b-VU for info-gnus-english@gnu.org; Thu, 02 Dec 2010 09:18:24 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PO9zE-0005BM-Np for info-gnus-english@gnu.org; Thu, 02 Dec 2010 15:18:16 +0100 Original-Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Dec 2010 15:18:16 +0100 Original-Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Dec 2010 15:18:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:E4KAjyRfm1BFe/2VXGxDvcuU+Hg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14119 Archived-At: Daniel Pittman writes: >>> 2. Set your DISPLAY appropriately on the Linux server.[2] >> >> ( [2] Either forward it through SSH, or just point it an >> the Win32 machine. >> >> Errr . . you don't mean just ssh -X do you? And how would one set >> point it at the win machine? By IP or UNC or what? > > Yup. The DISPLAY variable is a standard X feature, with the syntax: > > ${host}:${display} > > Eg: export DISPLAY=win64.example.com:0 > export DISPLAY=127.0.0.1:0 > > Your display number should be zero (the first X display), and it > will make a TCP connection to port 6000 + on the > target machine to display things. Sorry to keep hacking away about this but I'm not getting the expected results. Does X11 have to be running on remote (linux) box? I mean if I'm on a windows machine with Xming running, in order to pull a gui gnus session to the windows machine does X have to be running on the linux machine? I ask because my original question was about how to do this when the remote linux machine is in console mode. When I attempt the connection in that situation I get an error on the linux remote if I try to connect to a running emacs daemon. Using putting to ssh to remote then: emacsclient -s nognus -c (where `nognus' is the daemons name) Waiting for Emacs... *ERROR*: Display 192.168.0.3:0 can't be opened The ip number there is the windows machines' static IP on home lan. As you see the display is set to it. If I start emacs separate from the daemon it just starts in -nw mode in the teminal on the remote. Maybe there is no way to do this without X running on remote?