public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: abhi.bs@gmail.com
Subject: Re: Xserver isn't working
Date: Fri, 18 Sep 2009 13:54:00 -0000	[thread overview]
Message-ID: <4AB39125.2010901@dronecode.org.uk> (raw)
In-Reply-To: <78ce5e8e0909171126n8095409vbd7529f646ca1327@mail.gmail.com>

On 17/09/2009 19:26, abhishek B S wrote:
> Hi,
>
> I installed cygwin on my laptop which has 64 bit vista home premium,
> but when i type the command xstart in the bash shell of cygwin it says
> a fatal error has occured and cygwin/x will now exit.In the bash shel
> it says waiting for  X server to begn accepting connections a ten it
> gives an error mesg saying givin up.
> Xinit:no such file or directory<errno 2>  : Unbleo connect to Xserver.
> Xinit:No such process<errno 3>:server 3
>
> How can i fix this problem?
> I have attached the log file of the error.

Reading the log file might also be a good idea :-)

> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: server already running
>
> Fatal server error:
> Cannot establish any listening sockets - Make sure an X server isn't already running

The server can't start, either because it's not being allowed to bind to port 
6000, or because something else already has.

This has been asked a few times before and should probably be a FAQ but no one 
seems to have come up with the definitive answer...

Try something like 'netstat -a -b -n | grep -A2 ":6000"' which should identify 
any process which is already bound to the socket which the X server wants to use.

Alternatively, you need to check your firewall settings to see if the X server 
process is not being allowed to bind to the socket.  It's been suggested that 
running the X server as administrator might also help...



http://sourceware.org/ml/cygwin-xfree/2009-08/msg00036.html
http://sourceware.org/ml/cygwin-xfree/2009-05/msg00008.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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


      reply	other threads:[~2009-09-18 13:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17 18:27 abhishek B S
2009-09-18 13:54 ` Jon TURNEY [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AB39125.2010901@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=abhi.bs@gmail.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).