Re: ERROR: Cannot open X display
<http://cygwin.com/acronyms/#TOFU>. Reformatted. Luis G. Rivera wrote: Original message Date: Tue, 31 Oct 2006 15:02:18 -0600 From: René Berber computer org> Subject: Re: ERROR: Cannot open X display To: cygwin-xfree cygwin com <http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks. Luis G. Rivera wrote: 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. [snip] 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 [EMAIL PROTECTED] 3. I type my password and get in with no problem. Then I type: setenv DISPLAY myipaddress:0.0. This is wrong, if you used "ssh -X" then DISPLAY is already set (by ssh) and it has a different value, usually localhost:10.0 for the first connection. The idea is that ssh will tunnel the X connection through itself (thus localhost) and it uses a configurable display number (the 10.0). The reason it works from some computers and not from others is that even if the X server exists at myipaddress:0.0 it could be blocked by any firewall between computers; the ssh tunnel is the way to avoid being blocked. > Thank you for your response. Now, the question is what are the exact > steps (if there are any) to actually get this to work? Try skipping the "setenv DISPLAY myipaddress:0.0" step. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: ERROR: Cannot open X display
Thank you for your response. Now, the question is what are the exact steps (if there are any) to actually get this to work? Luis G. Rivera Senior Tech Support Specialist Computer Services Help Desk Original message >Date: Tue, 31 Oct 2006 15:02:18 -0600 >From: René Berber <[EMAIL PROTECTED]> >Subject: Re: ERROR: Cannot open X display >To: cygwin-xfree@cygwin.com > >Luis G. Rivera wrote: > >> 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. >[snip] >> >> 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 >> [EMAIL PROTECTED] >> 3. I type my password and get in with no problem. Then I >> type: setenv DISPLAY myipaddress:0.0. > >This is wrong, if you used "ssh -X" then DISPLAY is already set (by ssh) and it >has a different value, usually localhost:10.0 for the first connection. > >The idea is that ssh will tunnel the X connection through itself (thus >localhost) and it uses a configurable display number (the 10.0). > >The reason it works from some computers and not from others is that even if the >X server exists at myipaddress:0.0 it could be blocked by any firewall between >computers; the ssh tunnel is the way to avoid being blocked. > >[snip] >-- >René Berber > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Problem reports: http://cygwin.com/problems.html >Documentation: http://x.cygwin.com/docs/ >FAQ: http://x.cygwin.com/docs/faq/ >
Re: ERROR: Cannot open X display
Luis G. Rivera wrote: > 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. [snip] > > 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 > [EMAIL PROTECTED] > 3.I type my password and get in with no problem. Then I > type: setenv DISPLAY myipaddress:0.0. This is wrong, if you used "ssh -X" then DISPLAY is already set (by ssh) and it has a different value, usually localhost:10.0 for the first connection. The idea is that ssh will tunnel the X connection through itself (thus localhost) and it uses a configurable display number (the 10.0). The reason it works from some computers and not from others is that even if the X server exists at myipaddress:0.0 it could be blocked by any firewall between computers; the ssh tunnel is the way to avoid being blocked. [snip] -- René Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
ERROR: Cannot open X display
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 [EMAIL PROTECTED] 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 Luis G. Rivera Senior Tech Support Specialist Computer Services Help Desk