This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SocketCreateListner() failed


Thank you, Sir!
After some hit and trial, I could start an X-server on my laptop.

Two problems, ... first I had accidently blocked access to "xconsole" 
and secondly XWin did not have access. I changed both these to full
access.
Now, /cygwin/usr/X../bin/startxwin.bat works :)
On a desktop Windows2000 machine, I would start cygwin bash shell and
then type startx 
to start the X-server ... that still does not work on my laptop, but it
doesnt matter 
since starting X-server directly is a better option anyway.

Also, I gather Cygwin/X controls the windows thru TCP sockets. Ah well,
learn something new ... 

Thanks again
Sandeep



Alexander Gottwald wrote:
> 
> On Tue, 23 Nov 2004, Sandeep & Prerna Gupta wrote:
> 
> >
> > Hello,
> >
> > I have not explicitly installed any firewall,
> > This is a brand new Dell Laptop, they may have installed something by
> > default,
> > I will check into that --
> >
> > BTW, Cygwin bash shell comes up OK, (just that without X, I cant use
> > many of my utils)
> > are there commands or small executables that I could run in bash to get
> > more
> > insight into this? I mean say sufficient code that invokes
> > SocketCreateListner(), which
> > I could compile debugable with gnu C++ and step thru in gdb. (For
> > example, gdb works in bash,
> > ddd doesnt without X). That could help a lot if feasible.
> 
> Is it XP SP2? If Cygwin/X is started on XP SP2 windows asks if it should
> allow access to the network. If it does not for you then the builtin
> firewall will most likely deny the access.
> 
> You should allow XWin to access port 6000 in the security preferences
> screen.
> 
> bye
>         ago
> --
>  Alexander.Gottwald@s1999.tu-chemnitz.de
>  http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]