Re: STARTXWIN.BAT Hanging Under Win2KPro
Lionel B [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] had the same thing (also Win2K Pro). On failure to start, XWin.log revealed the following (which was not present on a successful restart): (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap Identical error... Googling turned up the following: http://www.cygwin.com/ml/cygwin-xfree/2005-08/msg00072.html Reading to the bottom, the fix suggested is to copy the directory /etc/X11/xkb to /usr/X11R6/lib/X11/xkb. This does appear to solve the problem in my case. ...unfortunately, it did not on mine. Thanks for the tip tho. I note that on my setup /usr/X11R6/lib/X11/xkb would normally be just a soft link to /etc/X11/xkb ... Ditto mine. --- Douglas J. Renze [EMAIL PROTECTED] -- 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: STARTXWIN.BAT Hanging Under Win2KPro
Charli Li [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have W2K Professional, and it works just fine. You may want to edit the startxwin.bat file to fit your needs. (Rightclick startxwin.bat edit) For your convenience, I wrote up this seperate little batch script (run under cmd or standalone): [snip] Thanks for the tip, unfortunately, didn't do the trick for me. I'm still trying to figger this'n out... --- Douglas J. Renze [EMAIL PROTECTED] -- 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: STARTXWIN.BAT Hanging Under Win2KPro
Brett Serkez bserkez at gmail.com writes: I have not seen a hang per se, but some times I run STARTXWIN.BAT and nothing happens, I never get the X server or the xterm, sometimes I get the X server but no xterm. If I run the script again, I usually get an xterm. No errors, no hangs. Since I'm able to recover by simply rerunning the script, I've not attempted to track it down. I've seen this behavior on both Win2KPro and WinXP Pro. This is EXACTLY the behavior I'm getting am describing as a hang, except that I don't get a xterm. The reason I'm trying to track it down is that I would *really* like to drop a link to startxwin.bat into my startup folder and have it run at startup so I don't have to think about it. -- 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: STARTXWIN.BAT Hanging Under Win2KPro
snip This is EXACTLY the behavior I'm getting am describing as a hang, except that I don't get a xterm. The reason I'm trying to track it down is that I would *really* like to drop a link to startxwin.bat into my startup folder and have it run at startup so I don't have to think about it. This is exactly what I do and startup is normally successful, but not always successful. In those cases I have a short-cut on the desktop and I just double click it. I see this more if I shutdown and restart the X server. I have found that if I put my laptop into standby, X doesn't survive the restart well, so I normally shutdown X before setting it into standby and then manually restart X afterwards, which is more often when I see the failure. I suspect that the issue is in the section of the bat file that attempts to cleanup after the last run, were it removes the named pipe and temporary directory heirachy. Since the operating system caches, I suspect that the remove commands may still be running from this cleanup when the X server starts running or there is some other latency. I've not be able to reproduce reliably enough to test a potential fix, but if you can, try adding a sleep after: :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix # Allow time to be sure the cleanup has finished sleep 10 Brett -- 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: STARTXWIN.BAT Hanging Under Win2KPro
will. REM -emulate3buttons [timeout] REM Emulate 3 button mouse with an optional timeout in milliseconds. REM -xf86config REM Specify an XF86Config-style configuration file. REM -keyboard REM Specify a keyboard device from the configuration file. REM REM Startup the programs REM REM Startup the X Server with the integrated Windows-based window manager. REM WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard'' REM command-line parameter for XWin. Doing so would start two clipboard REM managers, which is never supposed to happen. %RUN% XWin -multiwindow -clipboard -silent-dup-error REM Startup an xterm, using bash as the shell. %RUN% xterm -e /usr/bin/bash -l REM REM Startup the twm window manager. REM WARNING: Do not use an external window manager in conjunction with REM the ``-multiwindow'' command-line parameter for XWin. Doing so REM would start two window managers, which is never supposed to happen. REM REM %RUN% twm REM Set a background color. Only needed when not using -multwindow for XWin. REM %RUN% xsetroot -solid aquamarine4 My startup script (Start Menu\Programs\Startup\Cygwin-X.bat): @echo off color 0f D: set CYGWINBASE=D:\LH34IG2HGB\cygwin set HOME=D:\LH34IG2HGB\HOME set VC=D:\LH34IG2HGB\Microsoft Visual Studio\VC set VCVARS=%VC%\vcvarsall.bat set PSDK=D:\LH34IG2HGB\PFILES\Microsoft Platform SDK call %VCVARS% set PATH=%PATH%;%CYGWINBASE%\bin chdir=%CYGWINBASE%\bin cd .. cd usr\X11R6\bin startxwin.bat Basically meaning that the batch file in the startup folder implies startxwin.bat so you can remove some set PATH stanzas. Charli -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brett Serkez Sent: Saturday, June 10, 2006 8:59 AM To: cygwin-xfree@cygwin.com Subject: Re: STARTXWIN.BAT Hanging Under Win2KPro snip This is EXACTLY the behavior I'm getting am describing as a hang, except that I don't get a xterm. The reason I'm trying to track it down is that I would *really* like to drop a link to startxwin.bat into my startup folder and have it run at startup so I don't have to think about it. This is exactly what I do and startup is normally successful, but not always successful. In those cases I have a short-cut on the desktop and I just double click it. I see this more if I shutdown and restart the X server. I have found that if I put my laptop into standby, X doesn't survive the restart well, so I normally shutdown X before setting it into standby and then manually restart X afterwards, which is more often when I see the failure. I suspect that the issue is in the section of the bat file that attempts to cleanup after the last run, were it removes the named pipe and temporary directory heirachy. Since the operating system caches, I suspect that the remove commands may still be running from this cleanup when the X server starts running or there is some other latency. I've not be able to reproduce reliably enough to test a potential fix, but if you can, try adding a sleep after: :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix # Allow time to be sure the cleanup has finished sleep 10 Brett -- 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/
Re: STARTXWIN.BAT Hanging Under Win2KPro
Douglas J. Renze wrote: The subject says it all. STARTXWIN.BAT is hanging on the startup under Win2KPro. If I run it, it will stall out - I can't right-click on the X icon in the system tray to bring up the menu, and when I examine the processes, it appears that XWin.exe is running, as well as an xterm.exe process, but no XTerm ever pops up. If I kill the process, then start it up *again*, everything pops up just fine. Ideas? If this is something that somebody has encountered before, a simple pointer in the right direction would do just fine. Greetings, had the same thing (also Win2K Pro). On failure to start, XWin.log revealed the following (which was not present on a successful restart): (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap Googling turned up the following: http://www.cygwin.com/ml/cygwin-xfree/2005-08/msg00072.html Reading to the bottom, the fix suggested is to copy the directory /etc/X11/xkb to /usr/X11R6/lib/X11/xkb. This does appear to solve the problem in my case. I note that on my setup /usr/X11R6/lib/X11/xkb would normally be just a soft link to /etc/X11/xkb ... -- Lionel B -- 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: STARTXWIN.BAT Hanging Under Win2KPro
I have W2K Professional, and it works just fine. You may want to edit the startxwin.bat file to fit your needs. (Rightclick startxwin.bat edit) For your convenience, I wrote up this seperate little batch script (run under cmd or standalone): @echo off C: set CYGWINBASE=C:\cygwin set HOME=%CYGWINBASE%\home\[username] set PATH=%PATH%;%CYGWINBASE%\bin chdir=%CYGWINBASE%\bin cd .. cd usr\X11R6\bin startxwin.bat Reply if this helps or not. Charli -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Douglas J. Renze Sent: Friday, June 09, 2006 6:13 PM To: cygwin-xfree@cygwin.com Subject: STARTXWIN.BAT Hanging Under Win2KPro The subject says it all. STARTXWIN.BAT is hanging on the startup under Win2KPro. If I run it, it will stall out - I can't right-click on the X icon in the system tray to bring up the menu, and when I examine the processes, it appears that XWin.exe is running, as well as an xterm.exe process, but no XTerm ever pops up. If I kill the process, then start it up *again*, everything pops up just fine. Ideas? If this is something that somebody has encountered before, a simple pointer in the right direction would do just fine. TIA. --- Douglas J. Renze [EMAIL PROTECTED] -- 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: STARTXWIN.BAT Hanging Under Win2KPro
STARTXWIN.BAT is hanging on the startup under Win2KPro. If I run it, it will stall out - I can't right-click on the X icon in the system tray to bring up the menu, and when I examine the processes, it appears that XWin.exe is running, as well as an xterm.exe process, but no XTerm ever pops up. I have not seen a hang per se, but some times I run STARTXWIN.BAT and nothing happens, I never get the X server or the xterm, sometimes I get the X server but no xterm. If I run the script again, I usually get an xterm. No errors, no hangs. Since I'm able to recover by simply rerunning the script, I've not attempted to track it down. I've seen this behavior on both Win2KPro and WinXP Pro. Brett -- 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/