Re: Problem starting XWin Server

2011-08-22 Thread D Jackson
Jon TURNEY  dronecode.org.uk> writes:

> 
> On 30/07/2011 07:10, Jan Chludzinski wrote:
> >  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.
> 
> 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/



Re: Problem starting XWin Server

2011-08-08 Thread Jon TURNEY

On 30/07/2011 07:10, Jan Chludzinski wrote:

 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.


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/



Re: Problem starting XWin Server

2011-07-29 Thread Jan Chludzinski
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
 wrote:
> On 14/07/2011 10:29, Jan Chludzinski wrote:
>> 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 :-)
>
>> 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
>>
>> On Wed, Jul 13, 2011 at 8:21 AM, Jon TURNEY  
>> wrote:
>>> On 12/07/2011 09:10, Jan Chludzinski wrote:
 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?
>>>
>>> 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/



Re: Problem starting XWin Server

2011-07-19 Thread Jon TURNEY
On 14/07/2011 10:29, Jan Chludzinski wrote:
> 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 :-)

> 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
> 
> On Wed, Jul 13, 2011 at 8:21 AM, Jon TURNEY  
> wrote:
>> On 12/07/2011 09:10, Jan Chludzinski wrote:
>>> 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?
>>
>> 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/



Re: Problem starting XWin Server

2011-07-14 Thread 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.

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

On Wed, Jul 13, 2011 at 8:21 AM, Jon TURNEY  wrote:
> On 12/07/2011 09:10, Jan Chludzinski wrote:
>> 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?
>
> 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/



Re: Problem starting XWin Server

2011-07-13 Thread Jon TURNEY
On 12/07/2011 09:10, Jan Chludzinski wrote:
> 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?

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/