Problem with -multiwindow and -clipboard when using -nolisten tcp
Brian Willis
brian.willis@noaa.gov
Wed May 18 14:07:00 GMT 2005
I'm trying to turn off the tcp port for Cygwin/X. I would like to just
close it down on the outside interface and still have it listen on the
loopback device. I have not been able to find a way to do that. The
closest thing I could find is to turn off tcp all together. This does
work. I'm able to bring up xterms and the whole deal. I get odd
behavior after that. The xterm allows me to copy and paste within the
window, but it doesn't copy to the Microsoft Windows clipboard. The x
button on the upper right corner of the xterm also does not work. You
can only open one xterm or other type of xforwarding because multiwindow
hasn't loaded. Is there a setting to tell multiwindow and clipboard
where the display is? I can see them trying to access the loopback.
Here is output from my xwin.log:
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-2
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
XWin :0 -multiwindow -nolisten tcp -silent-dup-error
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24
bpp 32
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 shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000409" (00000409)
(--) Using preset keyboard for "English (USA)" (409), type "4"
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
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
winInitMultiWindowWM - Could not open display, try: 1, sleeping: 5
winMultiWindowXMsgProc - Could not open display, try: 1, sleeping: 5
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winInitMultiWindowWM - Could not open display, try: 2, sleeping: 5
winMultiWindowXMsgProc - Could not open display, try: 2, sleeping: 5
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24
bpp 32
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 ()
MIT-SHM extension disabled due to lack of kernel support
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Could not open display, try: 3, sleeping: 5
winMultiWindowXMsgProc - Could not open display, try: 4, sleeping: 5
XFree86-Bigfont extension local-client optimization disabled due to
lack of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
winInitMultiWindowWM - Could not open display, try: 3, sleeping: 5
winInitMultiWindowWM - Could not open display, try: 3, s(--) Using
preset keyboard for "English (USA)" (409), type "4"
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
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
winDeinitMultiWindowWM - Noting shutdown in progress
winDeinitMultiWindowWM - Noting shutdown in progress
I can see the clipboard and multiwin try and use the loopback and fail.
Is there something I'm missing? Can I use loopback without the
outside interface listening?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20050518/98e60753/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brian.willis.vcf
Type: text/x-vcard
Size: 148 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20050518/98e60753/attachment.vcf>
More information about the Cygwin-xfree
mailing list