Emacs itself can run as a client and server. To start the server:
emacs --daemon
Then use `emacsclient` to connect to it. All `emacsclient` instances whether in terminals or GUI are using the same server and can access the same open files and buffers.Unfortunately it only works locally. I've tried to forward the emacs server socket over ssh to a remote client and it doesn't work.
could you see the reason it didn't work?