Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: info-gnus-english@gnu.org
Subject: Re: How to pull a gui gnus from linux to windows desktop
Date: Thu, 02 Dec 2010 08:18:00 -0600	[thread overview]
Message-ID: <87mxoos1gn.fsf@newsguy.com> (raw)
In-Reply-To: <m2d3plqa3w.fsf@rimspace.net>

Daniel Pittman <daniel@rimspace.net> 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 + <display number> 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?

  reply	other threads:[~2010-12-02 14:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01  4:16 Harry Putnam
2010-12-01 10:05 ` Daniel Pittman
2010-12-01 20:35   ` Harry Putnam
2010-12-02  0:41     ` Daniel Pittman
2010-12-02 14:18       ` Harry Putnam [this message]
2010-12-03  5:49         ` Daniel Pittman
2010-12-04  0:41           ` Harry Putnam
     [not found] <mailman.6.1291177080.29914.info-gnus-english@gnu.org>
2010-12-01 10:19 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxoos1gn.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).