|
我在本地起的emacs,然后用ssh连到一服务器上,发现在emacs里打开文件时,不能打开服务器上的,而只能看到本机的文件和目录,我该怎样设置呢或操作呢?
而且我试过先在本地执行xhost +,再telnet到服务器上,再打开emacs,发现出错,我的本机和服务器上.emacs均已设置好。
error log:
-bash-3.00$ emacs &
[1] 31181
-bash-3.00$ _X11TransSocketINETConnect() can't get address for echo-desktop:6000: Name or service not known
emacs: Cannot connect to X server echo-desktop:0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
我本机装的ubuntu7.0的系统。 |
|