X server fails to start on Vista

View: New views
8 Messages — Rating Filter:   Alert me  

X server fails to start on Vista

by Kim Goldov-2 :: Rate this Message:

| View Threaded | Show Only this Message

I downloaded Cygwin-X per the instructions in
http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html

When selecting "Cygwin-X -> XWin Server" in the start menu, X does not
start and I get the following /var/log/XWin.0.log ...

/usr/bin/XWin -multiwindow -clipboard -silent-dup-error

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running
winDeinitMultiWindowWM - Noting shutdown in progress


-- My Vista account is of type "Administrator".
-- Another post mentioned ownership of  "/tmp/.X11-unix/". This
directory does not exist on my system.
-- I've disabled my Windows Firewall

Is there a "verbose" mode I might start up with to get more information?

Thanks,
Kim

--
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: X server fails to start on Vista

by Larry Hall (Cygwin X) :: Rate this Message:

| View Threaded | Show Only this Message

Kim Goldov wrote:

> I downloaded Cygwin-X per the instructions in
> http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html
>
> When selecting "Cygwin-X -> XWin Server" in the start menu, X does not
> start and I get the following /var/log/XWin.0.log ...
>
> /usr/bin/XWin -multiwindow -clipboard -silent-dup-error
>
> ddxProcessArgument - Initializing default screens
> winInitializeDefaultScreens - w 1280 h 1024
> winInitializeDefaultScreens - Returning
> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: server already running
>
> Fatal server error:
> Cannot establish any listening sockets - Make sure an X server isn't
> already running
>

And you're sure there is no X-server running already?  Is there an icon
for it in the right corner of the task bar?

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 429-6305 - 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: X server fails to start on Vista

by Paul Loewenstein :: Rate this Message:

| View Threaded | Show Only this Message

And make sure the icon isn't hidden (I set Vista to always show the X
Windows icon).

Paul

Larry Hall (Cygwin X) wrote:

> Kim Goldov wrote:
>> I downloaded Cygwin-X per the instructions in
>> http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html
>>
>> When selecting "Cygwin-X -> XWin Server" in the start menu, X does not
>> start and I get the following /var/log/XWin.0.log ...
>>
>> /usr/bin/XWin -multiwindow -clipboard -silent-dup-error
>>
>> ddxProcessArgument - Initializing default screens
>> winInitializeDefaultScreens - w 1280 h 1024
>> winInitializeDefaultScreens - Returning
>> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
>> _XSERVTransMakeAllCOTSServerListeners: server already running
>>
>> Fatal server error:
>> Cannot establish any listening sockets - Make sure an X server isn't
>> already running
>>
>
> And you're sure there is no X-server running already?  Is there an icon
> for it in the right corner of the task bar?
>

--
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: X server fails to start on Vista

by Scott Fordin :: Rate this Message:

| View Threaded | Show Only this Message

Also be sure to start the X server with the "Run as Administrator"
option. Ditto for the Cygwin bash shell.

Scott

Paul Loewenstein wrote:

> And make sure the icon isn't hidden (I set Vista to always show the X
> Windows icon).
>
> Paul
>
> Larry Hall (Cygwin X) wrote:
>> Kim Goldov wrote:
>>> I downloaded Cygwin-X per the instructions in
>>> http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html
>>>
>>> When selecting "Cygwin-X -> XWin Server" in the start menu, X does not
>>> start and I get the following /var/log/XWin.0.log ...
>>>
>>> /usr/bin/XWin -multiwindow -clipboard -silent-dup-error
>>>
>>> ddxProcessArgument - Initializing default screens
>>> winInitializeDefaultScreens - w 1280 h 1024
>>> winInitializeDefaultScreens - Returning
>>> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
>>> _XSERVTransMakeAllCOTSServerListeners: server already running
>>>
>>> Fatal server error:
>>> Cannot establish any listening sockets - Make sure an X server isn't
>>> already running
>>>
>>
>> And you're sure there is no X-server running already?  Is there an icon
>> for it in the right corner of the task bar?
>>
>
> --
> 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/
>



--
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: X server fails to start on Vista

by Kim Goldov :: Rate this Message:

| View Threaded | Show Only this Message

"Run as Administrator" did not make a difference. The "X" icon does not appear hidden or otherwise, no terminal pops up (as it does on my XP machine), and no process shows in the task manager.

The bash shell works fine.

The /var/log/XWin.0.log file appears as noted earlier.

Kim


> Also be sure to start the X server with the "Run as Administrator"
> option. Ditto for the Cygwin bash shell.

> Scott

Paul Loewenstein wrote:
> And make sure the icon isn't hidden (I set Vista to always show the X
> Windows icon).
>
> Paul

>> Kim Goldov wrote:
>>> I downloaded Cygwin-X per the instructions in
>>> http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html
>>>
>>> When selecting "Cygwin-X -> XWin Server" in the start menu, X does not
>>> start and I get the following /var/log/XWin.0.log ...
>>>
>>> /usr/bin/XWin -multiwindow -clipboard -silent-dup-error
>>>
>>> ddxProcessArgument - Initializing default screens
>>> winInitializeDefaultScreens - w 1280 h 1024
>>> winInitializeDefaultScreens - Returning
>>> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
>>> _XSERVTransMakeAllCOTSServerListeners: server already running
>>>
>>> Fatal server error:
>>> Cannot establish any listening sockets - Make sure an X server isn't
>>> already running
>>>


Re: X server fails to start on Vista

by Jon TURNEY :: Rate this Message:

| View Threaded | Show Only this Message

Kim Goldov wrote:
> "Run as Administrator" did not make a difference. The "X" icon does not
> appear hidden or otherwise, no terminal pops up (as it does on my XP
> machine), and no process shows in the task manager.
>
> The bash shell works fine.
>
> The /var/log/XWin.0.log file appears as noted earlier.

You're not running a different X server as well, are you?

Check the output of "netstat -p" for lines of the form "TCP
<yourcomputername>:6000" ?

Does "/usr/bin/XWin :1 -multiwindow -clipboard -silent-dup-error" fail in the
same way?

> Kim
>
>
>> Also be sure to start the X server with the "Run as Administrator"
>> option. Ditto for the Cygwin bash shell.
>
>> Scott
>
> Paul Loewenstein wrote:
>> And make sure the icon isn't hidden (I set Vista to always show the X
>> Windows icon).
>>
>> Paul
>
>>> Kim Goldov wrote:
>>>> I downloaded Cygwin-X per the instructions in
>>>> http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html
>>>>
>>>> When selecting "Cygwin-X -> XWin Server" in the start menu, X does not
>>>> start and I get the following /var/log/XWin.0.log ...
>>>>
>>>> /usr/bin/XWin -multiwindow -clipboard -silent-dup-error
>>>>
>>>> ddxProcessArgument - Initializing default screens
>>>> winInitializeDefaultScreens - w 1280 h 1024
>>>> winInitializeDefaultScreens - Returning
>>>> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
>>>> _XSERVTransMakeAllCOTSServerListeners: server already running
>>>>
>>>> Fatal server error:
>>>> Cannot establish any listening sockets - Make sure an X server isn't
>>>> already running

--
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: X server fails to start on Vista

by Kim Goldov :: Rate this Message:

| View Threaded | Show Only this Message

It worked with /usr/bin/XWin :1

The "X" icon appeared and the "xterm" application worked as expected.

"netstat -p" showed nothing before or after XWin started. It also showed nothing with a live SSH connection started from my Cygwin bash shell.

After starting XWin with "XWin :1" the process appeared as expected in the Windows task manager.
Jon TURNEY wrote:
You're not running a different X server as well, are you?

Check the output of "netstat -p" for lines of the form "TCP
<yourcomputername>:6000" ?

Does "/usr/bin/XWin :1 -multiwindow -clipboard -silent-dup-error" fail in the
same way?

Re: X server fails to start on Vista

by Jon TURNEY :: Rate this Message:

| View Threaded | Show Only this Message

Kim Goldov wrote:
> It worked with /usr/bin/XWin :1
>
> The "X" icon appeared and the "xterm" application worked as expected.

This seems pretty strong evidence that the error message you reported is correct.

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server 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.

> "netstat -p" showed nothing before or after XWin started. It also showed
> nothing with a live SSH connection started from my Cygwin bash shell.

Sorry, I meant to type "netstat -b" not "netstat -p"

> After starting XWin with "XWin :1" the process appeared as expected in the
> Windows task manager.
>
> Jon TURNEY wrote:
>>
>> You're not running a different X server as well, are you?
>>
>> Check the output of "netstat -p" for lines of the form "TCP
>> <yourcomputername>:6000" ?
>>
>> Does "/usr/bin/XWin :1 -multiwindow -clipboard -silent-dup-error" fail in
>> the
>> same way?


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