Re: X starting difficulties

2004-07-19 Thread Tomasz Rojek
 As long as those errors appear together with a ZoneAlarm installation I'm
going to
 blame ZoneAlarm to mess with the winsock layer and break things.
Luke, probably this will not satisfy you, but I really recommend using
almost any other personal firewall different than ZoneAlarm - I have no
problems with Kerio Personal Firewall, previously I used Tiny Personal
Firewall (both free of charge for personal use). I also have heard that
BlackIce is a good piece of software. Symantec software requires lots of
system resources :\
So Zonealarm is probably the worst thing to be installed as a personal
firewall, although it is still better than IP traffic filter build in
Windows XP.

-- 
Greetings

Tomasz Rojek





Re: X starting difficulties

2004-07-16 Thread Alexander Gottwald
On Fri, 16 Jul 2004 [EMAIL PROTECTED] wrote:

 I just sat down with a colleague here who has never previously been able
 to run X on his XP laptop.  I got it working, but *only* by doing this:
 
 /usr/X11R6/bin/X :0 -multiwindow  
 
 - nothing else that I could think of could start X.
 
 (The laptops here typically have ZoneAlarm installed, but I don't think
 it's implicated this time since I was able to get X to work, as above.)

As long as it comes the problems with communication between X11 components
(this applies to the interal windowmanager too) we have seen a lot of
problems with ZoneAlarm. 

 winClipboardProc - DISPLAY=127.0.0.1:0.0
 winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
 display.
 winClipboardProc - XOpenDisplay () returned and successfully opened the display.
 winClipboardProc - Call to select () failed: -1.  Bailing.

this is a network operation

 winDeinitMultiWindowWM - Noting shutdown in progress
 
 winMultiWindowWMIOErrorHandler!
 
 winInitMultiWindowWM - Caught IO Error.  Exiting.

results from a network operation.

As long as those errors appear together with a ZoneAlarm installation I'm going to
blame ZoneAlarm to mess with the winsock layer and break things.

 Also, we couldn't start any X applications from the Cygwin menu items
 via the Windows Start bar; apparently /usr/X11R6/bin isn't in the path,
 so none of the commands were found.

I'll check this.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


X starting difficulties

2004-07-15 Thread luke . kendall
I just sat down with a colleague here who has never previously been able
to run X on his XP laptop.  I got it working, but *only* by doing this:

/usr/X11R6/bin/X :0 -multiwindow  

- nothing else that I could think of could start X.

(The laptops here typically have ZoneAlarm installed, but I don't think
it's implicated this time since I was able to get X to work, as above.)

His initial problem was the Cannot find font: fixed error.  Once we
followed the faq workaround for that (re-install the fonts), we began
to make some progress.

I tried several ways to start X, which all failed:

From Cygwin bash shell:

startx

-- 
...
XWin was started with the following command line:

X :0 -multiwindow -clipboard
...
winClipboardProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - Call to select () failed: -1.  Bailing.
winClipboardProc - XDestroyWindow succeeded.

winClipboardIOErrorHandler!

I got the same problem using a local .bat script that does this:

rem The D: gets replaced by the real Cygwin drive during installation:
D:
chdir \cygwin\bin
bash --login -c PATH=$PATH:/usr/X11R6/bin; startx -- -multiwindow

Thinking it was a problem with the -clipboard option, I tried removing
it in the proper way, by creating a file ~/.xserverrc containing:

userserverrc=-multiwindow

That lead to worse problems (quite worrying, I think) -

...
XWin was started with the following command line:

/usr/X11R6/bin/X :0 -multiwindow
...
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the 
display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
display.
winDeinitMultiWindowWM - Noting shutdown in progress

winMultiWindowWMIOErrorHandler!

winInitMultiWindowWM - Caught IO Error.  Exiting.
winDeinitMultiWindowWM - Noting shutdown in progress

In contrast, here are pieces of the XWin.log when started via
/usr/X11R6/bin/X :0 -multiwindow  

XWin was started with the following command line:

/usr/X11R6/bin/X :0 -multiwindow
...
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the 
display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
display.

Here's a diff output of the log from the successful way () and an
unsuccessful attempt that had clipboard turned off ():

53a54,59
 winDeinitMultiWindowWM - Noting shutdown in progress
 
 winMultiWindowWMIOErrorHandler!
 
 winInitMultiWindowWM - Caught IO Error.  Exiting.
 winDeinitMultiWindowWM - Noting shutdown in progress

Here's a diff output of the log from the successful way () and an
unsuccessful attempt that had clipboard turned on ():


9c9
 /usr/X11R6/bin/X :0 -multiwindow 
---
 X :0 -multiwindow -clipboard 
39c39,40
 winMultiWindowXMsgProc - Calling pthread_mutex(--) winConfigKeyboard - Layout: 
0409 (0409) 
---
 (--) Setting autorepeat to delay=500, rate=31
 (--) winConfigKeyboard - Layout: 0409 (0409) 
51c52,53
 winProcEstablishConnection - Clipboard is not enabled, returning.
---
 winInitClipboard ()
 winProcEstablishConnection - winInitClipboard returned.
52a55,57
 winClipboardProc - Hello
 DetectUnicodeSupport - Windows NT/2000/XP
 winClipboardProc - DISPLAY=127.0.0.1:0.0
53a59,64
 winClipboardProc - XOpenDisplay () returned and successfully opened the display.
 winClipboardProc - Call to select () failed: -1.  Bailing.
 winClipboardProc - XDestroyWindow succeeded.
 
 winClipboardIOErrorHandler!
 

Also, we couldn't start any X applications from the Cygwin menu items
via the Windows Start bar; apparently /usr/X11R6/bin isn't in the path,
so none of the commands were found.

luke