Errors: Duplicate invocation and can't find dll's
I have just installed the X components of Cygwin and am hoping to eventually connect with XDMCP to my Linux machine. But I'm having some serious teething problems. First, XWin seems to be having difficulty finding the dlls. If I run XWin -query [computer name] I First I get an error message saying that it can't find cygwin1.dll. If I copy that dll file from the cygwin\bin\ directory into C:\cygwin\usr\X11R6\bin, the error message changes to another dll. If I copy that dll to the X11R6\bin directory, it moves onto yet another one that it can't find. If I run startxwin.bat instead, I don't get the dll error. But when I try to run startx, I get: winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. If I try startxdmcp.bat, I get a similar result: mkdir: Cannot create /tmp/.X11-unix with root ownership winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. The supposed cause of this error is that I am running two sessions of XWin, but that is simply not the case. I get the same results if I add :1 to the batch files. Any suggestions? PS. This may be relevant: When I installed Cygwin/X, selected all of the X components, rather than just the ones that are automatically selected by the x-org base package or whatever it was called. Is this bad?
Re: Errors: Duplicate invocation and can't find dll's
On Thu, 7 Jul 2005, Angus Veitch wrote: First, XWin seems to be having difficulty finding the dlls. If I run XWin -query [computer name] I First I get an error message saying that it can't find cygwin1.dll. If I copy that dll file from the cygwin\bin\ directory into C:\cygwin\usr\X11R6\bin, the error message changes to another dll. If I copy that dll to the X11R6\bin directory, it moves onto yet another one that it can't find. If I run startxwin.bat instead, I don't get the dll error. You must have the cygwin /bin directory listed in $PATH. If you use startxwin.bat or run XWin from the bash shell this is done for you. If you intend to start xwin manually you have to take care of this. But don't ever copy cygwin1.dll around as this will cause problems when updating the cygwin package. But when I try to run startx, I get: Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. The supposed cause of this error is that I am running two sessions of XWin, but that is simply not the case. I get the same results if I add :1 to the batch files. Technicly speaking XWin checks is a mutex named CYGWINX_DISPLAY:0 does already exist and set it. This is global to all windows programs but only XWin.exe and Xming.exe should set it. Your logfile indicates that this mutex does exist, so another XWin.exe or Xming.exe process must exist. You can check this with the windows task manager. This may be relevant: When I installed Cygwin/X, selected all of the X components, rather than just the ones that are automatically selected by the x-org base package or whatever it was called. Is this bad? It should not cause any problems. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Errors: Duplicate invocation and can't find dll's
On Thu, 7 Jul 2005, Angus Veitch wrote: I have just installed the X components of Cygwin and am hoping to eventually connect with XDMCP to my Linux machine. But I'm having some serious teething problems. First, XWin seems to be having difficulty finding the dlls. If I run XWin -query [computer name] I First I get an error message saying that it can't find cygwin1.dll. If I copy that dll file from the cygwin\bin\ directory into C:\cygwin\usr\X11R6\bin, the error message changes to another dll. If I copy that dll to the X11R6\bin directory, it moves onto yet another one that it can't find. NO, NO, NO! Please don't do that. Remove the DLLs you copied and instead add C:\cygwin\bin to your PATH. If I run startxwin.bat instead, I don't get the dll error. That's because startxwin.bat adds C:\cygwin\bin to the PATH. But when I try to run startx, I get: winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. And what's cryptic about that message? You've already run X on display 0 -- use display 1 if you want another instance. If I try startxdmcp.bat, I get a similar result: mkdir: Cannot create /tmp/.X11-unix with root ownership winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. Ditto. The supposed cause of this error is that I am running two sessions of XWin, but that is simply not the case. I get the same results if I add :1 to the batch files. Is someone else running X on that machine? Are you using terminal services? Any suggestions? Hmm, what does ps -W | grep -i xwin show? PS. This may be relevant: When I installed Cygwin/X, selected all of the X components, rather than just the ones that are automatically selected by the x-org base package or whatever it was called. Is this bad? Shouldn't be. Please see the Cygwin problem reporting guidelines at http://cygwin.com/problems.html for the right way of reporting your installation information (particularly the part about attaching the output of cygcheck -svr). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Cygwin doesn't recognize the Canadian French keyboard
From /tmp/XWin.log (--) winConfigKeyboard - Layout: 1009 (1009) (EE) Keyboardlayout Francais (Canada) (1009) is unknown The XKB layout code is ca or fr_CA From Microsoft Global Dev http://www.microsoft.com/globaldev/reference/keyboards.aspx select Canadian French Thanks, Daniel Landry ing., M.ing. Superviseur general - Systeme de controle General Supervisor - Control System Denharco inc - Canada 5110 av Beaudry Saint-Hyacinthe (Quebec) J2S 8A2 Canada Tel.: (450) 773-5454 ext 243 Fax: (450) 773-8099 [EMAIL PROTECTED]
Re: Cygwin doesn't recognize the Canadian French keyboard
On Wed, 6 Jul 2005, Daniel Landry wrote: From /tmp/XWin.log (--) winConfigKeyboard - Layout: 1009 (1009) (EE) Keyboardlayout Francais (Canada) (1009) is unknown The XKB layout code is ca or fr_CA From Microsoft Global Dev http://www.microsoft.com/globaldev/reference/keyboards.aspx select Canadian French I've recently added ca_enhanced as French (Canada), but from the french group (??0c) instead of the english group (??09). A few months ago I also added ca but removed it again since it did not match the actual layout. Is there a difference between those two? Which is more correct? ca, ca_enhanced or fr_CA. Judging from a short test ca_enhanced matches the layout from the website best (the key left to 1 produces / instead of # with ca). you can set the layouts with setxkbmap ca_enhanced. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Xfree covers always on top taskbar
On Wed, 29 Jun 2005, Tobias Polzin wrote: I configured my win-taskbar to be always on top and other windows respect this, but any Xfree window (e.g. an xterm) can be put above the taskbar, which is quite annoying. I've checked this but can not come up with a solution. Actually it seems the taskbar explicitly hides from those windows and does even expose windows which were below the taskbar before when the Cygwin/X window (even the root window) gets activated. But I could not find a place where such an behaviour is forced. It seems you'll have to live with that. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
RE: Cygwin doesn't recognize the Canadian French keyboard
On Wed, 6 Jul 2005, Daniel Landry wrote: From /tmp/XWin.log (--) winConfigKeyboard - Layout: 1009 (1009) (EE) Keyboardlayout Francais (Canada) (1009) is unknown The XKB layout code is ca or fr_CA From Microsoft Global Dev http://www.microsoft.com/globaldev/reference/keyboards.aspx select Canadian French On Wed, 6 Jul 2005, Alexander Gottwald wrote: I've recently added ca_enhanced as French (Canada), but from the french group (??0c) instead of the english group (??09). A few months ago I also added ca but removed it again since it did not match the actual layout. Is there a difference between those two? Which is more correct? ca, ca_enhanced or fr_CA. Judging from a short test ca_enhanced matches the layout from the website best (the key left to 1 produces / instead of # with ca). you can set the layouts with setxkbmap ca_enhanced. Running setxkbmap with each layouts (ca, fr_CA, ca_enhanced) don't fix the problem. In all case, the French accents are replaced by a BEEP and any character is displayed. However, I can make a cut and paste from WinXP without any problem. Concerning the key mapping, I'm using fr_CA on my Debian at home and it's working great. However, as Cygwin run on Windows, I presume that the best would be to keep the same keyboard mapping that Windows uses.
RE: Cygwin doesn't recognize the Canadian French keyboard
On Wed, 6 Jul 2005, Daniel Landry wrote: Running setxkbmap with each layouts (ca, fr_CA, ca_enhanced) don't fix the problem. In all case, the French accents are replaced by a BEEP and any character is displayed. However, I can make a cut and paste from WinXP without any problem. ca_enhanced uses deadkeys. I get this layout (not printing modifier, backspace and stuff) #1234567890-= qwertyuiop^ asdfghjkl;` «zxcvbnm,.é ^,` are deadkeys. pressing ^ and A will compose  Concerning the key mapping, I'm using fr_CA on my Debian at home and it's working great. This must be a debian special. There is no such layout in Cygwin/X However, as Cygwin run on Windows, I presume that the best would be to keep the same keyboard mapping that Windows uses. At least in the autedetection list. You can override the defaults with the -xkblayout parameter anyway and set a different layout. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Problems running OpenGL program on Cygwin
Dear List Members, I'm a newbie to Cygwin who is trying to learn how to run an OpenGL program under Cygwin-X. I used a standard program written by SGI (called cube.c) that I know runs correctly under Solaris 9, using gcc and the Mesa library, so I don't think the program itself is the problem. I ran xinit to get a bash shell, cd'd to the proper directory, and ran the following command: gcc cube.c -o cube -I/usr/X11R6/include -L/usr/X11R6/lib -lglut -lGLU -lGL -lX11 which compiles correctly (thanks to some assistance from your mailing list archives). When I type ./cube I get a black rectangle with no picture (and in particular no cube) and no error messages. I can click the shell window and press CTRL-C to get out. I've checked the FAQ, the user guide, and the archives (which did give me some help), but I can't get past this point. As already mentioned, I know this program works on Solaris/gcc/Mesa, so I'm wondering if there is a problem with my cygwin installation, libraries, or commands. I'm running the latest version of the Cygwin system as far as I can tell on Windows XP SP2.
Re: Problems running OpenGL program on Cygwin
On Wed, 6 Jul 2005, Larry Griffith wrote: I get a black rectangle with no picture (and in particular no cube) and no error messages. I can click the shell window and press CTRL-C to get out. Are you using XWin or XWin_GL, the version with accelerated OpenGL. For XWin_GL you'll need additional OpenGL drivers from your vendor. The drivers installed by Windows will not work properly. To test you should run glxinfo | grep OpenGL vendor string. If this is something like Windows GDI then you're using the Windows supplied drivers which do not work. Another good program for testing is glxgears. It is installed with Cygwin/X and should always show running gears. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
RE: Problems running OpenGL program on Cygwin
Larry Griffith wrote: Dear List Members, I'm a newbie to Cygwin who is trying to learn how to run an OpenGL program under Cygwin-X. I used a standard program written by SGI (called cube.c) that I know runs correctly under Solaris 9, using gcc and the Mesa library, so I don't think the program itself is the problem. I ran xinit to get a bash shell, cd'd to the proper directory, and ran the following command: gcc cube.c -o cube -I/usr/X11R6/include -L/usr/X11R6/lib -lglut -lGLU -lGL -lX11 which compiles correctly (thanks to some assistance from your mailing list archives). When I type ./cube I get a black rectangle with no picture (and in particular no cube) and no error messages. I can click the shell window and press CTRL-C to get out. I've checked the FAQ, the user guide, and the archives (which did give me some help), but I can't get past this point. As already mentioned, I know this program works on Solaris/gcc/Mesa, so I'm wondering if there is a problem with my cygwin installation, libraries, or commands. I'm running the latest version of the Cygwin system as far as I can tell on Windows XP SP2. as info - i dl'd cube.c, pasted your compile command above, called ./cube -- all worked as expected. do you have any cygwin precompiled x binaries available ( xclock??? ), if you call xclock, what is the result? reid
RE: Cygwin doesn't recognize the Canadian French keyboard
I'm familiar with deadkeys, but they don't work on my Cygwin installation. The e character is a special key that doesn't request any deadkey and it doesn't work either. Using any accented character give always the same result: BEEP without any character displayed. All other characters seem to work correctly. I give a try to the fr mapping with the same result. One of my co-workers has also installed Cygwin on his computer and he obtained the same results as mine. I made an upgrade this morning to be certain that I'm having the last Cygwin version. If it can help, my computer is a Dell Latitude C840. The first time that I saw the fr_CA layout on Linux was with Redhat using Xfree86 and I also recently saw it with Gentoo (2005.0) using Xorg. I'm presuming it is part of the Xfree86 and Xorg projects. You can also find a reference in the Cygwin file /etc/X11/xkb/keymap/xfree86. However, running setxkbmap fr_CA in Cygwin give Error loading new keyboard description. Note that I can adapt myself to use ca or ca_enhanced without problem. It is easy to adapt us if only few keys are to a different place. Thanks for your support -Message d'origine- De: Alexander Gottwald Date: 6 juillet 2005 14:56 A: 'cygwin-xfree@cygwin.com'; Daniel Landry Objet: RE: Cygwin doesn't recognize the Canadian French keyboard On Wed, 6 Jul 2005, Daniel Landry wrote: Running setxkbmap with each layouts (ca, fr_CA, ca_enhanced) don't fix the problem. In all case, the French accents are replaced by a BEEP and any character is displayed. However, I can make a cut and paste from WinXP without any problem. ca_enhanced uses deadkeys. I get this layout (not printing modifier, backspace and stuff) #1234567890-= qwertyuiop^ asdfghjkl;` zxcvbnm,.e ^,` are deadkeys. pressing ^ and A will compose A Concerning the key mapping, I'm using fr_CA on my Debian at home and it's working great. This must be a debian special. There is no such layout in Cygwin/X However, as Cygwin run on Windows, I presume that the best would be to keep the same keyboard mapping that Windows uses. At least in the autedetection list. You can override the defaults with the -xkblayout parameter anyway and set a different layout. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
RE: Cygwin doesn't recognize the Canadian French keyboard
I have found my problem. I had tried cut and paste functions in Emacs but try the new keyboard mapping in Xterm. In fact, ca_enhanced keyboard was working in some application, but not on others. Emacs, vim, nano see well the new mapping. Xterm and some other applications like python interpreter environment don't see it, but I can't make any cut and paste with accented character either. I'll see case by case for the configuration of these applications but it is no more a keyboard-mapping problem. Take note also that ca_enhanced keyboard is a nice one that fit exactly with the symbol on my decking keyboard. It seems that the comment in the ca_enhanced description is right: Most of the french canadian keyboards available on PCs are mapped like this. It will be great if this mapping is selected automatically in the future. That will help the new users. Thanks again for your support. -Message d'origine- De: Daniel Landry Date: 6 juillet 2005 16:34 A: 'Alexander Gottwald'; 'cygwin-xfree@cygwin.com' Objet: RE: Cygwin doesn't recognize the Canadian French keyboard I'm familiar with deadkeys, but they don't work on my Cygwin installation. The e character is a special key that doesn't request any deadkey and it doesn't work either. Using any accented character give always the same result: BEEP without any character displayed. All other characters seem to work correctly. I give a try to the fr mapping with the same result. One of my co-workers has also installed Cygwin on his computer and he obtained the same results as mine. I made an upgrade this morning to be certain that I'm having the last Cygwin version. If it can help, my computer is a Dell Latitude C840. The first time that I saw the fr_CA layout on Linux was with Redhat using Xfree86 and I also recently saw it with Gentoo (2005.0) using Xorg. I'm presuming it is part of the Xfree86 and Xorg projects. You can also find a reference in the Cygwin file /etc/X11/xkb/keymap/xfree86. However, running setxkbmap fr_CA in Cygwin give Error loading new keyboard description. Note that I can adapt myself to use ca or ca_enhanced without problem. It is easy to adapt us if only few keys are to a different place. Thanks for your support -Message d'origine- De: Alexander Gottwald Date: 6 juillet 2005 14:56 A: 'cygwin-xfree@cygwin.com'; Daniel Landry Objet: RE: Cygwin doesn't recognize the Canadian French keyboard On Wed, 6 Jul 2005, Daniel Landry wrote: Running setxkbmap with each layouts (ca, fr_CA, ca_enhanced) don't fix the problem. In all case, the French accents are replaced by a BEEP and any character is displayed. However, I can make a cut and paste from WinXP without any problem. ca_enhanced uses deadkeys. I get this layout (not printing modifier, backspace and stuff) #1234567890-= qwertyuiop^ asdfghjkl;` zxcvbnm,.e ^,` are deadkeys. pressing ^ and A will compose A Concerning the key mapping, I'm using fr_CA on my Debian at home and it's working great. This must be a debian special. There is no such layout in Cygwin/X However, as Cygwin run on Windows, I presume that the best would be to keep the same keyboard mapping that Windows uses. At least in the autedetection list. You can override the defaults with the -xkblayout parameter anyway and set a different layout. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
RE: Cygwin doesn't recognize the Canadian French keyboard
Ugh, top-posting. Reformatted. On Wed, 6 Jul 2005, Daniel Landry wrote: -Message d'origine- De: Daniel Landry Date: 6 juillet 2005 16:34 A:'Alexander Gottwald'; 'cygwin-xfreeatcygwin.com' Also, http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. -Message d'origine- De: Alexander Gottwald Date: 6 juillet 2005 14:56 On Wed, 6 Jul 2005, Daniel Landry wrote: Running setxkbmap with each layouts (ca, fr_CA, ca_enhanced) don't fix the problem. In all case, the French accents are replaced by a BEEP and any character is displayed. However, I can make a cut and paste from WinXP without any problem. ca_enhanced uses deadkeys. ^,` are deadkeys. pressing ^ and A will compose A [snip] I'm familiar with deadkeys, but they don't work on my Cygwin installation. The e character is a special key that doesn't request any deadkey and it doesn't work either. Using any accented character give always the same result: BEEP without any character displayed. All other characters seem to work correctly. I give a try to the fr mapping with the same result. One of my co-workers has also installed Cygwin on his computer and he obtained the same results as mine. I made an upgrade this morning to be certain that I'm having the last Cygwin version. If it can help, my computer is a Dell Latitude C840. [snip] I have found my problem. I had tried cut and paste functions in Emacs but try the new keyboard mapping in Xterm. In fact, ca_enhanced keyboard was working in some application, but not on others. Emacs, vim, nano see well the new mapping. Xterm and some other applications like python interpreter environment don't see it, but I can't make any cut and paste with accented character either. I'll see case by case for the configuration of these applications but it is no more a keyboard-mapping problem. [snip] Ah. I'm going to venture a guess and say that it's not simply an xterm, but an xterm running bash[*] that doesn't work, and direct you to http://cygwin.com/faq/faq_3.html#SEC48. HTH, Igor [*] bash uses readline, and, most likely, so does the python interpreter environment (top-level?). -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Re: Compiling xorg-x11-fonts
Alireza Ghasemi wrote: I have downloaded xorg-x11-fonts-6.8 but I don't know how to compile it.There is no typical Makefile and no configure script.Please explain me step by step how to compile it and get use of X11 in Cygwin.I need X! 1. You sent this to the wrong address. For X11 questions you should use the cygwin-xfree at cygwin.com mailing list. 2. There is no need to compile anything to use the X server in Cygwin. Just install the binary packages. Run setup.exe and select the xorg-x11-base package, which in turn will select all the other necessary packages. This is all documented in the Cygwin/X Users Guide: http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html. 3. The particular package, xorg-x11-fonts, cannot be compiled because it consists of font files and nothing else. It is only one component of many that is required to use the X11 server. Brian