Can't connect via gnuclient

Glynn Clements glynn at gclements.plus.com
Sat Apr 5 21:58:17 EDT 2008


skip at pobox.com wrote:

> I've noticed that under certain circumstances I can no longer connect to a
> running XEmacs instance on my laptop using gnuclient (I think since I traded
> in my powerbook for a macbook pro, but I'm not sure).  list-processes shows
> that I have gnuserv running:

[snip]

> The one thing those failed attempts all have in common is that I first ssh'd
> into my desktop machine at work then ssh'd back into my laptop at home.  If
> I avoid the two ssh commands and just run gnuclient from a Terminal window
> on my laptop gnuclient works just fine.
> 
> I can clearly find the gnuclient app, so I presume it's gnuclient that can't
> find some file or directory in the double ssh case, but which one?  Is it
> somehow related to the new way the DISPLAY environment variable works on
> Leopard's X11?  In the no-ssh case my DISPLAY is "/tmp/launch-6mb1rV/:0".  I
> tried changing it to that in the double-ssh case but that didn't improve
> matters.

Is it related to $TMPDIR?

If TMPDIR is set, the gnuserv socket is created there, and that's
where gnuclient will try to connect. If TMPDIR isn't set, /tmp will be
used.

-- 
Glynn Clements <glynn at gclements.plus.com>



More information about the XEmacs-Beta mailing list