3 ms·
I haven't tried this myself but would it be possible with ssh port forwarding? Here is someone who seems to have done it: https://mina86.com/2021/emacs-remote/
by nequo 4y ago
I haven't tried this myself but would it be possible with ssh port forwarding? Here is someone who seems to have done it:
https://mina86.com/2021/emacs-remote/ https://mina86.com/2021/emacs-remote/
- dan-robertson 4y agoI think the protocol between emacsclient and the server basically just allows for instructing the server which file to open and passing around things like which X display to open an x window on. I’m not sure how it works for the terminal interface (does it pass the fd over a Unix display socket or have Emacs send bytes over the protocol to the emacsclient?) I once tried to set up some hacked bash script instead of ssh which would set up environment variables and forward the Emacs daemon socket over ssh so that if I remotely attempted to edit a file, my local Emacs would open that remote file over tramp. But the whole thing was kinda nasty. I do want a ‘thicker’ emacsclient though but mostly because of the end of X windows as I currently use Emacs remotely with X forwarding over ssh.