Cygwin/x: Cannot open X Display

Luis G. Rivera Luis.G.Rivera@temple.edu
Mon Oct 23 19:59:00 GMT 2006


I have used Cygwin/X on two computer in my office and it works
with no problems.  There are several users who cannot use the
softwared.  One in particular gets the following error messages:

ERROR: Cannot open X display.  Check display name/server
access authorization.
ERROR: Explorer failed to initialize.
ERROR: Cannot open X display.  Check display name/server
access authorization.
ERROR: Cannot open X display.  Check display name/server
access authorization.
ERROR: Explorer failed to initialize.

This is the steps that I use in my office to run Cygwin/X:

1.	Execute “startxwin.bat”.
2.	On the window that opens I type: xhost +
hostname.temple.edu.  Then I type: ssh –X
userid@hostname.temple.edu.  
3.	I type my password and get in with no problem.  Then I
type: setenv DISPLAY myipaddress:0.0.
4.	After that I execute SAS by typing SAS&.  Then SAS starts.

In the computers in my office it works fine.  In other
computers the above message is displayed after I type SAS&.  I
have verified the IP address.

Specs:

•	OS: Windows XP Professional.
•	Cygwin/X was installed from the setup.exe file located at:
http://x.cygwin.com/.
•	The system I login to is a UNIX system.
•	User is an administrator.

Any suggestions?

Luis G. Rivera
Senior Tech Support Specialist   
Computer Services Help Desk


More information about the Cygwin-xfree mailing list