Discussion:
Problem starting XWin Server
Jan Chludzinski
2011-07-12 08:10:40 UTC
Permalink
I just did a complete installation of X11 from Cygwin 1.7 setup.exe.
But when I try to start the "XWin Server" using the "Start" menu
nothing happens.  If I try either "startxwin" or "startx" or "xinit"
from the BASH shell I get:

giving up.
startxwin:  No such file or directory (errno 2):  unable to connect to X server
startxwin:  No such process (errno 3):  Server error.

Any suggestions?

---John
Jon TURNEY
2011-07-13 12:21:14 UTC
Permalink
Post by Jan Chludzinski
I just did a complete installation of X11 from Cygwin 1.7 setup.exe.
But when I try to start the "XWin Server" using the "Start" menu
nothing happens. If I try either "startxwin" or "startx" or "xinit"
giving up.
startxwin: No such file or directory (errno 2): unable to connect to X server
startxwin: No such process (errno 3): Server error.
Any suggestions?
Looking at the XWin.0.log you attached, it looks like the X server is starting
up successfully.

If clients are unable to connect, this might be due to firewall configuration
or other software which interferes with cygwin sockets (see [1] in the
Cygwin/X FAQ for some suggestions)

[1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cannot-open-display
--
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/
Jan Chludzinski
2011-07-14 09:29:49 UTC
Permalink
First, THANKS!

$ startxwin
giving up.
startxwin: No such file or directory (errno 2): unable to
connect to X server
startxwin: No such process (errno 3): Server error.

The server is never started - no process in the Windows "Resource
Monitor". When I try to start xedit (or whatever X based app) nothing
happens, nothing appears.

As for FAQ, I'm afraid I don't see anything that might help. I looked
before I posted the original e-mail.

---John
Post by Jon TURNEY
Post by Jan Chludzinski
I just did a complete installation of X11 from Cygwin 1.7 setup.exe.
But when I try to start the "XWin Server" using the "Start" menu
nothing happens.  If I try either "startxwin" or "startx" or "xinit"
giving up.
startxwin:  No such file or directory (errno 2):  unable to connect to X server
startxwin:  No such process (errno 3):  Server error.
Any suggestions?
Looking at the XWin.0.log you attached, it looks like the X server is starting
up successfully.
If clients are unable to connect, this might be due to firewall configuration
or other software which interferes with cygwin sockets (see [1] in the
Cygwin/X FAQ for some suggestions)
[1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cannot-open-display
--
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/
Jon TURNEY
2011-07-19 15:31:25 UTC
Permalink
Post by Jan Chludzinski
First, THANKS!
$ startxwin
giving up.
startxwin: No such file or directory (errno 2): unable to connect to X server
startxwin: No such process (errno 3): Server error.
Sorry, I hadn't quite grasped that is the whole of the output.

For obscure technical reasons, the output of XWin doesn't appear in a cmd.exe
terminal if cygwin wasn't started with CYGWIN=tty.

Can I suggest you install mintty, and try running startxwin from that, which
should produce some more informative output.

It looks like Cygwin/X FAQ 2.4 could do with some improvement :-)
Post by Jan Chludzinski
The server is never started - no process in the Windows "Resource
Monitor". When I try to start xedit (or whatever X based app) nothing
happens, nothing appears.
As for FAQ, I'm afraid I don't see anything that might help. I looked
before I posted the original e-mail.
---John
Post by Jon TURNEY
Post by Jan Chludzinski
I just did a complete installation of X11 from Cygwin 1.7 setup.exe.
But when I try to start the "XWin Server" using the "Start" menu
nothing happens. If I try either "startxwin" or "startx" or "xinit"
giving up.
startxwin: No such file or directory (errno 2): unable to connect to X server
startxwin: No such process (errno 3): Server error.
Any suggestions?
Looking at the XWin.0.log you attached, it looks like the X server is starting
up successfully.
If clients are unable to connect, this might be due to firewall configuration
or other software which interferes with cygwin sockets (see [1] in the
Cygwin/X FAQ for some suggestions)
[1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cannot-open-display
--
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/
Jan Chludzinski
2011-07-30 06:10:36 UTC
Permalink
From within a mintty shell, I get:

$ startxwin

giving up.
startxwin: No such file or directory (errno 2): unable to connect to X server
startxwin: No such process (errno 3): Server error.

---Jan

On Tue, Jul 19, 2011 at 11:31 AM, Jon TURNEY
Post by Jon TURNEY
Post by Jan Chludzinski
First, THANKS!
    $ startxwin
    giving up.
    startxwin:  No such file or directory (errno 2):  unable to
connect to X server
    startxwin:  No such process (errno 3):  Server error.
Sorry, I hadn't quite grasped that is the whole of the output.
For obscure technical reasons, the output of XWin doesn't appear in a cmd.exe
terminal if cygwin wasn't started with CYGWIN=tty.
Can I suggest you install mintty, and try running startxwin from that, which
should produce some more informative output.
It looks like Cygwin/X FAQ 2.4 could do with some improvement :-)
Post by Jan Chludzinski
The server is never started - no process in the Windows "Resource
Monitor".  When I try to start xedit (or whatever X based app) nothing
happens, nothing appears.
As for FAQ, I'm afraid I don't see anything that might help.  I looked
before I posted the original e-mail.
---John
Post by Jon TURNEY
Post by Jan Chludzinski
I just did a complete installation of X11 from Cygwin 1.7 setup.exe.
But when I try to start the "XWin Server" using the "Start" menu
nothing happens.  If I try either "startxwin" or "startx" or "xinit"
giving up.
startxwin:  No such file or directory (errno 2):  unable to connect to X server
startxwin:  No such process (errno 3):  Server error.
Any suggestions?
Looking at the XWin.0.log you attached, it looks like the X server is starting
up successfully.
If clients are unable to connect, this might be due to firewall configuration
or other software which interferes with cygwin sockets (see [1] in the
Cygwin/X FAQ for some suggestions)
[1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cannot-open-display
--
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/
Jon TURNEY
2011-08-08 16:43:17 UTC
Permalink
Post by Jan Chludzinski
$ startxwin
giving up.
startxwin: No such file or directory (errno 2): unable to connect to X server
startxwin: No such process (errno 3): Server error.
That's odd. I can't really understand how that can happen. I'd suspect that
startxwin is failing to fork/exec Xwin successfully, possibly due to an
application causing cygwin difficulties [1] (Unfortunately, 64-bit Windows
itself seems to sometimes cause similar problems)

Are you able to start the server directly by running 'XWin'?

[1] http://cygwin.com/faq-nochunks.html#faq.using.bloda
--
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/
D Jackson
2011-08-22 17:25:09 UTC
Permalink
Post by Jon TURNEY
Post by Jan Chludzinski
$ startxwin
giving up.
startxwin: No such file or directory (errno 2): unable to connect to X server
startxwin: No such process (errno 3): Server error.
That's odd. I can't really understand how that can happen. I'd suspect that
startxwin is failing to fork/exec Xwin successfully, possibly due to an
application causing cygwin difficulties [1] (Unfortunately, 64-bit Windows
itself seems to sometimes cause similar problems)
Are you able to start the server directly by running 'XWin'?
[1] http://cygwin.com/faq-nochunks.html#faq.using.bloda
I have same issue. I have reinstalled Cygwin 5 times. Each time I can start
XWin fine UNTIL I rebaseall or perlrebase or until I uninstall+reinstall
perl/Tk. The .log file is from the first couple times it sucessfully came up
(prior to the rebase and the errors) and nothing is written to any logfiles or
even STDERR/STDOUT except for the:
$ xinit
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.

or
$ startxwin
giving up.
startxwin: No such file or directory (errno 2): unable to connect to X server
startxwin: No such process (errno 3): Server error.

I have added the env variable CYGWIN=tty but still nothing more informative is
written to any files or terminal.

My hardware is a HP EliteBook sitting on MS XP Pro version 2002 SP3. I have
altered the rebaseall script to actually complete, as it is failing on the
64bit dlls. ( added filter to sed to not include the specific dlls from list
creation ) I have tried this both ways in 'stock' form from repository and
altered to complete.

This is 100% reproducible. I can reproduce this every time even with fully
fresh installs of cygwin.

My goal is to get a version of Cyg X running that I can run cssh and have a
full menubar ( this is why the initial rebase and then the subsequent
reinstalls and the mucking about with the Perl/Tk stuff )

Thanks for any information in advance,

DJ


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

Loading...