Take the 2-minute tour ×

I am able to run emacs as server daemon and attach back to it on Linux.

Is it possible to start emacs as daemon on Linux, but attach back to it from Windows with a different client?

Emacs or xemacs, both are okay.

to be precise, I want to start a emacsclient windows client to connect to linux emacs server. so putty or exceed or screen is not precisely what I want to do.

is it possible.

share|improve this question

2 Answers 2

Start emacs within screen and (re-)connect via ssh (putty) and screen -x?

share|improve this answer


Verbatim from the emacs wiki:
Running emacs like a Daemon
This a new feature that is included in emacs-23.1.

Simple setup



in your .bashrc, or


in your .cshrc depending on your default shell.

After that using emacsclient (or emacsclient -t) will automatically start an Emacs in daemon mode and connect to it if one is not found running.

It has been thoroughly documented with specific instructions for numerous linux distributions in an easy to follow and understand way on the wiki, which is also the authoritative resource: http://www.emacswiki.org/emacs/EmacsAsDaemon

share|improve this answer

Your Answer


