Re: update cygwin and now X wont start!

2006-11-02 Thread Larry Hall (Cygwin X)

On 11/02/2006, Rafael Tapia wrote:
   Today I decided to update my cygwin (probably had not done it in about 3 
months) but now it just crashes on me when I try to start X.  I did check 
out mailing list archives and google but no dice.  I can't seem to get it 
to work again.


I am trying to run this on WinXP SP2,on an IBM ThinkPad.  Again I want to 
make it clear that it was working this morning.  I did not change any 
network/firewall settings.  I do have a firewall up but it was working fine 
before the update.


Here is the message I am getting:

--

[EMAIL PROTECTED] /tmp
$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

(WW) /tmp mounted int textmode
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't 
already run
ning 


What about this?

--
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/



Xlib: unexpected connection setup reply from server, type 46

2006-11-02 Thread Teus Benschop

Hi,

I am mailing the list with a problem that occurs when Cygwin/X is 
started while a certain other program is running. I searched the list 
archives to see if this was discussed before, but could not find a 
reference to it.


After "startx" is entered in the Cygwin terminal, the X Windows system 
begins to start. It gives this message:


winClipboardProc - Could not open display, try: , sleeping: 4
Xlib: unexpected connection setup reply from server, type 46

After 40 tries, it gives up with this message:
winClipboardProc - Failed opening the display, giving up

Cygwin/X finally times out and then starts, and the GUI Linux binary 
starts too, but when a clipboard operation in that binary is attempted, 
Cygwin says:


winProcSetSelectionOwner - Clipboard not yet started, aborting.

The "other program" is FieldWorks Language Explorer, freely available 
from http://www.sil.org/computing/FieldWorks/BTE-FW_downloads.htm. While 
this program runs, Cygwin/X gives the above messages. Vice versa, when 
Cygwin/X runs, the Language Explorer won't run but crashes on startup. 
If the Language Explorer is not running, Cygwin/X starts fine.


Is this a known problem?
Any workarounds?

Thanks,

Teus Benschop


--
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/



update cygwin and now X wont start!

2006-11-02 Thread Rafael Tapia

Hi Everyone,
   Today I decided to update my cygwin (probably had not done it in about 3 
months) but now it just crashes on me when I try to start X.  I did check 
out mailing list archives and google but no dice.  I can't seem to get it to 
work again.


I am trying to run this on WinXP SP2,on an IBM ThinkPad.  Again I want to 
make it clear that it was working this morning.  I did not change any 
network/firewall settings.  I do have a firewall up but it was working fine 
before the update.


Here is the message I am getting:

--

[EMAIL PROTECTED] /tmp
$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

(WW) /tmp mounted int textmode
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already 
run

ning
winDeinitMultiWindowWM - Noting shutdown in progress
XIO:  fatal IO error 104 (Connection reset by peer) on X server 
"localhost:0.0"

 after 0 requests (0 known processed) with 0 events remaining.

--
The /tmp/Xwin.log file:
[EMAIL PROTECTED] /tmp
$ cat XWin.log
(WW) /tmp mounted int textmode
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already 
run

ning
winDeinitMultiWindowWM - Noting shutdown in progress

--


Cywin was working perfectly fine before I updated this morning :-(

I have tried to updating the permissions on C:\cygwin\tmp but no dice.  I 
saw some mention(s) about this issue being related to a Window's firewall, 
so what's the work around?  Why would updating cywin cause it to get blocked 
now?


In any case, I do hope someone has some suggestions to get me up and running 
again.  Thank You.


Rafael

Email: [EMAIL PROTECTED]

_
All-in-one security and maintenance for your PC.  Get a free 90-day trial! 
http://clk.atdmt.com/MSN/go/msnnkwlo005002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail



--
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: Cygwin/X Authentication Config Issue

2006-11-02 Thread BZAG
BZAG  yahoo.com> writes:

Addendum:  The X Server works locally using a local X Client xterm session.  I
only have issues when it has to go out to the network.




--
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

2006-11-02 Thread Larry Hall (Cygwin X)

.  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



.  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

2006-11-02 Thread Luis G. Rivera
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/
>