Re: Pseudo Colors on Solaris
I had this very same problem with HP. The way I got around it was to start a X session in fullscreen mode with the windowmanager of your choice in 8 bit color. Not a sexy solution, but it worked. For us it's only for a few apps. Brian Willis OHD/NWS NOAA [EMAIL PROTECTED] wrote: Greetings A little more info. I can very the color numbers in rgb.txt and the colors in my xterm windows will change. :) The colors in my solaris window do not change. :( I used an app that came with AutoIT to verify colors in the windows. When I slide the mouse over something red in a xterm window the app showed me the color number. I can change the '255 0 0' in rgb.txt to '255 40 40' and the app will show '255 40 40'. But in the solaris window, '255 0 0' always reads '255 0 0' no mater what I change in rgb.txt. Am I shooting in the right (or left) direction or do xwindow calls from an outside unix box not use color maps or settings on the localhost? Thanks for any direction or kind words. Jb Confidentiality Notice: This email message, including any attachments, contains or may contain confidential information intended only for the addressee. If you are not an intended recipient of this message, be advised that any reading, dissemination, forwarding, printing, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply message and delete this email message and any attachments from your system. -- 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/
Facename fonts vs XLFD fonts
I have an application that by default looks for the Facename font ncenb14. I can over ride the setting by using the Xdefaults and specifying the XLFD (X Logical Font Description) instead. While this works, it's not the ideal situation. I would rather it just found the Facename name by default. This application's fonts work fine when you run it from a Linux or HP console, but not when forwarded back to Cygwin. I tested with xterm to make sure that it could find the font name. When I used the -fn switch it wouldn't find the xcenb14 font, but when I used the -fa it would. Is there a way to make Cygwin look at the Facename and the XLFD? I tried finding some documentation on how X uses fonts and searches for them but really couldn't find much. If anyone has some really good references, let me know also. Brian Willis OHD System Admin NWS/NOAA -- 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/
Facename fonts vs XLFD fonts
I have an application that by default looks for the Facename font ncenb14. I can over ride the setting by using the Xdefaults and specifying the XLFD (X Logical Font Description) instead. While this works, it's not the ideal situation. I would rather it just found the Facename name by default. This application's fonts work fine when you run it from a Linux or HP console, but not when forwarded back to Cygwin. I tested with xterm to make sure that it could find the font name. When I used the -fn switch it wouldn't find the xcenb14 font, but when I used the -fa it would. Is there a way to make Cygwin look at the Facename and the XLFD? I tried finding some documentation on how X uses fonts and searches for them but really couldn't find much. If anyone has some really good references, let me know also. Brian Willis OHD System Admin NWS/NOAA -- 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: eclipse 3.0.1 [now 2] input problem
Andrews, Dean (END-CHI) wrote: I currently use xwin as x server for emacs and ddd without problems. We are looking at moving to eclipse. When I try to run eclipse, it presents the splash, the first dialog box, and hangs. If I use Micro X-Win32 (4.1.7), eclipse will run fine on the same client. Since I do not have that software at home and X-Win has problems cut/paste between x and windows, I really would like to get xwin configured correctly for eclipse. There where two unresolved threads dealing with this issue in this list: * From: Joe Hughes jhughesjr at comcast dot net * Date: Mon, 4 Apr 2005 10:26:49 -0400 * Subject: Re: eclipse 3.0.1 input problem * From: Alexander Gottwald alexander dot gottwald at s1999 dot tu-chemnitz dot de * Date: Mon, 14 Mar 2005 16:30:29 +0100 (MET) * Subject: Re: eclipse 3.0.1 input problem * References: [EMAIL PROTECTED] http://sourceware.org/ml/cygwin-xfree/2005-03/msg00069.html Server: Windows XP Profesional Version 2002 Service Pack 2 AMD Athlon XP 2.33 1.00 GB ram XWin.exe: Release: 6.8.2.0-1 via startxwin.bat (no other options) Client: eclipse-SDK-3.0.2-solaris-motif SunOS ... 5.8 Generic_117350-13 sun4u sparc SUNW,Ultra-4 Tunnel: SecureCRT 4.1.7 ssh2 with and without compression We had some problems like that with eclipse. The work around we found was to run window manager like openbox or windowmaker. That seemed to solve the issue. begin:vcard fn:Brian Willis n:Willis;Brian email;internet:[EMAIL PROTECTED] title:System Admin tel;work:301-713-1669x155 version:2.1 end:vcard
Re: Double click speed in xwin
Brian Willis wrote: The only way I know the change the speed is in windowmaker. In the config tool is a double click setting. This may only be a windowmaker config setting though. Does that set the double click speed for windowmaker or for the xserver? Alexander Gottwald wrote: On Wed, 25 May 2005, Brian Willis wrote: I have a user who is using Cygwin in multiwin mode and connecting over ssh to a Linux box. The app he is running is looking for a double click, but he can't click fast enough for it. Is there a way to adjust the double click speed? Is that a setting of Cygwin or the xserver on the remote side? As far as i know there is no doubleclick event in X11. If the application requires this, then it's up to the application to check for double clicks and only the application could change the timing. bye ago Would Window Maker be considered a program and that's why you can change the double click speed? When running in multiwin mode, isn't that acting as a window manager? Is there a config file for the multiwin? begin:vcard fn:Brian Willis n:Willis;Brian email;internet:[EMAIL PROTECTED] title:System Admin tel;work:301-713-1669x155 version:2.1 end:vcard
Double click speed in xwin
I have a user who is using Cygwin in multiwin mode and connecting over ssh to a Linux box. The app he is running is looking for a double click, but he can't click fast enough for it. Is there a way to adjust the double click speed? Is that a setting of Cygwin or the xserver on the remote side? begin:vcard fn:Brian Willis n:Willis;Brian email;internet:[EMAIL PROTECTED] title:System Admin tel;work:301-713-1669x155 version:2.1 end:vcard
Re: Double click speed in xwin
The only way I know the change the speed is in windowmaker. In the config tool is a double click setting. This may only be a windowmaker config setting though. Does that set the double click speed for windowmaker or for the xserver? Alexander Gottwald wrote: On Wed, 25 May 2005, Brian Willis wrote: I have a user who is using Cygwin in multiwin mode and connecting over ssh to a Linux box. The app he is running is looking for a double click, but he can't click fast enough for it. Is there a way to adjust the double click speed? Is that a setting of Cygwin or the xserver on the remote side? As far as i know there is no doubleclick event in X11. If the application requires this, then it's up to the application to check for double clicks and only the application could change the timing. bye ago begin:vcard fn:Brian Willis n:Willis;Brian email;internet:[EMAIL PROTECTED] title:System Admin tel;work:301-713-1669x155 version:2.1 end:vcard
Re: Problem with -multiwindow and -clipboard when using -nolisten tcp
Brian Willis wrote: Corinna Vinschen wrote: On May 18 10:35, Brian Willis wrote: Is there any way to make the X server listen on loopback but not on the outside interface? The firewall software does all interfaces, not just the outside. That would be a surprise. Are you using the XP SP2 firewall by any chance? It allows to customize trusted networks in it's GUI. Corinna We do use XP SP2, but it doesn't work well with our VPN client, so we use one from Computer Associates. Unfortunatly I don't get much say in what we run on the desktops, just the servers. Is there any way to get Cygwin to listen on only localhost? I thought the -nolisten tcp was supposed to do this. begin:vcard fn:Brian Willis n:Willis;Brian email;internet:[EMAIL PROTECTED] title:System Admin tel;work:301-713-1669x155 version:2.1 end:vcard
Problem with -multiwindow and -clipboard when using -nolisten tcp
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 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) (--) 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 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 () 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.
Re: Problem with -multiwindow and -clipboard when using -nolisten tcp
Alexander Gottwald wrote: On Wed, 18 May 2005, Brian Willis wrote: 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 winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - Could not open display, try: 1, sleeping: 5 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? Multiwindow and clipboard require enabled tcp transport. But you can create patches which force the threads to use :0.0 instead of 127.0.0.1:0.0 if the tcp transport is switched off. bye ago Is there any way to make the X server listen on loopback but not on the outside interface? The firewall software does all interfaces, not just the outside. begin:vcard fn:Brian Willis n:Willis;Brian email;internet:[EMAIL PROTECTED] title:System Admin tel;work:301-713-1669x155 version:2.1 end:vcard
Re: Problem with -multiwindow and -clipboard when using -nolisten tcp
Corinna Vinschen wrote: On May 18 10:35, Brian Willis wrote: Is there any way to make the X server listen on loopback but not on the outside interface? The firewall software does all interfaces, not just the outside. That would be a surprise. Are you using the XP SP2 firewall by any chance? It allows to customize trusted networks in it's GUI. Corinna We do use XP SP2, but it doesn't work well with our VPN client, so we use one from Computer Associates. Unfortunatly I don't get much say in what we run on the desktops, just the servers. begin:vcard fn:Brian Willis n:Willis;Brian email;internet:[EMAIL PROTECTED] title:System Admin tel;work:301-713-1669x155 version:2.1 end:vcard