Re: Mouse pointer disappears
Wilks, Dan [EMAIL PROTECTED] writes: I have noticed that the mouse pointer disappears when the window has focus. Do you happen to use remote desktop or anything like it? Yes, I occasionally remote desktop into the machine. -- Ed Avis [EMAIL PROTECTED]
Re: X server window resizes after remote desktop, and can't resize back
Ed Avis [EMAIL PROTECTED] writes: I remote desktop'd into my XP machine using a smaller display size than the monitor connected locally. When I went back in front of the machine I found that the X server window had shrunk to roughly the size of the remote desktop screen, but had not grown back again when I logged in locally. Here is a second XWin.log showing the problem. I tried changing the display size from control panel back and forth a few times, but the X server window refused to grow back to its former size. Maybe there could be some logging saying 'I noticed a change in Windows display size and I am resizing the X window accordingly' or 'I noticed a change in Windows display size but will not change the X window size'. Then one could see what is the intended behaviour. Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-7 Contact: [EMAIL PROTECTED] XWin was started with the following command line: /usr/X11R6/bin/XWin -clipboard -engine 1 -br ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1200 h 1600 winInitializeDefaultScreens - Returning 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 winScreenInit - dwWidth: 1200 dwHeight: 1600 winSetEngine - Using user's preference: 1 winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1194 height: 1547 depth: 32 winAllocateFBShadowGDI - Dibsection width: 1194 height: 1547 depth: 32 size image: 7388472 winAllocateFBShadowGDI - Created shadow stride: 1194 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 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=250, rate=31 (--) winConfigKeyboard - Layout: 0809 (0809) (--) Using preset keyboard for English (United Kingdom) (809), type 4 Rules = xorg Model = pc105 Layout = gb Variant = (null) Options = (null) Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 597 773 winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for CompoundText, aborting: 1 winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for UTF8String, aborting: 1 winProcessXEventsTimeout - Call to select () failed: 0. Bailing. winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed
Differnce between Xfree and Xorg
I am a little bit confused I see here that we have moved to Xorg distribution . I took a look at XFree.org and it seems they have Binaries for Cygwin till 4.4 . My question is Xfree going to be abandoned in favor of Xorg . What is the relation between the 2 . The reason I am asking because since the move to Xorg binaries i cannot have more than one Xsession at a time . thks n rgds
Re: Differnce between Xfree and Xorg
On Wed, 12 May 2004, aroushdi wrote: I am a little bit confused I see here that we have moved to Xorg distribution . I took a look at XFree.org and it seems they have Binaries for Cygwin till 4.4 . These binaries are likely to be very outdated. We moved to X.org because it was easier for Cygwin/X developers to get cvs access there. XFree only allowed cvs access for a few people from the core team. We had to ask them to include the changes into their cvs. As a result the XFree cvs was always a few weeks up to some months behind the Cygwin/X development. The cygwin part from XFree may now be about 7 or 8 months old. Many improvements (eg for multiwindow mode or clipboard support) have not been included into the XFree cvs. My question is Xfree going to be abandoned in favor of Xorg . What is the relation between the 2 . The reason I am asking because since the move to Xorg binaries i cannot have more than one Xsession at a time . You can start the first Xserver as usual XWin [options] and the second with XWin :1 [options] the third with XWin :2 [options] and so on This results in display names :0.0, :1.0, :2.0 ... bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Tracking Down Disappearing Cursors
After a bit of sleuthing I think I understand why the cursor is disappearing inside X windows after a remote desktop session. Unfortunately I don't understand enough of the motive of the current code in order to suggest a fix. It appears that there is some sort of misunderstanding between wincursor.c and the various window procs. One of the first acts that wincursor.c does is to do a ShowCursor(TRUE) but not set the global variable g_fCursor. The effect is that the cursor is now locked on. The window procs all attempt to hide the hardware cursor while it is in the client area by calling ShowCursor(FALSE) when the mouse enters the client area and then ShowCursor(TRUE) when it leaves, or when the window is deactivated or various other events. But it does this under the control of the afore mentioned g_fCursor variable. I assume that this is to deal with the refcounted nature of the ShowCursor call. Now, when remote desktop comes in, it just resets the global ShowCursor refcount. Both on the remote side and when control is restored to the owning display. This causes the window proc's desire for cursor control to be honored, hiding the cursor when it comes into the client are and then showing the cursor again when it leaves. What's surprising is that a cursor is visible while in the remote desktop, not always the right cursor, but there is one. Only when returning to the main display does the cursor disappear for good. So, what's the right fix? I don't know. I have a guess. If XWin is now really 100% hardware cursor based then we don't need to do any of this cursor wrangling. My guess is that we could even remove all the MouseTrackEvent stuff as well since that only appears to matter to hiding and showing the cursor over the client area. I've given it a whirl and it appears to work ok. My cursor is always visible and the proper shape. Also a surprise is that the cursor is better behaved while running on the remote desktop. It still has problems but it's much better than it was. Unfortunately I put very little strain on X. I run xterm, emacs, and occasionally IntelliJ. I always run XWin directly in multiwindow mode, no startx or .rc file mumbo jumbo here. So I don't feel confident enough to really suggest a real patch, only a course of investigation to those who might have a bit more knowledge or bravery that I. Hope this helps, Dan
RE: XWin.exe 6.7-4 clipboard on Win 2K server sp4 - prevents Wind ows cut/copy
Jesse Burson wrote: I'm using XWin.exe 6.7-4 I am not able to cut or copy from Windows apps. Wait until the next version. Some Windows apps, Remote Desktop for one really mess up the Windows clipboard chain. You can see this using the old clipbrd.exe tool as well. Versions of XWin post -4 have a fix but unfortunately can also die a horrible death. The next version might have both fixed. hth, Dan
Using 6.7.0.0-8 Failure to connect to Linux
Hello! I was successfully using Cygwin to connect my Windows machine to my SuSE 9 until my Windows machine crashed about three weeks ago. Since then, I have not been able to reconnect the two computers. In the meantime, we have new Ethernet switches which I suspect may have triggered the problem? (a colleague who is using the SAME set-up she had previously used successfully can no longer connect either) It only seems broke for SuSE 9. The HP-UX and SuSE 8 machines are all ok. The SuSE 9 machine is using KDM and it is set-up to accept external connections. Here is my log file: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-8 Contact: [EMAIL PROTECTED] XWin was started with the following command line: /usr/X11R6/bin/XWin -query 192.168.10.29 -nodecoration -lesspointer ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1152 h 864 winInitializeDefaultScreens - Returning 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 - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winFinishScreenInitFB - Masks: 00ff ff00 00ff 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: 0407 (0407) (--) Using preset keyboard for German (Germany) (407), type 4 Rules = xorg Model = pc105 Layout = de Variant = (null) Options = (null) Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 576 418 winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard is not enabled, returning. AUDIT: Wed May 12 15:53:33 2004: 1544 XWin: client 1 rejected from IP 192.168.10.29 Auth name: MIT-MAGIC-COOKIE-1 ID: -1 Fatal server error: XDMCP fatal error: Session failed Session 235664007 failed for display 192.168.10.109:0: cannot open display winDeinitMultiWindowWM - Noting shutdown in progress Any suggestions? Thanks! crystal
Re: Differnce between Xfree and Xorg
On Wed, 12 May 2004, Alexander Gottwald wrote: On Wed, 12 May 2004, aroushdi wrote: I am a little bit confused I see here that we have moved to Xorg distribution . I took a look at XFree.org and it seems they have Binaries for Cygwin till 4.4 . These binaries are likely to be very outdated. We moved to X.org because it was easier for Cygwin/X developers to get cvs access there. XFree only allowed cvs access for a few people from the core team. We had to ask them to include the changes into their cvs. As a result the XFree cvs was always a few weeks up to some months behind the Cygwin/X development. The cygwin part from XFree may now be about 7 or 8 months old. Many Before saying may be, it is proper to verify your statements. The 4.4 binaries are no older than the end of December. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
Re: Differnce between Xfree and Xorg
Thomas Dickey wrote: On Wed, 12 May 2004, Alexander Gottwald wrote: On Wed, 12 May 2004, aroushdi wrote: I am a little bit confused I see here that we have moved to Xorg distribution . I took a look at XFree.org and it seems they have Binaries for Cygwin till 4.4 . These binaries are likely to be very outdated. We moved to X.org because it was easier for Cygwin/X developers to get cvs access there. XFree only allowed cvs access for a few people from the core team. We had to ask them to include the changes into their cvs. As a result the XFree cvs was always a few weeks up to some months behind the Cygwin/X development. The cygwin part from XFree may now be about 7 or 8 months old. Many Before saying may be, it is proper to verify your statements. The 4.4 binaries are no older than the end of December. So they are old. Who cares? Harold
Mouse/keyboard emulation
I have been trying to use Cygwin, at least in part, as an X server on top of a Windows install to be able to execute programs from a UNIX server and have them appear locally. The application I have been specifically attempting to do so with is Eclipse (motif for HP-UX). Just about every other application that I have run has been able to take keyboard and mouse input from the Windows machine with no problems. However, when I run Eclipse, the Java based GUI will launch after a short time, however it will be a dead screen with no ability to click, move focus or execute any commands. In this attempt, I also tried to display a full Xwindows (CDE on HP-UX 11.0) session. This did work once I was able to sort out the X font server issue I encountered initially. I was able to control the window when displaying the full X session. My boss was able to get it to work completely the way we wanted with another product, however that was a demo of software that is far to expensive for us to purchase. This is what I tried to do concerning displaying only the application remotely to my Windows desktop from the UNIX machine: I started Cygwin Typed startx and hit return in the Xterm I typed xhost +remote server name in the Xterm I typed xset +fp tcp/remote server name:7100 (the port the font server is listening on) in the Xterm I opened an ssh session by typing ssh -l username remote server name and then entered the password when prompted When logged in to the remote server I cd'd into the directory for eclipse and executed my script to launch it which consists of the path to the eclipse executable and these arguments: path/eclipse -vm /opt/java1.4/bin/java -vmargs -XdoCloseWithReadPending This would bring up the splash and the application would load, but as stated above, not open. I could open other X applications and have no such issues. Any assistance would be greatly helpful and valued. Thank you, Mark
Re: Mouse/keyboard emulation
in the Xterm I opened an ssh session by typing ssh -l username remote server name and then entered the password when prompted You mentioned ssh, you probably need to see A1 in the following FAQ entry: http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding Harold
Re: Differnce between Xfree and Xorg
On Wed, 12 May 2004, Harold L Hunt II wrote: Thomas Dickey wrote: On Wed, 12 May 2004, Alexander Gottwald wrote: On Wed, 12 May 2004, aroushdi wrote: I am a little bit confused I see here that we have moved to Xorg distribution . I took a look at XFree.org and it seems they have Binaries for Cygwin till 4.4 . These binaries are likely to be very outdated. We moved to X.org because it was easier for Cygwin/X developers to get cvs access there. XFree only allowed cvs access for a few people from the core team. We had to ask them to include the changes into their cvs. As a result the XFree cvs was always a few weeks up to some months behind the Cygwin/X development. The cygwin part from XFree may now be about 7 or 8 months old. Many Before saying may be, it is proper to verify your statements. The 4.4 binaries are no older than the end of December. So they are old. Who cares? Equally, I might point out that (until the recent bulk import), much of cygwin's build tree outside the small area of the Xwin server was several months old. (It's hard to compare exactly without some work, since the people who did the import did it carelessly, losing most of the identifiers - doesn't inspire much confidence in their ability). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
Startxwin starts a hung xterm
I just installed the latest cygwin-xfree (on 5/12/04) under Win XP. When I start Xwin via startxwin.bat, the x server seems to start up normally. The next line in the batch file, run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash -l launches an xterm, which starts up completely hung, with an all white background. The same thing happens if I try starting up via startxwin.sh or startx. I have tried changing the parms passed to Xwin, in turn dropping -multiwindow and -clipboard options, both to no avail. If I close the hung xterm and relaunch it from bash, I get the message xterm Xt error: can't open display: No display is listed in the message. I have been using cygwin-xfree successfully on a W2k maching for several months. I was a bit surprised that a fresh install on XP did not work right away. Any suggestions would be appreciated. Thank you. Here is my Xwin.log file: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-8 Contact: [EMAIL PROTECTED] XWin was started with the following command line: XWin -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning 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 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 767 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff 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: 0409 (0409) (EE) Keyboardlayout US (0409) is unknown Rules = xorg Model = pc101 Layout = us Variant = (null) Options = (null) Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 512 383 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 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 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
RE: Mouse pointer disappears
Wilks, Dan [EMAIL PROTECTED] writes: I have noticed that the mouse pointer disappears when the window has focus. I occasionally get this on my laptop as well (running XP sp1 and latest cygwin+xorg). This happens in local xterms as well. It might have happened after doing some ssh -X somewhere_else stuff, but I wouldn't call that remote desktop (but maybe you would). Note that I almost never reboot my laptop but hibernate it and drag it around. Don't know if this would upset the X server. I have had other occasional weird things such as the X server refusing connection from everything (saying something along the lines of refusing connection from xxx.xxx.xxx.xxx:0 which was my current IP number). I thought this might have happened because my IP number changed from when I started the server, but I haven't been able to reproduce this. Thanks for all the effort! Kris Thielemans (kris.thielemans at imperial.ac.uk) Hammersmith Imanet (formerly IRSL) Cyclotron Building Hammersmith Hospital Du Cane Road London W12 ONN, United Kingdom web site address: http://www.hammersmithimanet.com/~kris
Weird multiwindow mode problem
Hello, This is probably unimportant, but I thought I'd mention it just the same... :) I have my Windows Taskbar at the top of the screen (instead of the bottom as it is by default). Running XWin -multiwindow, I open an xterm and move it right to the bottom of the screen. I open another window (e.g. Explorer) and move it over the xterm, completely covering it, and then away again. There is a white line left, covering the bottom of the xterm, exactly as thick as the Windows Taskbar. Typing in the xterm doesn't remove this line, nor does using the scrollbar. Moving the xterm a few pixels up redisplays only those pixels that have now appeared above where the line was. The only was to get the entire xterm back again is to move the entire window above the height of the line. Does multiwindow mode make some assumptions about where the Windows Taskbar is placed? I tried -mwextwm and the problem doesn't appear. Any ideas? Antony. Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html
Re: cygwin upgrade: where did XWin go?
On Wed, May 12, 2004 at 06:14:49PM -0700, Andrew DeFaria wrote: Allen H. Nugent [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 03:14 PM 12/05/04, Peng Yu wrote: You can run startxwin. Umm, no, I can't: it gives BASH: startxwin: command not found. To reiterate, I was able to use startxwin.bat or startxwin.sh to run Xwin, until I upgraded cygwin; now, the Xwin system seems to be gone. Does Setup normally uninstall Xwin without replacing it? Should I run Setup again? What should I select to avoid uninstalling something else? Have you tried just typing in xwin? cygwin-xfree cygwin com is the place to discuss Xwindows. I'm redirecting this thread there. cgf