Reputation: 5147
Is it possible to run emacs in server mode so remote clients can connect from remote locations via network? I'm just looking for the way to run emacs on remote powerful server and edit buffers locally using emacsclient while running compile
command remotelly. This looks much better approach then using ssh
session. Should not depend on network latency.
Upvotes: 1
Views: 757
Reputation: 5147
I think the best approach is: http://www.emacswiki.org/emacs/TrampMode
Upvotes: 1
Reputation: 570
Basing on my comment above I'd recommend the following workflow:
scp
or git
, whatever)To compile the code on remote server specify a custom compile-command
which will:
scp -r my-sources/ [email protected]:my-sources
or via git push remote my-dev-branch
ssh [email protected] -C "cd ~/my-sourcesl; make && ./bin/compiled-app"
note:
for smooth commands execution through ssh, there is should a configured key-based authentication.
The significant drawback here is that at least it might not run X11 applications correctly (or at all)
Upvotes: 0