I'm trying open a remote emacsclient with X forwarding without requiring a local terminal sshed to the remote host. When I say 'with X forwarding' I mean that I open a terminal inside the remote emacs and from there can open X programs.
If phe is the local host and gly is the remote host and I do jrm@phe ~ % ssh -f gly 'emacsclient -nc' the remote emacs opens and all is good. However, from within that emacs X forward doesn't work. I get an error about the DISPLAY even though the environment is correct. A little investigation hints that the problem is with the magic cookie exchange. If I then open a local terminal and ssh to the remote host the X forwarding inside the already-open remote emacsclient starts working. I can also open a terminal ssh to the remote host then start an emacsclient. Both of these solutions require a separate terminal open to the remote host. Is there a way to get this working without the extra terminal sshed to the remote host? Joseph _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com