This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
cannot open xterm
- From: Modha Kumar <modhak at yahoo dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 1 Jul 2003 17:40:51 -0700 (PDT)
- Subject: cannot open xterm
- Reply-to: cygwin-xfree at cygwin dot com
Hi
I installed cygwin-xfree and put desktop icons.
I want to be able to install sunone appserver on
solaris machine. I want to get display of the
installer etc... ( I am not a unix person so please
bear with my description)
1.I click on the desktop icon i get username@hostname~
2.Now I telent to solaris box and connect as root.
3.set DISPLAY=hostname:0.0
4.export DISPLAY
5.I search for xterm and I find it in two places
./usr/openwin/bin/xterm
./usr/share/lib/terminfo/x/xterm
6. ./usr/share/lib/terminfo/x/xterm complained it
cannot execute.
I did a chmod +x on it
Went to the directory ./usr/share/lib/terminfo/x
and did a ./xterm
I get this "./xterm: syntax error at line 1:
`^Z^A$%!\212^A' unexpected"
7. Now I try ./usr/openwin/bin/xterm
went to the directory ./usr/openwin/bin/ and did
./xterm .
I get "./xterm Xt error: Can't open display:"
8. I read in
http://www.cygwin.com/ml/cygwin-xfree/2002-10/msg00052.html
about xhost
went to / and did ./usr/openwin/bin/xhost + hostname
came out with a message
./usr/openwin/bin/xhost: unable to open display ""
can anyone please tell me where I am going wrong.
Thanks
Modhak
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com