Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running emacs in graphics mode on remote server

Basically I am using emacs on remote server (my school) but when I logged in to from linux and typed emacs, I got a text mode (terminal mode). Is there a way to launch emacs in graphics mode from remote server?

like image 296
Mark Avatar asked Jan 24 '12 22:01

Mark


1 Answers

You can use SSH X11 forwarding to display the window locally but have it run on a remote machine.

There are many tutorials available and the configuration, while often not complicated, varies based on your operating system and such, and so I would recommend you simply Google the phrase "ssh x11 forwarding" to learn more about setting it up.

SSH X11 forwarding uses the ssh connection between your computer and the server you're connecting to, in order to tunnel the communication protocol graphic programs use. This usually means that in order to connect to the server, instead of running ssh <servername> you run ssh -X <servername>, and if your server is configured properly, you can then simply run remotely emacs or any other graphical program, and have it display on your local machine.

like image 92
drrlvn Avatar answered Sep 26 '22 05:09

drrlvn