At this point I believe I am using the emacs version on my Mac that is built by Homebrew and the "stock" emacs on Ubuntu 18.04.
I set up emacs server on the Ubuntu host as it is described in Starting Emacs Daemon with systemd and connect to it using emacsclient as described. This all works fine.
I also use emacs on my Mac with tramp to access the file systems on the Ubuntu host. And this works fine too. Even
magit works which is rather spectacular.
The main reason for the emacs in daemon mode on the Ubuntu host is to replace
tmux so if the connection drops, the shell process continues and I can later view the
Is there a way for me to view and interact with the
*shell* buffer from the emacs on my Mac?
The ultimate goal here is to have just one emacs on my Mac and the ability to start and run commands on the remote Ubuntu system in such a way that if the connection drops, the remote commands continue to run and I can later connect and view the output like
screen, or emacs in daemon mode can do.