unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* problems with X11 forwarding inside frame
@ 2013-05-14 15:20 Joseph Mingrone
  2013-05-14 16:30 ` Bob Proulx
  0 siblings, 1 reply; 8+ messages in thread
From: Joseph Mingrone @ 2013-05-14 15:20 UTC (permalink / raw)
  To: help-gnu-emacs

phe is the local host, gly is the remote host.

From inside a term buffer: 

jrm@phe ~ % ssh -f gly 'env | grep -i display; emacsclient -nc'
0;jrm@phe|~DISPLAY=localhost:10.0
emacsclient: can't find socket; have you started the server?
...
Starting Emacs daemon.

So far so good.  The new frame from gly opens.

From inside a term buffer in the new frame from gly:
jrm@gly ~ % xcalc
Error: Can't open display: localhost:10.0

------

This is isolated to emacs because I can open a remote terminal and X11
forwarding works.
jrm@phe ~ % ssh -f gly 'env | grep -i display; xterm'
0;jrm@phe|~DISPLAY=localhost:10.0

jrm@gly ~ % xcalc # xcalc opens

If I open a local terminal, ssh to gly, then start an emacsclient
everything works fine.  Is there a way to avoid having a local terminal
open for each remote emacs frame and have X11 forwarding work?

Joseph




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-05-19  8:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.25746.1368546463.855.help-gnu-emacs@gnu.org>
2013-05-19  8:38 ` problems with X11 forwarding inside frame J G Miller
2013-05-14 15:20 Joseph Mingrone
2013-05-14 16:30 ` Bob Proulx
2013-05-14 18:21   ` Joseph Mingrone
2013-05-14 19:52     ` Joseph Mingrone
2013-05-16  5:17       ` W. Greenhouse
2013-05-19  1:46         ` Joseph Mingrone
2013-05-17 23:31     ` Bob Proulx

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 read-only IMAP folder(s) and NNTP newsgroup(s).