Unfortunately, I forgot to start the emacs-server at work, running on Linux. Is there now any option to connect to my remote graphical X11 emacs session via ssh?
All these programs allow you to list windows, select one, and simulate typing on them.
Another approach would be to run x11vnc on the remote machine and connect to it with a local vnc viewer. The referenced manual page tells you how to forward needed ports using ssh.
Not answering the direct question, but I suggest the following in your init file to prevent this from happening in future.
;; Start server (but don't restart). (require 'server) (unless (server-running-p) (server-start))
Alternatively (but still not helpful for your present situation), under the FUBAR: Impossible to connect heading on the "Emacs As Daemon" EmacsWiki page, there's an ingenious approach to enabling a server start to be triggered with a process signal.
If you have
ssh access to the respective server at work you can start the emacs server at work using the command (with the respective username and server host name):
$ ssh -X firstname.lastname@example.org emacs --daemon
EDIT: If your emacs is already started on the server than just kill it and add automatic server start in your .emacs:
$ ssh email@example.com killall emacs $ ssh firstname.lastname@example.org sh -c "echo '(server-start)' >> ~/.emacs"
Now you can start emacs in daemon mode as described on the first command. The added server-start command would enable the server on the opened emacs session.