X don't like Zonealarm 5
in fact I uninstalled it today, and X come back to full functionality
Re: X startup hangs
ZoneAlarm is known to change the behaviour of Windows TCP/IP stack and this seems to cause troubles with cygwin since cygwin must provide unix like semantics and has problems if something does not work it was expected. But I tried shutting down Zonealarm-- X still hangs. Do you think it ss really a ZoneAlarm problem? So it is not a problem with insufficient rights to access the network (in fact xkbcomp does not need any network access) but a problem with different/unexpected behaviour of windows subsystems. I doubt this can be solved without digging into the startup code of the cygwin library where it stopped Can you help me solving just the xkb problem (which is not related to network)? I appreciate very much to work with my keyboard. Now i'm using 'startx -- -kb -clipboard' without -multiwindow the X starts hanged. After killing cat.exe, X is ready and I can use it. my little goal is to remove that -kb to regain my keyboard!
Re: X startup hangs
Can you send me another strace of the above command? strace -o xinit.strace2 startx -- -kb -clipboard but startx is not a program... i will send you xinit -- /usr/X11R6/bin/Xwin.exe -kb -clipboard ok?
Re: X startup hangs
Just a reminiscence... To be present in archive ;-) all this problems starts 1 week ago when I upgraded from Zonalarm 4 to ZoneAlarm 5!!! With ZA4 Cygwin'sX works. with ZA5 no.
Re: X startup hangs
I've taken a look but can not find the start of cat.exe. Maybe this is from profile or login script. nope. I checked .bash_profile /etc/profile /etc/profile.d/*.sh startx nobody invoke cat...
Re: X startup hangs
newer test: startx -- -kb -clipboard = starts cat and I must kill him to go on xinit -- -kb -clipboard = X startup ok!
Re: X startup hangs
newer test: startx -- -kb -clipboard = starts cat and I must kill him to go on xinit -- -kb -clipboard = X startup ok! and so this is why in my straces there is no cat running: i straced xinit, because startx is not a program!
Re: X startup hangs
startx -- -kb -clipboard = starts cat and I must kill him to go on xinit -- -kb -clipboard = X startup ok! startx stops after winClipboardProc - Hello and before DetectUnicodeSupport - Windows NT/2000/XP looking at screen log, the only difference between the two is the cmd line: startx - /usr/X11R6/bin/X :0 -kb -clipboard xinit - X :0 -kb -clipboard
Re: X startup hangs
--- An important test: without -multiwindow, the X window appear. but she hangs sooner. in task manager, now cat.exe is running. (it gets 0% of CPU). if I kill cat.exe via task manager, an Xterm now appear in X window. X is ready now! What is doing cat with X? maybe this is from the xinitrc script. Do you have .xinitrc in your home directory? Hey it's true! I found that I don't have an .xinitrc in home dir do you still get the cat started when doing xinit /usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X11R6/bin/XWin -multiwindow -clipboard cat don't start. I get the same output as first tests (plain 'startx')
Re: X startup hangs
I have Zonealarm Security Suite I give all requested rights to X program when they asked them, that is: Bash.exe access Internet and Trusted xinit.exe access Internet and Trusted xterm.exe access Internet and Trusted Xwin.exe access Internet and Trusted and listen as server in Internet and Trusted (And i still think that they do not need all of this, in fact access to localhost (127.0.0.1) should be enough for X programs...) Can you show me these incrimined lines of log? I've looked over your strace log and found some minor differences to mine. And it stopped while doing some network operations. Do you have some kind of personal firewall or vpn software installed?
Re: X startup hangs
$ mount C:\Programmi\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type sys tem (binmode) C:\Programmi\cygwin\bin on /usr/bin type system (binmode) C:\Programmi\cygwin\lib on /usr/lib type system (binmode) C:\Programmi\cygwin on / type system (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) e: on /cygdrive/e type user (binmode,noumount) o: on /cygdrive/o type user (binmode,noumount)
Re: X startup hangs
still hangs... $ startx -- -kb -multiwindow -clipboard Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-10 Contact: [EMAIL PROTECTED] XWin was started with the following command line: /usr/X11R6/bin/X :0 -kb -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 734 depth: 16 winFinishScreenInitFB - Masks: f800 07e0 001f winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0410 (0410) (--) Using preset keyboard for Italian (410), type 4 (++) XkbExtension disabled Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 512 367 winInitMultiWindowWM - pthread_mutex_lock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. 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 --- An important test: without -multiwindow, the X window appear. but she hangs sooner. in task manager, now cat.exe is running. (it gets 0% of CPU). if I kill cat.exe via task manager, an Xterm now appear in X window. X is ready now! What is doing cat with X? - A reminescence: In early past cat.exe sometimes gets 100% CPU during X startup. X don't finish start, and i resolve by killing cat. When i do it, X is ready. there are 2 differences: - now cat has 0% CPU - with -multiwindow, X hangs before cat
rdesktop installation comment
i have found it at: http://www.tierra.dyndns.org:81/cygwin/rdesktop/ i'm trying rdesktop-1.3.0-1.tar.bz2 first, a comment on the istruction at http://www.tierra.dyndns.org:81/cygwin the suggested command is wrong, the right is: tar -jxv -C / -f [file] then, the installation don't add the man page because extract the rdesktop.1 in /usr/share/man1. the right place is /usr/share/man/man1