简体   繁体   English

在远程服务器上以图形模式运行emacs

[英]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). 基本上我在远程服务器(我的学校)上使用emacs但是当我从linux登录并键入emacs ,我得到了一个文本模式(终端模式)。 Is there a way to launch emacs in graphics mode from remote server? 有没有办法从远程服务器以图形模式启动emacs?

You can use SSH X11 forwarding to display the window locally but have it run on a remote machine. 您可以使用SSH X11转发本地显示窗口但让它在远程计算机上运行。

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. 有很多可用的教程,配置虽然通常并不复杂,但根据您的操作系统等因而有所不同,因此我建议您只使用Google“ssh x11 forwarding”这一短语来了解有关设置的更多信息。

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. SSH X11转发使用您的计算机和您要连接的服务器之间的ssh连接,以便隧道通信协议图形程序使用。 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. 这通常意味着为了连接到服务器,而不是运行ssh <servername>您运行ssh -X <servername> ,如果您的服务器配置正确,您可以直接运行emacs或任何其他图形程序,并且让它显示在您的本地计算机上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM