由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - can't open display in cygwin
相关主题
Cygwin一问How to list all color names?
Cygwin / XFree86 doesn't work请教CRON DEAMON
cygwin xterm不能copy/paste怎么办?telnet problem in cygwin xterm window
question in "cygwin/xfree86" under WIN-Xcygwin里面用什么命令远程操作图形程序
一个 x terminal 设置的问题About install cxterm on HP-Unix system. Help
xhost problem....anyone used C in plotting in Linux or Unix?
关于X 窗口的问题 ( setenv DISPLAY ... )unix c plotting?
why ld does not look at /etc/ld.so.confany difference between cshell and xterm in Unix?
相关话题的讨论汇总
话题: display话题: cygwin话题: open话题: myip话题: unix
进入Unix版参与讨论
1 (共1页)
w*y
发帖数: 74
1
Thanks suan for solve my last problem.
Now,I can telnet to UNIX server with cygwin. But I got another problem.
Here is my operation:
1.ipconfig
(get my ip address)
2.telnet UNIXServerName
3.bash
4.export DISPLAY=myIP:0.0
5.echo $DISPLAY
(echo myIP:0.0,it is right)
6.a.out (it is an file under my UNIX current directory and need to open x
window. It runs great on UNIX workstation,but I want to do the project at
home)
the response is:
GLUT:Fatat error in a.out:can not open display:myIP:0.0
Did I do
a*******x
发帖数: 47
2
Try run
$ xhost +UNIXServername
on your local cyswin shell.

【在 w*y 的大作中提到】
: Thanks suan for solve my last problem.
: Now,I can telnet to UNIX server with cygwin. But I got another problem.
: Here is my operation:
: 1.ipconfig
: (get my ip address)
: 2.telnet UNIXServerName
: 3.bash
: 4.export DISPLAY=myIP:0.0
: 5.echo $DISPLAY
: (echo myIP:0.0,it is right)

s**n
发帖数: 449
3
or you can use ssh. telnet sucks anyway.
just do:
ssh -X UNIXServerName
then you don't even need to set DISPLAY.

【在 a*******x 的大作中提到】
: Try run
: $ xhost +UNIXServername
: on your local cyswin shell.

w*y
发帖数: 74
4
I tried, it said:
unable to open display:"IPaddress:0.0"
I typed xterm,it also said:
xterm Xt error:can't open display:IPaddress:0.0
I think there must be sth I forgot to set up,but what's it? Thanks for the
help.

【在 a*******x 的大作中提到】
: Try run
: $ xhost +UNIXServername
: on your local cyswin shell.

w*y
发帖数: 74
5
I typed ssh -l userName -x UNIXServerName
after login, I tried the a.out file and got the same result. Jesus!
I noticed that,when I login,there was a line of words at the end of
anouncement:
type cygwin unkown
what's that mean? Is that all right?

【在 s**n 的大作中提到】
: or you can use ssh. telnet sucks anyway.
: just do:
: ssh -X UNIXServerName
: then you don't even need to set DISPLAY.

s**n
发帖数: 449
6
faint. -X not -x.
kick u!
-x Disables X11 forwarding.
-X Enables X11 forwarding.

【在 w*y 的大作中提到】
: I typed ssh -l userName -x UNIXServerName
: after login, I tried the a.out file and got the same result. Jesus!
: I noticed that,when I login,there was a line of words at the end of
: anouncement:
: type cygwin unkown
: what's that mean? Is that all right?

1 (共1页)
进入Unix版参与讨论
相关主题
any difference between cshell and xterm in Unix?一个 x terminal 设置的问题
Shell Programming一问?xhost problem....
cygwin关于X 窗口的问题 ( setenv DISPLAY ... )
Set DISPLAY for xtermwhy ld does not look at /etc/ld.so.conf
Cygwin一问How to list all color names?
Cygwin / XFree86 doesn't work请教CRON DEAMON
cygwin xterm不能copy/paste怎么办?telnet problem in cygwin xterm window
question in "cygwin/xfree86" under WIN-Xcygwin里面用什么命令远程操作图形程序
相关话题的讨论汇总
话题: display话题: cygwin话题: open话题: myip话题: unix