发新话题
打印

X11在远程服务器启动emacs时出现的问题

X11在远程服务器启动emacs时出现的问题

在服务器上启动emacs, 出现下面的提示:
emacs: Cannot connect to X server 202.122.35.64: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.

.cshrc文件中已经加入xhost +这句话了. 用terminal能够出现access control disabled, clients can connect from any host.
请问, 应该更改什么文件里的环境变量?(本人一直是inittab:5 default)

I use EMACS and PAW in my computer well. but when i use them in the remote proxy, they return some errors, like the followings:
emacs: Cannot connect to X server 202.122.35.64: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.

paw:
Workstation type (?=HELP) <CR>=1 :
Version 1.23/07 of HIGZ started
***** ERROR in IOPWK : Can't open DISPLAY
***** ERROR in IACWK : Workstation is not open
***** ERROR in ISWKWN : Invalid workstation window parameters
***** ERROR in ISWKVP : Invalid workstation window parameters

为什么can't open DISPLAY?
$echo $DISPLAY
返回正确的IP啊.

本文由lylvte 发布于Linuxsky 论坛,网址:http://bbs.linuxsky.org/thread-523-1-1.html

TOP

搞掂了……!在gdmsetup安全选项里,加上允许TCP连接到远程服务器。

TOP

发新话题