From rodmedina@cantv.net Fri Apr 1 13:35:00 2005 From: rodmedina@cantv.net (Rodrigo Medina) Date: Fri, 01 Apr 2005 13:35:00 -0000 Subject: XWin crashes when exiting in W98(SE) Message-ID: <49150-22005451133547893@cantv.net> Hi, More on the bug I have previously reported. If you run XWin through gdb you get a segmentation fault immediately. $ gdb XWin GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found) (gdb) run -multiwindow Starting program: /usr/X11R6/bin/XWin.exe -multiwindow Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin -multiwindow 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 (==) 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/75d pi/,/usr/X11R6/lib/X11/fonts/100dpi/" winPrefsLoadPreferences: /usr/X11R6/lib/X11/system.XWinrc LoadPreferences: XWinrc loaded GetModuleHandleA succeed LoadLibrary returns baaa0000 winDetectSupportedEngines - Windows 95/98/Me winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000007 winSetEngine - Multi Window or Rootless => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 800 height: 600 depth: 16 winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f winInitVisualsShadowGDI - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16 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 Program received signal SIGSEGV, Segmentation fault. [Switching to thread -4014111.0xffc107e1] 0xbff7a606 in KERNEL32!Heap32ListNext () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL (gdb) quit The program is running. Exit anyway? (y or n) y $ --------- I hope that can help. R.M. From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Apr 1 14:25:00 2005 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 01 Apr 2005 14:25:00 -0000 Subject: XWin crashes when exiting in W98(SE) In-Reply-To: <49150-22005451133547893@cantv.net> References: <49150-22005451133547893@cantv.net> Message-ID: Rodrigo Medina wrote: > winDetectSupportedEngines - Windows 95/98/Me > winDetectSupportedEngines - DirectDraw installed > winDetectSupportedEngines - DirectDraw4 installed > winDetectSupportedEngines - Returning, supported engines 00000007 > winSetEngine - Multi Window or Rootless => ShadowGDI > winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per > pixel Maybe a problem with win9x. I'll try to reproduce this in my local installation bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From tsukamot@bmail.kek.jp Sun Apr 3 13:48:00 2005 From: tsukamot@bmail.kek.jp (tsukamot@bmail.kek.jp) Date: Sun, 03 Apr 2005 13:48:00 -0000 Subject: X Error Message-ID: <200504031347.WAA05725@bwg1.fbu.kek.jp> Dear cygwin group, I failed to open window of netscape using cygwin X on SunOS. The error message is as following: X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 73 (X_GetImage) Resource id in failed request: 0x3a Serial number of failed request: 121 Current serial number in output stream: 121 Could you give me any suggestions to fix this problem ? Regards, Toshifumi TSUKAMOTO From my-notes@yandex.ru Sun Apr 3 17:02:00 2005 From: my-notes@yandex.ru (Leo) Date: Sun, 03 Apr 2005 17:02:00 -0000 Subject: Try to make minimal XServer Message-ID: Hello. I'd like to run X-apps on the remote Unix and see them on my notebook with CygWin XServer. The simpliest installation gives workable X, but suffer almost 100M I've got the xwin.exe itsef and added its libs (cygfreetype-6.dll cygwin1.dll cygX11-6.dll cygz.dll). Now it tries to start but cannot found fonts *** Fatal server error: could not open default font 'fixed' *** What exactly it need? FAQ says "reinstall X-fonts pakage", but it isn't a way in my case :) Thanx! From juanjo@iteisa.com Sun Apr 3 18:32:00 2005 From: juanjo@iteisa.com (Juan =?ISO-8859-15?Q?Jos=E9_Guti=E9rrez?= de Quevedo) Date: Sun, 03 Apr 2005 18:32:00 -0000 Subject: Try to make minimal XServer In-Reply-To: References: Message-ID: <20050403221424.086fb56f.juanjo@iteisa.com> On Wed, 30 Mar 2005 16:43:33 +0000 (UTC) Leo wrote: > Hello. > > I'd like to run X-apps on the remote Unix and see them on my notebook > with > CygWin XServer. > The simpliest installation gives workable X, but suffer almost 100M > I've got the xwin.exe itsef and added its libs (cygfreetype-6.dll > cygwin1.dll > cygX11-6.dll cygz.dll). Now it tries to start but cannot found fonts > *** > Fatal server error: > could not open default font 'fixed' > *** Some weeks ago I made something along the line that you want. It's available in http://www.iteisa.com/xmins/. I know some people have expressed some concerns with it(mainly about the source and about using cygwin/X instead on Xming), but I'm working on them(I've just hadn't enough time recently). Still it might be just what you are looking for From alexander.gottwald@s1999.tu-chemnitz.de Sun Apr 3 19:41:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Apr 2005 19:41:00 -0000 Subject: Try to make minimal XServer In-Reply-To: References: Message-ID: On Wed, 30 Mar 2005, Leo wrote: > Hello. > > I'd like to run X-apps on the remote Unix and see them on my notebook with > CygWin XServer. Try http://freedesktop.org/wiki/Xming bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From mzap80@hotmail.com Sun Apr 3 22:29:00 2005 From: mzap80@hotmail.com (m. z.) Date: Sun, 03 Apr 2005 22:29:00 -0000 Subject: tetex 3.0.0-1 installation Message-ID: I tried to install tex/latex 3.0.0-1 (last version), but I did not succeed. The setup, when arrives at /etc/postinstall/post-texmf.sh , I think something wrong it happens, since I waited for more than 30 minutes (with Pentium 4) consuming up to 100% of CPU and not proceeding. I had to stop it and to reinstall the previous version 2.0.2-15. Any suggestion on how to succesfully upgrade my tex ? Or Is it a bug of the last version ? Someone succeeded in installing it ? Thank you From janneke@gnu.org Mon Apr 4 08:00:00 2005 From: janneke@gnu.org (Jan Nieuwenhuizen) Date: Mon, 04 Apr 2005 08:00:00 -0000 Subject: tetex 3.0.0-1 installation In-Reply-To: (m. z.'s message of "Sun, 03 Apr 2005 22:28:55 +0000") References: Message-ID: <877jjj0y4v.fsf@peder.flower> m. z. writes: > Any suggestion on how to succesfully upgrade my tex ? Or Is it a bug > of the last version ? Someone succeeded in installing it ? There is a bug. Please rerun setup.exe and downgrade to tetex-2.0 until this has been resolved. Thanks for the report (the proper list for this kind of report would be cygwin@ not cygwin-xfree@). Jan. -- Jan Nieuwenhuizen | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org From joseph@tidetamerboatlifts.com Mon Apr 4 12:44:00 2005 From: joseph@tidetamerboatlifts.com (Joseph Miller) Date: Mon, 04 Apr 2005 12:44:00 -0000 Subject: Try to make minimal XServer In-Reply-To: References: Message-ID: <200504040904.24797.joseph@tidetamerboatlifts.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 30 March 2005 11:43 am, Leo wrote: > Hello. > > I'd like to run X-apps on the remote Unix and see them on my notebook with > CygWin XServer. > The simpliest installation gives workable X, but suffer almost 100M > I've got the xwin.exe itsef and added its libs (cygfreetype-6.dll > cygwin1.dll cygX11-6.dll cygz.dll). Now it tries to start but cannot found > fonts *** > Fatal server error: > could not open default font 'fixed' > *** > What exactly it need? FAQ says "reinstall X-fonts pakage", but it isn't a > way in my case :) > Thanx! Check out XWinLogon at http://www.calcmaster.net/visual-c++/xwinlogon/ . I packaged the X server and provided a frontend for launching. It of course is not fully featured, but it is enough to start and run a session. - -Joseph -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCUTtXmXZROF+EADURAuPUAJ4juERqX2TY4hGB629L1nl2g0dvJQCeLbjt OQ09Cy08jBf79KY1JPEHCro= =5wR3 -----END PGP SIGNATURE----- From jhughesjr@comcast.net Mon Apr 4 14:27:00 2005 From: jhughesjr@comcast.net (Joe Hughes) Date: Mon, 04 Apr 2005 14:27:00 -0000 Subject: eclipse 3.0.1 input problem Message-ID: <42514EA9.2010909@comcast.net> I too am having this same problem. I have been using cygwin/xwin for a few years now and have had no other problems (besides an issue with purify that the numlock fix resolved for me a year or 2 ago.) I am attempting to use eclipse-SDK-3.0.2-solaris-motif.zip for Solaris 8 and: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com Any additional info you need I will provide. Thanks in advance. Cheers, Joe > hello, > i have installed cygwin-xfree on my windows xp laptop > successfully i think. at least i am able to ssh to a > remote linux host and run xemacs. i see the xemacs > window frame appear on my laptop and i am able to edit > files. the xemacs application accepts both mouse and > keyboard input. > problem: when i launch eclipse on the same linux host > I get the familiar eclipse logo appear in a window on > my laptop and then a dialog box appears asking me to > select my workspace. at this point the eclipse > application is hung. the dialog box will not accept > any mouse or keyboard input and i am forced to abandon > the application. the dialog box appears to be a motif > window. > anyone notice this problem before? I searched around > on the web and can't seem to find a similar problem. > thanks > --mike From mattiac@alinet.it Tue Apr 5 01:21:00 2005 From: mattiac@alinet.it (mattiac@alinet.it) Date: Tue, 05 Apr 2005 01:21:00 -0000 Subject: MAIL DELIVERY SYSTEM Message-ID: Here are your banks documents. From ahutchis@olivet.edu Tue Apr 5 23:54:00 2005 From: ahutchis@olivet.edu (Adam Hutchison) Date: Tue, 05 Apr 2005 23:54:00 -0000 Subject: 1.0 - question about openning Cygwin/X on a secondary display Message-ID: I'm trying to get Cygwin/X to open on a secodary display of a dual-monitor system. Cygwin is running on Windows XP SP2 and is connecting to a Solaris box using XDMCP. It opens with no problems on the primary display, and will also open using both displays when passed the '-multimonitor' option. I have also tried setting the DISPLAY variable to a different display (i.e. 127.0.0.1:1.0), but that didn't work (unless I did it wrong). Here is my batch file: @echo off REM %1 is remote host name or IP REM %2 is XDMCP display number and should be unique, for example 0 or 1 or 2 SET DISPLAY=127.0.0.1:0.0 REM REM Change REMOTE_HOST to the IP address or hostname of your remote host, REM unless your remote host happens to have the address 10.0.0.1. REM REM SET REMOTE_HOST=10.0.0.1 SET REMOTE_HOST=%1 REM REM The path in the CYGWIN_ROOT environment variable assignment assume REM that Cygwin is installed in a directory called 'cygwin' in the root REM directory of the current drive. You will only need to modify REM CYGWIN_ROOT if you have installed Cygwin in another directory. For REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need REM to change \cygwin to \foo\bar\baz\cygwin. REM REM This batch file will almost always be run from the same drive (and REM directory) as the drive that contains Cygwin/X, therefore you will REM not need to add a drive letter to CYGWIN_ROOT. For example, you do REM not need to change \cygwin to c:\cygwin if you are running this REM batch file from the C drive. REM SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB SET XNLSPATH=/usr/X11R6/lib/X11/locale REM REM Cleanup after last run. REM if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix REM REM Startup the X Server and attempt to connect to a remote XDM server. REM REM The error "Fatal server error: could not open default font 'fixed'" is REM caused by using a DOS mode mount for the mount that the Cygwin/X REM fonts are accessed through. See the Cygwin/X FAQ for more REM information: REM http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof REM if "%OS%" == "Windows_NT" goto OS_NT REM Windows 95/98/Me echo startxdmcp.bat - Starting on Windows 95/98/Me goto STARTUP :OS_NT REM Windows NT/2000/XP echo startxdmcp.bat - Starting on Windows NT/2000/XP :STARTUP REM REM A few examples of initiating an XDMCP connection are REM given below. The default is to connect to a specified host REM with -query. The second example connects to the first REM responding host with -broadcast. The third example shows REM how to connect to the font server of a remote host. REM REM See startxwin.bat for a description of the most typical REM command-line parameters for XWin.exe. REM REM Connect to a specified machine. REM %2 is display number run XWin :%2 -query %REMOTE_HOST% -nodecoration -lesspointer REM Connect to the first XDM machine to respond. REM run XWin -broadcast -nodecoration -lesspointer REM Connect to a specified machine and a specified font server. REM run XWin -query %REMOTE_HOST% -nodecoration -lesspointer -fp tcp/%REMOTE_HOST%:7100 Any help would be greatly appreciated. Thanks. --Adam From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 6 09:04:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 06 Apr 2005 09:04:00 -0000 Subject: 1.0 - question about openning Cygwin/X on a secondary display In-Reply-To: References: Message-ID: On Tue, 5 Apr 2005, Adam Hutchison wrote: > I'm trying to get Cygwin/X to open on a secodary display of a > dual-monitor system. Cygwin is running on Windows XP SP2 and is > connecting to a Solaris box using XDMCP. It opens with no problems on > the primary display, and will also open using both displays when passed > the '-multimonitor' option. I have also tried setting the DISPLAY > variable to a different display (i.e. 127.0.0.1:1.0), but that didn't > work (unless I did it wrong). Here is my batch file: XWin -screen 0 @2 will bring Cygwin/X up on the second screen. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From keithp@keithp.com Wed Apr 6 16:43:00 2005 From: keithp@keithp.com (Keith Packard) Date: Wed, 06 Apr 2005 16:43:00 -0000 Subject: xwin.org domain expires soon Message-ID: <1112805751.29231.2.camel@evo.keithp.com> the 'xwin.org' domain that I registered a few years ago is up for renewal in 5 days; if anyone would like to use it for cygwin, please let me know and we can transfer it instead of letting it expire. -keith From Phil.Betts@heis.co.uk Thu Apr 7 10:44:00 2005 From: Phil.Betts@heis.co.uk (Phil Betts) Date: Thu, 07 Apr 2005 10:44:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm Message-ID: On Thursday, March 31, 2005 7:10 PM, Alexander Gottwald wrote: >On Thu, 31 Mar 2005, Armbrust, Daniel C. wrote: > >> Because I execute the entire script twice, since the first >> execution doesn't bring up any xterms. >> >> Still not sure what is causing it to take so long to launch the >> xwin.exe. >> >> Can I set the timeout values on the xterm's with a flag? > > no. Use sleep to delay starting the xterms When I first started using Cygwin/X, I found that XWin.exe returns before it is really ready for business. This means that commands in startxwin.bat/whatever, such as xhost or xmodmap, try to communicate with the server while it is still initialising. To get around this, I added the following kludge to my startxwin.bat. It is essentially the same as the sleep solution, except that it only sleeps for as long as is necessary. If X is started by Windows startup, all manner of delays may mean that the sleep time that works 90% of the time will be too short 10% of the time. It works by waiting for the line to appear in the log file that announces its success. This hack has to go *immediately* after XWin.exe is started. You'll probably find that the line to set LASTLINE has become wrapped. Everything from SET to the second " is a single line. People using startx will need a similar solution, but will be able to use more elegant code instead of the unholy mess that CMD.EXE forced me to write! ---8<-------------------------------------------------------- set XWIN_LOG=%CYGWIN_TMP%\XWin.log set LASTLINE="XOpenDisplay () returned and successfully opened the display." set /a COUNT=0 :WAITFORLOG echo ...Waiting for X log file... sleep 1 set /a COUNT+=1 if not exist %XWIN_LOG% goto WAITFORLOG if %COUNT% GEQ 10 goto WARNFINISHOFF set /a COUNT=0 :WAITFORIT echo ...Waiting for X to complete initialisation... sleep 1 set /a COUNT+=1 if %COUNT% GEQ 30 goto WARNFINISHOFF %SYSTEMROOT%\system32\find.exe %LASTLINE% < %XWIN_LOG% > nul if errorlevel 1 goto WAITFORIT echo "X started OK" goto FINISHOFF :WARNFINISHOFF echo "WARNING: X doesn't appear to have started cleanly" sleep 5 :FINISHOFF --8<------------------------------------------------------- Not pretty, but it WFM. Note1: %CYGWIN_TMP% is the location of cygwin's /tmp as returned by the command "cygpath -d /tmp". Note2: The actual value used for LASTLINE should be taken from your own XWin.log following a successful start. As its name suggests, it's the last line from the file. (I.e. AFTER XWin.exe has really finished, but BEFORE any clients have been started) Note3: it uses windows' find.exe rather than cygwin's grep, because grep isn't (or wasn't) part of a minimal installation. Note4: if you hack startxwin.bat, save it under a different name e.g. mystartx.bat otherwise, the next time you update X, you'll lose your changes (you may detect the voice of bitter experience here ;-) Note5: There are too many notes for such a short bit of code! Of course, the *real* solution is for XWin to return only when it has completed ALL of its initialisation. My home PCs are now certified 100% Microsoft free :-), and there is no chance of me getting time to look at this at work, so unless someone else is prepared to do it, the above will have to suffice. Anyway, the above WFM, it may help solve some of the other problems people have been having with start-up. HTH, Phil -- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** From alexander.gottwald@s1999.tu-chemnitz.de Thu Apr 7 12:21:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Apr 2005 12:21:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm In-Reply-To: References: Message-ID: On Thu, 7 Apr 2005, Phil Betts wrote: > People using startx will need a similar solution, but will be able to > use more elegant code instead of the unholy mess that CMD.EXE forced > me to write! No. Startx uses xinit and xinit tries to connect to the xserver in the way a client would do and repeats it until the server is ready. > Of course, the *real* solution is for XWin to return only when it has > completed ALL of its initialisation. XWin does not "return" or anything like that. It's the way the process start works. You can either start a program and wait until it finished or continue right after the program started running. There are no simple mechanisms to send notice about finished startup. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From brian.keen@gmail.com Thu Apr 7 12:27:00 2005 From: brian.keen@gmail.com (Brian Keen) Date: Thu, 07 Apr 2005 12:27:00 -0000 Subject: xterm cursor jumping to start of line Message-ID: I've seen 3 or 4 postings about this problem but as yet have not seen anyone offer a solution. I am experiencing the same fault. I am using Microsoft wireless keyboard. I wonder if this is the common factor? I have not experienced this problem when running other applications. It does not happen when I am using the cygwin bash shell console window - only when I use an xterm. I may have to try a non-wireless keyboard to see if it makes a difference. Brian From brian.keen@gmail.com Thu Apr 7 12:59:00 2005 From: brian.keen@gmail.com (Brian Keen) Date: Thu, 07 Apr 2005 12:59:00 -0000 Subject: xterm cursor jumping to start of line Message-ID: Just tried my old Dell 'wired' keyboard and the cursor jumping problem does not happen. I have never been happy with wireless keyboards ever since I discovered that there is so much RFI coming from my 19" IIyama CRT monitor that I have to place the wireless receiver right next to the keyboard. That means it might just as well be connected using wires and save on batteries. Having said that, I guess there must sill be some kind of problem with the cygwin xterm software otherwise I would see the same fault when running other apps. From owen.rees@hp.com Thu Apr 7 13:29:00 2005 From: owen.rees@hp.com (Owen Rees) Date: Thu, 07 Apr 2005 13:29:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm In-Reply-To: References: Message-ID: --On 07 April 2005 14:21 +0200 Alexander Gottwald wrote: > No. Startx uses xinit and xinit tries to connect to the xserver in the > way a client would do and repeats it until the server is ready. That suggests another way to wait for the server. Run some suitably harmless (side-effect free) client in a loop until it succeeds before launching the xterm. "xrdb -query" seems a reasonable candidate. -- Owen Rees Hewlett Packard Laboratories, Bristol, UK From Phil.Betts@heis.co.uk Thu Apr 7 13:54:00 2005 From: Phil.Betts@heis.co.uk (Phil Betts) Date: Thu, 07 Apr 2005 13:54:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm Message-ID: On Thursday, April 07, 2005 1:21 PM, Alexander Gottwald wrote: >On Thu, 7 Apr 2005, Phil Betts wrote: > >> People using startx will need a similar solution, but will be able to >> use more elegant code instead of the unholy mess that CMD.EXE forced >> me to write! > > No. Startx uses xinit and xinit tries to connect to the xserver in the way > a client would do and repeats it until the server is ready. I'll bow to your superior knowledge, it's about 10 years since I last used startx in anger, and that was on Linux, where the X servers only exit on closedown. However (I'm just speculating here) the problems I was having with xhost/xmodmap were partly that the client programs "thought" they had executed correctly (i.e. no errors were raised and the return code was zero). Is it possible that xinit similarly thinks all is well? >> Of course, the *real* solution is for XWin to return only when it has >> completed ALL of its initialisation. > > XWin does not "return" or anything like that. It's the way the process start > works. You can either start a program and wait until it finished or continue > right after the program started running. There are no simple mechanisms to > send notice about finished startup. Reading between your lines, I assume you're saying that XWin is a regular Windows program, and it's all down to the way that WinMain is called. On Unixen, one would initialise first and then fork, to detach the server (or, more likely, leave it to the shell to place the server in the background), but I guess this is not practicable in a Windows environment. I'm happy with my hack for now, so I'm certainly not pushing for a change. Feel free to incorporate it into the distributed startxwin.bat if you want, although if you do, you may need to change the server to output a key phrase (e.g. "XWin Initialisation Complete") that is always output regardless of how it was started, instead of my more ad-hoc approach. Cheers, Phil ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** From alexander.gottwald@s1999.tu-chemnitz.de Thu Apr 7 19:58:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Apr 2005 19:58:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm In-Reply-To: References: Message-ID: On Thu, 7 Apr 2005, Phil Betts wrote: > I'll bow to your superior knowledge, it's about 10 years since I last > used startx in anger, and that was on Linux, where the X servers only > exit on closedown. However (I'm just speculating here) the problems I > was having with xhost/xmodmap were partly that the client programs > "thought" they had executed correctly (i.e. no errors were raised and > the return code was zero). Is it possible that xinit similarly thinks > all is well? I don't think so. > Reading between your lines, I assume you're saying that XWin is a > regular Windows program, and it's all down to the way that WinMain is > called. > > On Unixen, one would initialise first and then fork, to detach the > server (or, more likely, leave it to the shell to place the server in > the background), but I guess this is not practicable in a Windows > environment. Nothing forks except bash (or cmd or whatever) The xserver on unix does not put itself to background. It starts, accepts connections and exits sometime. Putting it in the background is exactly done by bash on "Xorg &" or by cmd.exe on "start XWin". I start XWin with a single shortcut. And clients later as I need them. Putting the xterm in the startup script is just for convenience and for preventing silly postings "I started startxwin.bat and there is nothing happening". Now people at least see a window. But then they complained "Calling startxwin.bat twice pops up an error message stating I started the xserver twice". This is just the third problem with a feature I consider completly useless. Maybe I should remove it and point the poeple to the users guide instead. > I'm happy with my hack for now, so I'm certainly not pushing for a > change. > > Feel free to incorporate it into the distributed startxwin.bat if you > want, although if you do, you may need to change the server to output > a key phrase (e.g. "XWin Initialisation Complete") that is always > output regardless of how it was started, instead of my more ad-hoc > approach. Sorry. I won't make any move towards adding a hack into the startup scripts. First thing people should do is fix their systems and remove the crappy zone alarm and symantec antivirus programs. They cause the problems (at least they did in all other cases which were reported over the last months). If someone does not want to remove them, they should start debugging cygwin.dll and find a solution to let the process startup work properly even with zone alarm in place. Something I don't have time for. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Apr 7 20:05:00 2005 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Apr 2005 20:05:00 -0000 Subject: xterm cursor jumping to start of line In-Reply-To: References: Message-ID: Brian Keen wrote: > I've seen 3 or 4 postings about this problem but as yet have not seen > anyone offer a solution. > I am experiencing the same fault. > I am using Microsoft wireless keyboard. I wonder if this is the common factor? > I have not experienced this problem when running other applications. > It does not happen when I am using the cygwin bash shell console > window - only when I use an xterm. > I may have to try a non-wireless keyboard to see if it makes a difference. I can't find any answer to the problem in the archives but I remember vaguely it was a driver problem with the wireless keyboard. It reported some keypresses which Xwin seems to interpret and the windows driver silently discards. But unfortunatly I have not more information on this. bye ago NP: Subway To Sally - Unsterblich -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From tdabbs@staktek.com Thu Apr 7 21:02:00 2005 From: tdabbs@staktek.com (Terry Dabbs) Date: Thu, 07 Apr 2005 21:02:00 -0000 Subject: X application fails Message-ID: <14CEE0B69DBDFC41A192613D8B4098CA012241A0@XCH-CORP.staktek.com> I'm new to cygwin/X. I installed the cygwin/X package, and an using it with the expectation it will provide a display for hpux clients. What does work: - I use either startxwin.bat -or- startxwin.sh, type xhost + in the shell, then go to the hpux machine and set the display, send "xrdb" commands, and "xterm" runs on my pc from the hpux client. Logging in with XDMCP works, it looks very good. What does not work: I have an X application, Agilent's HPSmarttest, which runs OK with reflections XDMCP, but with both methods above it gives the error message (in a window on the display server!) that it "can not create background window". Since it works using "Reflections", I assume there is some setting, or something that is not set by default. Any ideas? Thanks, Terry Dabbs Here's the log file: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: XWin was started with the following command line: XWin -multiwindow -clipboard -silent-dup-error ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning (WW) /tmp mounted int textmode _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. (II) XF86Config is not supported (II) See 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/f onts/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 () 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 "81" winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () (--) 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. winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. 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. AUDIT: Thu Apr 7 14:21:35 2005: 1892 XWin: client 5 rejected from IP 172.16.20.55 From hussain@stud.ntnu.no Fri Apr 8 00:07:00 2005 From: hussain@stud.ntnu.no (Rahil Hussain) Date: Fri, 08 Apr 2005 00:07:00 -0000 Subject: Xwin multiwindow Message-ID: <1112918841.4255cb39b3c4a@webmail.ntnu.no> Hi, I'm trying to run Xwin, but the multiwindow option won't work. The program just stops when it tries WinClipboardProc - Call to select(). How can this be fixed. I'm running the latest cygwin and xview on windows xp home Rahil From rodmedina@cantv.net Fri Apr 8 01:40:00 2005 From: rodmedina@cantv.net (Rodrigo Medina) Date: Fri, 08 Apr 2005 01:40:00 -0000 Subject: XWin crashes when finishing in W98. Message-ID: <410-220054581403232@cantv.net> Hi all, The cygwin1-20050407 snapshot cures the crashes of XWin previously reported in the cygwin-xfree mail-list. Bye From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 8 08:41:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 08 Apr 2005 08:41:00 -0000 Subject: X application fails In-Reply-To: <14CEE0B69DBDFC41A192613D8B4098CA012241A0@XCH-CORP.staktek.com> References: <14CEE0B69DBDFC41A192613D8B4098CA012241A0@XCH-CORP.staktek.com> Message-ID: On Thu, 7 Apr 2005, Terry Dabbs wrote: > I'm new to cygwin/X. I installed the cygwin/X package, and an using it > with the expectation it will provide a display for hpux clients. > > What does work: > - I use either startxwin.bat -or- startxwin.sh, type xhost + in the > shell, then go to the hpux machine and set the display, send "xrdb" > commands, and "xterm" runs on my pc from the hpux client. Logging in > with XDMCP works, it looks very good. > > What does not work: > I have an X application, Agilent's HPSmarttest, which runs OK with > reflections XDMCP, but with both methods above it gives the error > message (in a window on the display server!) that it "can not create > background window". Since it works using "Reflections", I assume there > is some setting, or something that is not set by default. Maybe it's a problem with the missing 8bit colorplane on Cygwin/X server. You might try to run Cygwin/X in 8bit mode (XWin -depth 8 -fullscreen) bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 8 08:42:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 08 Apr 2005 08:42:00 -0000 Subject: Xwin multiwindow In-Reply-To: <1112918841.4255cb39b3c4a@webmail.ntnu.no> References: <1112918841.4255cb39b3c4a@webmail.ntnu.no> Message-ID: On Fri, 8 Apr 2005, Rahil Hussain wrote: > Hi, > > I'm trying to run Xwin, but the multiwindow option won't work. The > program just stops when it tries WinClipboardProc - Call to select(). > How can this be fixed. This happends if you have some kind of personal firewalls like ZoneAlarm or Symantac antivirus installed. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 8 08:43:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 08 Apr 2005 08:43:00 -0000 Subject: XWin crashes when finishing in W98. In-Reply-To: <410-220054581403232@cantv.net> References: <410-220054581403232@cantv.net> Message-ID: On Thu, 7 Apr 2005, Rodrigo Medina wrote: > Hi all, > The cygwin1-20050407 snapshot cures the crashes of XWin > previously reported in the cygwin-xfree mail-list. Good to know. Thanks for looking after this. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Phil.Betts@heis.co.uk Fri Apr 8 11:55:00 2005 From: Phil.Betts@heis.co.uk (Phil Betts) Date: Fri, 08 Apr 2005 11:55:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm Message-ID: On Thursday, April 07, 2005 8:58 PM, Alexander Gottwald wrote: >On Thu, 7 Apr 2005, Phil Betts wrote: >> Is it possible that xinit similarly thinks all is well? > > I don't think so. Good. > Nothing forks except bash (or cmd or whatever) The xserver on unix does not > put itself to background. It starts, accepts connections and exits sometime. > Putting it in the background is exactly done by bash on "Xorg &" or by cmd.exe > on "start XWin". Which is exactly what I said it did, but then in the interests of brevity, I appear to have cut it out ;-) My point about forking was not specific to X, but to daemon startup (which is effectively what is happening with XWin) > I start XWin with a single shortcut. And clients later as I need them. Me too. > Putting > the xterm in the startup script is just for convenience and for preventing > silly postings "I started startxwin.bat and there is nothing happening". Now > people at least see a window. But then they complained "Calling startxwin.bat > twice pops up an error message stating I started the xserver twice". This is > just the third problem with a feature I consider completly useless. Maybe I > should remove it and point the poeple to the users guide instead. That would be my choice. It would help reinforce the difference between client and server and help to educate newcomers to X. It seems that a lot of the queries demonstrate a failure to grasp the fundamentals of how X works. Starting a client at the same time as the server only adds to the confusion. Perhaps the following could be added to startxwin.bat: IF NOT EXIST %HOME%\.X_run_before START http://x.cygwin.com/docs/ug/cygwin-x-ug.html ECHO 1 > %HOME%\.X_run_before Although I suspect the people who raise the questions are the very same people who would close the browser without reading it :( There would still be a problem with startx (unless cygwin's differs from Unix's) since it stops X once we fall off the end of the xinitrc script. If running an external window manager, that's not a problem, because that be the last client started. If using the internal multiwindow WM, there is no need to start a client, so the script would exit after starting X and immediately shut it down again. IIRC, there was talk a while back of making the multiwindow manager an external client. I don't know if anythng has been done in this direction, but if this were done, there would at least be a consistent startup for all WMs. An alternative that I've not seen raised before: I was wondering if it would be possible to run XWin as a Windows service (presumably via cygserver). The upside is that it would probably make more sense to those coming to X from a Windows background. The downside is that there are so many different ways to start X (i.e. local/remote, multiwindow/external WM etc.) that you'd still need to support the traditional startup methods. I know zip about the issues involved in running as a Windows service, but if it's simple, it may be something to consider, perhaps as a default installation. As a sidenote, historically (IMHO), X startup has been a bit of a mess. A lot of old X servers were started by running X and a WM in the background, then running xterm as a foreground task, just to enable switching (or more likely restarting) window managers. If they inadvertently closed the initial xterm, the poor user was stuffed! I know - I was that user! > Sorry. I won't make any move towards adding a hack into the startup scripts. > First thing people should do is fix their systems and remove the crappy zone > alarm and symantec antivirus programs. They cause the problems (at least they > did in all other cases which were reported over the last months). If someone > does not want to remove them, they should start debugging cygwin.dll and find > a solution to let the process startup work properly even with zone alarm in > place. Something I don't have time for. No need to apologise - like I said, it WFM so I'm happy :-) Finally, I've said it before, but it bears repeating: your efforts ARE appreciated. I've been getting the feeling lately from the jaded tone of some of your replies to the list that perhaps you feel taken for granted. Not by me. So thank you (and Kensuke et al too) for all your good work. Phil ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** From curtwell_taa@hotmail.com Fri Apr 8 14:48:00 2005 From: curtwell_taa@hotmail.com (Dag ........) Date: Fri, 08 Apr 2005 14:48:00 -0000 Subject: I have some problems whit my cygwin/x. Message-ID: When I try to start up cygwin/x whit the "startxwin.bat" I get a error message. The error message says: ------------------------------------------------- Error: Couldn't find xterm anywhere. I even looked in the PATH I also tried appending the following extensions: [1]: [2]: .exe ------------------------------------------------ Then there is another that says: "Error: Could not start C:\usr\X11R6\bin\XWin.exe -multiwindow -clipboard -silent-dup-error." What should I do about this? any help would be very welcome. Thanks, Dag Holmberg _________________________________________________________________ Hitta r??tt p?? n??tet med MSN S??k http://search.msn.se/ From pechtcha@cs.nyu.edu Fri Apr 8 14:58:00 2005 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Fri, 08 Apr 2005 14:58:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm In-Reply-To: References: Message-ID: On Fri, 8 Apr 2005, Phil Betts wrote: > IIRC, there was talk a while back of making the multiwindow manager an > external client. I don't know if anythng has been done in this > direction, but if this were done, there would at least be a consistent > startup for all WMs. There is an external MWWM client, but, IIRC, it doesn't work too well ATM. Kensuke would be the best person to talk about it, I guess... > An alternative that I've not seen raised before: I was wondering if it > would be possible to run XWin as a Windows service (presumably via > cygserver). Services are run by 'cygrunsrv', not 'cygserver'. 'cygserver' provides Unix shared memory and IPC services for Cygwin. > The upside is that it would probably make more sense to those coming to > X from a Windows background. The downside is that there are so many > different ways to start X (i.e. local/remote, multiwindow/external WM > etc.) that you'd still need to support the traditional startup methods. Well, I don't recall if XWin has a way of selecting the next available display (I do know it's not on by default, even if it exists), but that would be pretty much a must in coping with an X service when one needs to also start an XDMCP query, for example. > I know zip about the issues involved in running as a Windows service, > but if it's simple, it may be something to consider, perhaps as a > default installation. It's pretty simple to start a program as a service. One wouldn't want to have it as a default option, certainly, but a config script akin to that of other service packages (e.g., cron, openssh, cygserver, etc) that *installs* such a service for the user to start would be very useful. > As a sidenote, historically (IMHO), X startup has been a bit of a > mess. A lot of old X servers were started by running X and a WM in > the background, then running xterm as a foreground task, just to > enable switching (or more likely restarting) window managers. If they > inadvertently closed the initial xterm, the poor user was stuffed! I > know - I was that user! It would be trivial to write a "keepX" program that connects to the server and does nothing (but is a client, so X stays around even if no other clients are present). If such a program were contributed to the xorg packages (or, better yet, the upstream X distribution), the default xinitrc could invoke it in the background before the xterm. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From mark.paulus@mci.com Fri Apr 8 16:11:00 2005 From: mark.paulus@mci.com (Mark Paulus) Date: Fri, 08 Apr 2005 16:11:00 -0000 Subject: I have some problems whit my cygwin/x. In-Reply-To: Message-ID: <0IEM006CKYAODZ@pmismtp01.mcilink.com> Have you installed the xterm package? If you have installed the xterm package, then you either need to add /usr/x11r6/bin to your path (And any scripts that might be used to invoke xterm), or create a soft link from /usr/x11r6/bin/xterm.exe to /usr/bin/xterm.exe. On Fri, 08 Apr 2005 14:48:47 +0000, Dag ........ wrote: >When I try to start up cygwin/x whit the "startxwin.bat" I get a error >message. >The error message says: >------------------------------------------------- >Error: Couldn't find xterm anywhere. >I even looked in the PATH >I also tried appending the following extensions: >[1]: >[2]: .exe >------------------------------------------------ >Then there is another that says: >"Error: Could not start C:\usr\X11R6\bin\XWin.exe -multiwindow -clipboard >-silent-dup-error." >What should I do about this? any help would be very welcome. >Thanks, Dag Holmberg >_________________________________________________________________ >Hitta r?tt p? n?tet med MSN S?k http://search.msn.se/ From Phil.Betts@heis.co.uk Fri Apr 8 16:34:00 2005 From: Phil.Betts@heis.co.uk (Phil Betts) Date: Fri, 08 Apr 2005 16:34:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm Message-ID: On Friday, April 08, 2005 3:58 PM, Igor Pechtchanski wrote: > On Fri, 8 Apr 2005, Phil Betts wrote: >> An alternative that I've not seen raised before: I was wondering if it >> would be possible to run XWin as a Windows service (presumably via >> cygserver). > > Services are run by 'cygrunsrv', not 'cygserver'. 'cygserver' provides > Unix shared memory and IPC services for Cygwin. Indeed. A communication glitch between my brain and fingers I fear. >Well, I don't recall if XWin has a way of selecting the next available >display (I do know it's not on by default, even if it exists), but that >would be pretty much a must in coping with an X service when one needs to >also start an XDMCP query, for example. Unless it's been slipped in quietly, I don't believe it does. Even if it's possible, I think that until newbies stop running startxwin.bat in order to get an xterm, it's safer to leave this option well hidden, otherwise users will end up with 50 servers running at once and the list will be full of out-of-memory complaints! >> I know zip about the issues involved in running as a Windows service, >> but if it's simple, it may be something to consider, perhaps as a >> default installation. > >It's pretty simple to start a program as a service. One wouldn't want to >have it as a default option, certainly, but a config script akin to that >of other service packages (e.g., cron, openssh, cygserver, etc) that >*installs* such a service for the user to start would be very useful. It wasn't the starting per se that I was concerned about. I was wondering whether the exe would need to be changed. I.e. XWin.exe is a Windows application (WinMain and all that), can *any* Windows application be started as a service, or do they need special initialisation code and/or linkage? Is there not some issue over whether services can be interactive (which XWin certainly is)? >It would be trivial to write a "keepX" program that connects to the server >and does nothing (but is a client, so X stays around even if no other >clients are present). If such a program were contributed to the xorg >packages (or, better yet, the upstream X distribution), the default >xinitrc could invoke it in the background before the xterm. An interesting idea. If I get time this weekend I'll knock one up on Linux, but I'll only be able to test it on XWin on Monday. Surely its place would be in the foreground after starting xterm in the background. startx quits when the xinitrc script has finished, not when the last client closes. I.e. if your xinitrc ends like this: xterm -title xterm1 & exec xterm -title xterm2 Closing xterm2 would close X (on Unix at least), regardless of whether xterm1 was still running or not. Changing this to: xterm -title xterm1 & xterm -title xterm2 & exec keepX would leave you free to close either or both xterms without losing X. Only once keepX was killed would X close. This is getting a bit OT, but it strikes me that "keepX" would be a more logical place for the trayicon menu handling code. If the icon is also an X window (or can be regarded as such by an X application), it should be relatively easy for an X client to attach a menu to it, and it would be easier to reconfigure a lightweight client than having to restart the server. Comments? Cheers, Phil -- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** From tdabbs@staktek.com Fri Apr 8 17:29:00 2005 From: tdabbs@staktek.com (Terry Dabbs) Date: Fri, 08 Apr 2005 17:29:00 -0000 Subject: X application fails Message-ID: <14CEE0B69DBDFC41A192613D8B4098CA0126F9CD@XCH-CORP.staktek.com> Thanks, I won't be able to try it until Monday. On vacation today, so no direct access. I will let you know... Terry -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Alexander Gottwald Sent: Friday, April 08, 2005 3:41 AM To: cygwin-xfree@cygwin.com Subject: Re: X application fails On Thu, 7 Apr 2005, Terry Dabbs wrote: > I'm new to cygwin/X. I installed the cygwin/X package, and an using it > with the expectation it will provide a display for hpux clients. > > What does work: > - I use either startxwin.bat -or- startxwin.sh, type xhost + in the > shell, then go to the hpux machine and set the display, send "xrdb" > commands, and "xterm" runs on my pc from the hpux client. Logging in > with XDMCP works, it looks very good. > > What does not work: > I have an X application, Agilent's HPSmarttest, which runs OK with > reflections XDMCP, but with both methods above it gives the error > message (in a window on the display server!) that it "can not create > background window". Since it works using "Reflections", I assume there > is some setting, or something that is not set by default. Maybe it's a problem with the missing 8bit colorplane on Cygwin/X server. You might try to run Cygwin/X in 8bit mode (XWin -depth 8 -fullscreen) bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From abonilla@linuxwireless.org Fri Apr 8 17:46:00 2005 From: abonilla@linuxwireless.org (Alejandro Bonilla) Date: Fri, 08 Apr 2005 17:46:00 -0000 Subject: new install, errors while startx. Message-ID: <005501c53c62$caff07a0$9f0cc60a@amer.sykes.com> Hi, I'm new to the list, probably someone can help me with this. I'm really stressed that this is not working, and probably because something came in corrupted... I'm installing over a Windows 2000 box with SP4. This PC is joined into a Domain Controller. anyway... This is what happends. I have included a screenshot 6kb file. This same error comes up when loading X and when I was installing cygwin at like the 90%. I can give more info on the debug of when X is starting up, but I'm currently doing a reinstall to all. ( I did not delete the source. I hope the MD5 is OK) Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: lib.gif Type: image/gif Size: 6593 bytes Desc: not available URL: From gkamendje@ubitrak.com Fri Apr 8 18:08:00 2005 From: gkamendje@ubitrak.com (Guy-Armand Kamendje) Date: Fri, 08 Apr 2005 18:08:00 -0000 Subject: keyboard layout french canada Message-ID: Could someone include this keyboard layout in the supported list. winConfigKeyboard - Layout: "00001009" (00001009) Keyboardlayout "Franais (Canada)" (00001009) is unknown Ubitrak Inc 740, rue St Maurice Suite 201 Montreal, Quebec, H3C 1L5 Canada Tel 514 313 9369 #225 Fax 514 313 9509 From pechtcha@cs.nyu.edu Fri Apr 8 22:47:00 2005 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Fri, 08 Apr 2005 22:47:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm In-Reply-To: References: Message-ID: On Fri, 8 Apr 2005, Phil Betts wrote: > On Friday, April 08, 2005 3:58 PM, Igor Pechtchanski wrote: > > >Well, I don't recall if XWin has a way of selecting the next available > >display (I do know it's not on by default, even if it exists), but that > >would be pretty much a must in coping with an X service when one needs > >to also start an XDMCP query, for example. > > Unless it's been slipped in quietly, I don't believe it does. Even if > it's possible, I think that until newbies stop running startxwin.bat > in order to get an xterm, it's safer to leave this option well > hidden, otherwise users will end up with 50 servers running at once > and the list will be full of out-of-memory complaints! Very true. However, if this weren't default behavior, but the user needed to supply an extra option (-picknextdisplay, for example, in the fine tradition of X option naming) this would be very useful. > >> I know zip about the issues involved in running as a Windows service, > >> but if it's simple, it may be something to consider, perhaps as a > >> default installation. > > > >It's pretty simple to start a program as a service. One wouldn't want > >to have it as a default option, certainly, but a config script akin to > >that of other service packages (e.g., cron, openssh, cygserver, etc) > >that *installs* such a service for the user to start would be very > >useful. > > It wasn't the starting per se that I was concerned about. I was > wondering whether the exe would need to be changed. I.e. XWin.exe is a > Windows application (WinMain and all that), can *any* Windows > application be started as a service, or do they need special > initialisation code and/or linkage? Is there not some issue over > whether services can be interactive (which XWin certainly is)? Interactive services can only run as SYSTEM, IIRC. Other than that, the precise goal of cygrunsrv was to allow any program to run as service, without any special initialization code. Given that XWin is a half Windows/half Cygwin application (linked to both), there shouldn't be problems with Cygwin ptys, etc. The PATH for the service, of course, should contain all the directories where the necessary libraries reside. > >It would be trivial to write a "keepX" program that connects to the > >server and does nothing (but is a client, so X stays around even if no > >other clients are present). If such a program were contributed to the > >xorg packages (or, better yet, the upstream X distribution), the > >default xinitrc could invoke it in the background before the xterm. > > An interesting idea. If I get time this weekend I'll knock one up on > Linux, but I'll only be able to test it on XWin on Monday. > > Surely its place would be in the foreground after starting xterm in > the background. startx quits when the xinitrc script has finished, > not when the last client closes. I.e. if your xinitrc ends like this: > > xterm -title xterm1 & > exec xterm -title xterm2 > > Closing xterm2 would close X (on Unix at least), regardless of whether > xterm1 was still running or not. > > Changing this to: > xterm -title xterm1 & > xterm -title xterm2 & > exec keepX > would leave you free to close either or both xterms without losing X. > Only once keepX was killed would X close. True. I didn't think of that. > This is getting a bit OT, but it strikes me that "keepX" would be a > more logical place for the trayicon menu handling code. If the icon > is also an X window (or can be regarded as such by an X application), > it should be relatively easy for an X client to attach a menu to it, > and it would be easier to reconfigure a lightweight client than > having to restart the server. Comments? As you said, an interesting idea... :-) Unfortunately, if you use keepX as the last client, restarting it will kill the server anyway... In any case, the keepX utility, if it's ever written, should be submitted to the upstream X.org project, so that it could be used by any X implementation. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From Alexander.Gottwald@s1999.tu-chemnitz.de Sat Apr 9 10:33:00 2005 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sat, 09 Apr 2005 10:33:00 -0000 Subject: Multiple XWin.exe programs loading and no xterm In-Reply-To: References: Message-ID: Igor Pechtchanski wrote: > > An alternative that I've not seen raised before: I was wondering if it > > would be possible to run XWin as a Windows service (presumably via > > cygserver). > > Services are run by 'cygrunsrv', not 'cygserver'. 'cygserver' provides > Unix shared memory and IPC services for Cygwin. Services normally don't have access to the desktop. They run as a special user account and all graphics operations are discarded by default. You can of course allow it to access the desktop, but that would somehow defeat the purpose of services. Instead one could create a shortcut to cygwin/X and place it in the autostart group. > Well, I don't recall if XWin has a way of selecting the next available > display (I do know it's not on by default, even if it exists), but that > would be pretty much a must in coping with an X service when one needs to > also start an XDMCP query, for example. Automatic display selection will create huge problems. People wither start multiple instances of Xwin without noticing or they start an xserver and don't know which display to use or they still uses :0.0 and wonder why the xterm does not display and the other logged in user wonders why a xterm pops up on his display. bye ago NP: VNV Nation - Untitled -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Sat Apr 9 10:37:00 2005 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sat, 09 Apr 2005 10:37:00 -0000 Subject: new install, errors while startx. In-Reply-To: <005501c53c62$caff07a0$9f0cc60a@amer.sykes.com> References: <005501c53c62$caff07a0$9f0cc60a@amer.sykes.com> Message-ID: Alejandro Bonilla wrote: > Hi, > > I'm new to the list, probably someone can help me with this. I'm really > stressed that this is not working, and probably because something came in > corrupted... > I'm installing over a Windows 2000 box with SP4. This PC is joined into a > Domain Controller. anyway... This is what happends. make sure you have the libXft2 packages installed bye ago NP: VNV Nation - Untitled -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Sat Apr 9 10:44:00 2005 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sat, 09 Apr 2005 10:44:00 -0000 Subject: keyboard layout french canada In-Reply-To: <20050409102218.A0B9618E91@stargate.ago.vpn> References: <20050409102218.A0B9618E91@stargate.ago.vpn> Message-ID: Guy-Armand Kamendje wrote: > Could someone include this keyboard layout in the supported list. > > winConfigKeyboard - Layout: "00001009" (00001009) > Keyboardlayout "Franais (Canada)" (00001009) is unknown I've assigned the layout "ca". Is this correct? bye ago NP: VNV Nation - Solitary (signals version) -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From rubenh10@netscape.net Sat Apr 9 17:13:00 2005 From: rubenh10@netscape.net (Ruben Herrera) Date: Sat, 09 Apr 2005 17:13:00 -0000 Subject: proglem when changing name of computer Message-ID: <38329CEF.321D68E4.00A9AF09@netscape.net> To create a LAN an home with my XP laptop, I decided to change the name of the machine. But once I changed the name of the machine and made the network worked, the Cygwin installation that I had on my laptop previously stoped working. The xserver doesn't work, and I need to do "kill -9" to stop it. Not only that, but Cygwin itself doesn't respond to the exit command and I need to kill the application in order to close the Cygwin console window. I uninstalled Cygwin, erased the Cygwin directory, and installed Cygwin again (not using "reinstall"), but the problem persisted. I'm afraid I need to change something on XP to make this thing to work, but I don't know what. Please, let me know of a solution diferent from reinstalling XP. Thank you for your help. -Ruben Herrera __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp From brian@dessent.net Sun Apr 10 03:23:00 2005 From: brian@dessent.net (Brian Dessent) Date: Sun, 10 Apr 2005 03:23:00 -0000 Subject: GTK+, CYGWIN & MSW References: Message-ID: <42589D2C.1CEEBB38@dessent.net> Jamiil Abdullah-Alkadir wrote: > I have finally got an application to compile under cygwin, but to run it I > have to launch the X server, 'startx' to be able to run the program under > cygwin. However, I am not able to run the program form windows, I have added > the 'cygwin.dll' and 'cygX11-6.dll' directories to the 'autoexec.bat' > '%path%'. the program just does not run. What can I do to get this fixed? What precisely do you mean by "I am not able to run the program from windows"? How are you trying to run it, clicking on its .exe icon? What happens? Do you get an error or any kind of message? You haven't given enough information about the problem you're having. I doubt you'll ever be able to just click on the .exe and have it work. X11 applications require an X server, so the minimal amount that would be required would be a .bat file (or a .sh file or a .cmd file or a launcher program or ...) that launches the X server with the correct options and then runs the program. Also, this is more appropriate for the cygwin-xfree list if this is an X11 program. Please send replies there. Brian From css@kenwood-electronics.com.my Mon Apr 11 07:39:00 2005 From: css@kenwood-electronics.com.my (Service Inquiry) Date: Mon, 11 Apr 2005 07:39:00 -0000 Subject: Yr mail has been received Message-ID: <10504111539.AA03176@kenwood-electronics.com.my> Yr mail has been received From ariel.burbaickij@gmail.com Mon Apr 11 09:57:00 2005 From: ariel.burbaickij@gmail.com (Ariel Burbaickij) Date: Mon, 11 Apr 2005 09:57:00 -0000 Subject: cmdtool from Solaris standard package generates some errors presented on the console and nothing more Message-ID: <3058f9b405041102572917ffb2@mail.gmail.com> Hello dear mailing list participants, while trying to open cmdtool in te X11 displayback mode directed towards machine with cygwin X free environment running I get following: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 7 (X_ReparentWindow) Resource id in failed request: 0x3a Serial number of failed request: 48 Current serial number in output stream: 50 What does it mean and How can I hope with it? Would be glad to get some help from you. With Best Regards Ariel Burbaickij From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 11 10:14:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 11 Apr 2005 10:14:00 -0000 Subject: cmdtool from Solaris standard package generates some errors presented on the console and nothing more In-Reply-To: <3058f9b405041102572917ffb2@mail.gmail.com> References: <3058f9b405041102572917ffb2@mail.gmail.com> Message-ID: On Mon, 11 Apr 2005, Ariel Burbaickij wrote: > Hello dear mailing list participants, > while trying to open cmdtool in te X11 > displayback mode directed towards > machine with cygwin X free environment > running I get following: > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 7 (X_ReparentWindow) > Resource id in failed request: 0x3a > Serial number of failed request: 48 > Current serial number in output stream: 50 > > What does it mean and How can I hope with it? > > Would be glad to get some help from you. Quite a strange error. Maybe it tries to set the window parent to some windowmanager window which does not exist in multiwindow mode. Or it expects the CDE desktop to be present. does it happen in non-multiwindow mode too? bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From ariel.burbaickij@gmail.com Mon Apr 11 10:44:00 2005 From: ariel.burbaickij@gmail.com (Ariel Burbaickij) Date: Mon, 11 Apr 2005 10:44:00 -0000 Subject: cmdtool from Solaris standard package generates some errors presented on the console and nothing more In-Reply-To: References: <3058f9b405041102572917ffb2@mail.gmail.com> Message-ID: <3058f9b405041103443bab29fe@mail.gmail.com> Thank you for quick response. I observed it in non-multiwindow mode, so I guess the question should be other way round ;-) On Apr 11, 2005 11:14 AM, Alexander Gottwald wrote: > On Mon, 11 Apr 2005, Ariel Burbaickij wrote: > > > Hello dear mailing list participants, > > while trying to open cmdtool in te X11 > > displayback mode directed towards > > machine with cygwin X free environment > > running I get following: > > X Error of failed request: BadWindow (invalid Window parameter) > > Major opcode of failed request: 7 (X_ReparentWindow) > > Resource id in failed request: 0x3a > > Serial number of failed request: 48 > > Current serial number in output stream: 50 > > > > What does it mean and How can I hope with it? > > > > Would be glad to get some help from you. > > Quite a strange error. Maybe it tries to set the window parent to > some windowmanager window which does not exist in multiwindow mode. > Or it expects the CDE desktop to be present. > > does it happen in non-multiwindow mode too? > > bye > ago > -- > Alexander.Gottwald@s1999.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 > From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 11 11:09:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 11 Apr 2005 11:09:00 -0000 Subject: cmdtool from Solaris standard package generates some errors presented on the console and nothing more In-Reply-To: <3058f9b405041103443bab29fe@mail.gmail.com> References: <3058f9b405041102572917ffb2@mail.gmail.com> <3058f9b405041103443bab29fe@mail.gmail.com> Message-ID: On Mon, 11 Apr 2005, Ariel Burbaickij wrote: > Thank you for quick response. > I observed it in non-multiwindow mode, so > I guess the question should be other way > round ;-) Then I'd expect it to be a bug in cmdtool. The windowed mode is very simple and all applications should work fine with it. I had observed several strange errors with solaris tools if some fonts were not available or the display was running in 16 bit color mode. But none of them match the error message. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From ariel.burbaickij@gmail.com Mon Apr 11 11:13:00 2005 From: ariel.burbaickij@gmail.com (Ariel Burbaickij) Date: Mon, 11 Apr 2005 11:13:00 -0000 Subject: cmdtool from Solaris standard package generates some errors presented on the console and nothing more In-Reply-To: References: <3058f9b405041102572917ffb2@mail.gmail.com> <3058f9b405041103443bab29fe@mail.gmail.com> Message-ID: <3058f9b405041104132592f96a@mail.gmail.com> Well, then I will try my luck with people from Solaris newsgroup. Thank you for your help, nevertheless On Apr 11, 2005 12:09 PM, Alexander Gottwald wrote: > On Mon, 11 Apr 2005, Ariel Burbaickij wrote: > > > Thank you for quick response. > > I observed it in non-multiwindow mode, so > > I guess the question should be other way > > round ;-) > > Then I'd expect it to be a bug in cmdtool. The windowed > mode is very simple and all applications should work fine > with it. I had observed several strange errors with > solaris tools if some fonts were not available or the > display was running in 16 bit color mode. But none of them > match the error message. > > bye > ago > -- > Alexander.Gottwald@s1999.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 > From a.flavell@physics.gla.ac.uk Mon Apr 11 12:57:00 2005 From: a.flavell@physics.gla.ac.uk (Alan J. Flavell) Date: Mon, 11 Apr 2005 12:57:00 -0000 Subject: Non-admin users, /tmp/.X11-unix/X0 permissions Message-ID: We have encountered a problem when different non-admin users try to use Cygwin/X on the same Windows system (at different times, I mean). This is with a standard Cygwin/X installation, as far as I can tell, so I'm rather surprised by how little discussion I found of this in the archives. After one normal user has run Cygwin/X, the next user gets told that s/he can't write to /tmp/.X11-unix/X0 The reason seems to be that the directory /tmp/.X11-unix has the "t" bit set (drwxrwxrwt), which means that normal users aren't allowed to mess with files that they don't own. Thus, the first user creates X0 with their ownership, the "file" then hangs around till the second user tries to run Cygwin/X, and they get told they can't overwrite it. The problem can be trivially resolved by removing the "t" bit from the directory - but presumably that represents a security exposure? If you want a specific release: we were chiefly using 6.8.1.0-9, but the problem is not confined to that release. This item in the archives seems to be only tangentially relevant: http://sourceware.org/ml/cygwin-xfree/2005-03/msg00058.html whose Subject is "using cygwin/x as non-administrator doesn't work" (which is not exactly the problem that we are getting, since the *first* non-administrator has no problems starting Cygwin/X as many times as they want to - the problem is with the second - and subsequent - users). The response in the archive is a bit vague: | You can allow other users to write to /tmp/.X11-unix, or have a /tmp | directory for every user where the user can create files at will. The first part of that would "solve" a problem that we haven't got: the issue is *not* that ordinary users can't write to the *directory*, -but- that, by virtue of the "t" bit, they can't interfere with files left there by someone else. Hence this standoff with X0. The second part of the suggestion presumably involves symlinking /tmp to something which has the user name in it, so that /tmp is a different actual path for each user? Is there some concrete, tried-and-tested, advice for resolving this situation, by whatever means, please? (And if it's entirely reliable, how about folding it into the released product?). Then there's this comment in the covering mail: | I suspect that this is due to having turned off the "Server" service | in XP. What was that about, please, and could it represent an alternative resolution of the problem which we are experiencing? thanks for any constructive advice. As a secondary point, could I mention some misleading trails? As someone had said in earlier discussion in the mail archives, it seems that this line in the log: _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root is a red-herring and should be ignored. And furthermore, that the subsequent lines _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server already running represents an incorrect deduction based on the preceding error - the server is *not* already running. The system also offered us this advice, in the course of investigations: Your group is currently "mkpasswd". This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] > /etc/passwd mkgroup -l [-d] > /etc/group Note that the -d switch is necessary for domain users. which, after consulting documentation and archives, we concluded was not a solution to our problem (albeit possibly a useful thing to do for unrelated reasons). Initially, time was wasted trying to follow-up these misleading diagnostics in the mistaken belief that they would resolve the original problem - would it be feasible to at least re-word them so that they don't lay false trails? But that's a side-issue. -- From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 11 13:36:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 11 Apr 2005 13:36:00 -0000 Subject: Non-admin users, /tmp/.X11-unix/X0 permissions In-Reply-To: References: Message-ID: On Mon, 11 Apr 2005, Alan J. Flavell wrote: > whose Subject is "using cygwin/x as non-administrator doesn't work" > (which is not exactly the problem that we are getting, since the > *first* non-administrator has no problems starting Cygwin/X as many > times as they want to - the problem is with the second - and > subsequent - users). > > The response in the archive is a bit vague: > > | You can allow other users to write to /tmp/.X11-unix, or have a /tmp > | directory for every user where the user can create files at will. > > The first part of that would "solve" a problem that we haven't got: > the issue is *not* that ordinary users can't write to the *directory*, > -but- that, by virtue of the "t" bit, they can't interfere with files > left there by someone else. Hence this standoff with X0. > > The second part of the suggestion presumably involves symlinking /tmp > to something which has the user name in it, so that /tmp is a > different actual path for each user? You could assign each user a different /tmp path via mount mount -buf 'd:\temp\$USER' /tmp This way the files don't interfere > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > > is a red-herring and should be ignored. And furthermore, that > the subsequent lines > > _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed > _XSERVTransMakeAllCOTSServerListeners: server already running > > represents an incorrect deduction based on the preceding error - the > server is *not* already running. On unix the xserver is installed as setuid root and can handle those permission problems by overruling the permissions with its root permissions. On cygwin this is not possible. Does it help if the t flag is cleared? Then we could create the directory without the flag instead. I don't care for filesystem security on windows anyway. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From me@subnet142.com Mon Apr 11 15:54:00 2005 From: me@subnet142.com (Peter Woo) Date: Mon, 11 Apr 2005 15:54:00 -0000 Subject: Non-admin users, /tmp/.X11-unix/X0 permissions In-Reply-To: References: Message-ID: <425A9D9E.8030208@subnet142.com> I guess in /usr/X11R6/bin/startxwin.bat, they circumvent the problem by removing the .X11-unix directory at start: :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix P. Alan J. Flavell wrote: >We have encountered a problem when different non-admin users try to >use Cygwin/X on the same Windows system (at different times, I mean). >This is with a standard Cygwin/X installation, as far as I can tell, >so I'm rather surprised by how little discussion I found of this in >the archives. > >After one normal user has run Cygwin/X, the next user gets told that >s/he can't write to /tmp/.X11-unix/X0 > >The reason seems to be that the directory /tmp/.X11-unix has >the "t" bit set (drwxrwxrwt), which means that normal users >aren't allowed to mess with files that they don't own. > >Thus, the first user creates X0 with their ownership, the "file" then >hangs around till the second user tries to run Cygwin/X, and they get >told they can't overwrite it. > >The problem can be trivially resolved by removing the "t" bit from the >directory - but presumably that represents a security exposure? > >If you want a specific release: we were chiefly using 6.8.1.0-9, but >the problem is not confined to that release. > > >This item in the archives seems to be only tangentially relevant: > >http://sourceware.org/ml/cygwin-xfree/2005-03/msg00058.html > >whose Subject is "using cygwin/x as non-administrator doesn't work" >(which is not exactly the problem that we are getting, since the >*first* non-administrator has no problems starting Cygwin/X as many >times as they want to - the problem is with the second - and >subsequent - users). > >The response in the archive is a bit vague: > >| You can allow other users to write to /tmp/.X11-unix, or have a /tmp >| directory for every user where the user can create files at will. > >The first part of that would "solve" a problem that we haven't got: >the issue is *not* that ordinary users can't write to the *directory*, >-but- that, by virtue of the "t" bit, they can't interfere with files >left there by someone else. Hence this standoff with X0. > >The second part of the suggestion presumably involves symlinking /tmp >to something which has the user name in it, so that /tmp is a >different actual path for each user? > >Is there some concrete, tried-and-tested, advice for resolving this >situation, by whatever means, please? (And if it's entirely reliable, >how about folding it into the released product?). > >Then there's this comment in the covering mail: > >| I suspect that this is due to having turned off the "Server" service >| in XP. > >What was that about, please, and could it represent an alternative >resolution of the problem which we are experiencing? > >thanks for any constructive advice. > > >As a secondary point, could I mention some misleading trails? > >As someone had said in earlier discussion in the mail archives, it >seems that this line in the log: > > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > >is a red-herring and should be ignored. And furthermore, that >the subsequent lines > > _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed > _XSERVTransMakeAllCOTSServerListeners: server already running > >represents an incorrect deduction based on the preceding error - the >server is *not* already running. > >The system also offered us this advice, in the course of >investigations: > > Your group is currently "mkpasswd". This indicates that > the /etc/passwd (and possibly /etc/group) files should be rebuilt. > See the man pages for mkpasswd and mkgroup then, for example, run > mkpasswd -l [-d] > /etc/passwd > mkgroup -l [-d] > /etc/group > Note that the -d switch is necessary for domain users. > >which, after consulting documentation and archives, we concluded >was not a solution to our problem (albeit possibly a useful thing to >do for unrelated reasons). > >Initially, time was wasted trying to follow-up these misleading >diagnostics in the mistaken belief that they would resolve the >original problem - would it be feasible to at least re-word them so >that they don't lay false trails? But that's a side-issue. > > > From gctaylor2004-cygwin@yahoo.com Mon Apr 11 16:08:00 2005 From: gctaylor2004-cygwin@yahoo.com (Gary Taylor) Date: Mon, 11 Apr 2005 16:08:00 -0000 Subject: How do I get titlebars on client application windows in non-multiwindow mode? Message-ID: <20050411160743.66316.qmail@web40726.mail.yahoo.com> I've recently installed cygwin-xfree 6.8.2.0-1 and cannot figure out how to get titlebars on my windows. How is this done? Thank-you, Gary --- ~ cat startwin.bat @echo off SET DISPLAY=127.0.0.1:0.0 SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB SET XNLSPATH=/usr/X11R6/lib/X11/locale if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix if "%OS%" == "Windows_NT" goto OS_NT REM Windows 95/98/Me echo startxwin.bat - Starting on Windows 95/98/Me goto STARTUP :OS_NT REM Windows NT/2000/XP/2003 echo startxwin.bat - Starting on Windows NT/2000/XP/2003 :STARTUP run XWin -clipboard -silent-dup-error REM Startup an xterm, using bash as the shell. run xterm -geometry 80x25+4+4 -sl 1000 -sb -rightbar -ms blue -fg black -bg white -e /usr/bin/bash -l run xterm -geometry 80x25-4-4 -sl 1000 -sb -rightbar -ms blue -fg black -bg white -e /usr/bin/bash -l run xterm -geometry 80x25-4 -title -sl 1000 -sb -rightbar -ms blue -fg black -bg white -e /usr/bin/bash -l run xterm -geometry 80x25+4-4 -title test -sl 1000 -sb -rightbar -ms blue -fg black -bg white -e /usr/bin/bash -l ------------------------------- Cygwin Configuration Diagnostics Current System Time: Mon Apr 11 08:28:44 2005 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem\ c:\j2sdk1.4.2_02\bin c:\Program Files\Common Files\GTK\2.0\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 12967(garyta) GID: 10545(mkgroup-l-d) 10545(mkgroup-l-d) Output from C:\cygwin\bin\id.exe (ntsec) UID: 12967(garyta) GID: 10545(mkgroup-l-d) 0(root) 544(Administrators) 545(Users) 1006(Debugger Users) 10545(mkgroup-l-d) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `C:\cygwin\home\garyta' MAKE_MODE = `unix' PWD = `/home/garyta' USER = `garyta' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\garyta\Application Data' CLIENTNAME = `Console' COLORFGBG = `0;default;15' COLORTERM = `rxvt-xpm' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' DISPLAY = `:0' HOMEDRIVE = `Q:' HOMEPATH = `\' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:' LOGONSERVER = `\\DC-BHM1' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PRINTER = `ActiveTouch Document Loader' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0803' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\garyta\LOCALS~1\Temp' TERM = `xterm' TMP = `c:\DOCUME~1\garyta\LOCALS~1\Temp' USERNAME = `garyta' USERPROFILE = `C:\Documents and Settings\garyta' WINDIR = `C:\WINDOWS' WINDOWID = `168114600' _ = `/usr/bin/cygcheck' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/mnt/NX/fonts (default) = `C:\Program Files\NX Client for Windows\usr\X11R6\lib\X11\fonts' HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/tmp (default) = `C:\Documents and Settings\garyta\.nx\tmp' HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/mnt/NX/fonts (default) = `C:\Program Files\NX Client for Windows\usr\X11R6\lib\X11\fonts' HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 38162Mb 85% CP CS UN PA FC d: cd N/A N/A C:\Program Files\NX Client for Windows\usr\X11R6\lib\X11\fonts /mnt/NX/fonts user textmode C:\Documents and Settings\garyta\.nx\tmp /tmp user textmode C:\cygwin / system binmode C:\Program Files\NX Client for Windows\usr\X11R6\lib\X11\fonts /mnt/NX/fonts system textmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Not Found: cpp (good!) Found: C:\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Found: C:\cygwin\bin\grep.exe Not Found: ld Found: C:\cygwin\bin\ls.exe Not Found: make Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe 55k 2004/09/14 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2004/9/13 21:16 18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0 "cygcharset-1.dll" v0.0 ts=2004/7/6 11:09 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57 852k 2005/03/23 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.7.dll" v0.0 ts=2005/3/23 2:16 174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0 "cygexpat-0.dll" v0.0 ts=2004/10/14 1:34 129k 2004/03/11 C:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0 "cygfontconfig-1.dll" v0.0 ts=2004/3/10 16:12 40k 2004/10/10 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0 "cygform-8.dll" v0.0 ts=2004/10/10 1:33 45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/4/24 22:28 35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 "cygform6.dll" v0.0 ts=2002/1/8 22:03 48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0 "cygform7.dll" v0.0 ts=2003/8/9 2:25 907k 2004/06/09 C:\cygwin\bin\cygfpx-1.dll - os=4.0 img=1.0 sys=4.0 "cygfpx-1.dll" v0.0 ts=2004/6/9 1:35 361k 2003/10/25 C:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0 "cygfreetype-6.dll" v0.0 ts=2003/10/21 21:18 28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-3.dll" v0.0 ts=2003/7/20 0:58 30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2003/8/10 19:12 19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2002/2/19 19:05 15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 1:00 15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 19:13 107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll - os=4.0 img=1.0 sys=4.0 "cyggettextlib-0-14-1.dll" v0.0 ts=2004/7/6 10:56 17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0 "cyggettextpo-0.dll" v0.0 ts=2004/7/6 10:56 190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll - os=4.0 img=1.0 sys=4.0 "cyggettextsrc-0-14-1.dll" v0.0 ts=2004/7/6 10:56 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/6 20:34 29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 "cyghistory5.dll" v0.0 ts=2003/8/10 16:16 25k 2004/10/12 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0 "cyghistory6.dll" v0.0 ts=2004/10/11 23:51 991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2004/7/6 11:10 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 1:28 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2003/8/10 14:50 54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2004/7/6 10:51 21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0 "cygintl.dll" v0.0 ts=2001/6/20 10:09 241k 2004/08/06 C:\cygwin\bin\cygjasper-1-701-1.dll - os=4.0 img=1.0 sys=4.0 "cygjasper-1-701-1.dll" v0.0 ts=2004/8/6 8:17 48k 2003/08/10 C:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0 "cygjbig1.dll" v0.0 ts=2003/8/10 16:58 132k 2003/08/11 C:\cygwin\bin\cygjpeg-62.dll - os=4.0 img=1.0 sys=4.0 "cygjpeg-62.dll" v0.0 ts=2003/8/10 17:37 156k 2004/06/04 C:\cygwin\bin\cyglcms-1.dll - os=4.0 img=1.0 sys=4.0 "cyglcms-1.dll" v0.0 ts=2004/6/4 7:00 369k 2004/08/11 C:\cygwin\bin\cygMagick++-6.dll - os=4.0 img=1.0 sys=4.0 "cygMagick++-6.dll" v0.0 ts=2004/8/10 23:04 3214k 2004/08/11 C:\cygwin\bin\cygMagick-6.dll - os=4.0 img=1.0 sys=4.0 "cygMagick-6.dll" v0.0 ts=2004/8/10 22:37 22k 2004/10/10 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0 "cygmenu-8.dll" v0.0 ts=2004/10/10 1:33 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/4/24 22:27 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 "cygmenu6.dll" v0.0 ts=2002/1/8 22:03 29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0 "cygmenu7.dll" v0.0 ts=2003/8/9 2:25 21k 2004/10/22 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.0 sys=4.0 "cygminires.dll" v0.0 ts=2004/10/22 13:28 74k 2004/10/10 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++-8.dll" v0.0 ts=2004/10/10 1:33 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/4/24 22:29 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++6.dll" v0.0 ts=2002/1/8 22:03 216k 2004/10/10 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2004/10/10 1:25 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/4/24 22:17 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses6.dll" v0.0 ts=2002/1/8 22:03 224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0 "cygncurses7.dll" v0.0 ts=2003/8/9 2:24 13k 2004/10/10 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0 "cygpanel-8.dll" v0.0 ts=2004/10/10 1:32 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/4/24 22:27 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 "cygpanel6.dll" v0.0 ts=2002/1/8 22:03 19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0 "cygpanel7.dll" v0.0 ts=2003/8/9 2:24 62k 2003/12/11 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2003/12/11 9:01 63k 2003/04/11 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0 "cygpcre.dll" v0.0 ts=2003/4/11 1:31 9k 2003/12/11 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix-0.dll" v0.0 ts=2003/12/11 9:01 61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix.dll" v0.0 ts=2003/4/11 1:31 173k 2003/08/10 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0 "cygpng12.dll" v0.0 ts=2003/8/10 15:35 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/6 20:34 148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 "cygreadline5.dll" v0.0 ts=2003/8/10 16:16 144k 2004/10/12 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2004/10/11 23:51 171k 2005/03/23 C:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0 "cygssl-0.9.7.dll" v0.0 ts=2005/3/23 2:16 282k 2003/08/11 C:\cygwin\bin\cygtiff4.dll - os=4.0 img=1.0 sys=4.0 "cygtiff4.dll" v0.0 ts=2003/8/10 19:32 154k 2004/08/11 C:\cygwin\bin\cygWand-6.dll - os=4.0 img=1.0 sys=4.0 "cygWand-6.dll" v0.0 ts=2004/8/10 23:04 1242k 2005/01/08 C:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0 "cygxml2-2.dll" v0.0 ts=2005/1/8 5:22 62k 2004/10/10 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2004/10/9 21:09 1158k 2005/04/01 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2005/4/1 10:40 Cygwin DLL version info: DLL version: 1.5.14 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 126 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Fri Apr 1 13:40:00 EST 2005 Shared id: cygwin1S4 243k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdps-1.dll - os=4.0 img=1.0 sys=4.0 "cygdps-1.dll" v0.0 ts=2005/2/23 6:42 26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdpstk-1.dll - os=4.0 img=1.0 sys=4.0 "cygdpstk-1.dll" v0.0 ts=2005/2/23 6:42 28k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygDtPrint-1.dll - os=4.0 img=1.0 sys=4.0 "cygDtPrint-1.dll" v0.0 ts=2004/3/30 20:23 21k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygfontenc-1.dll - os=4.0 img=1.0 sys=4.0 "cygfontenc-1.dll" v0.0 ts=2005/2/23 6:45 36k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygFS-6.dll - os=4.0 img=1.0 sys=4.0 "cygFS-6.dll" v0.0 ts=2005/2/23 6:34 358k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGL-1.dll - os=4.0 img=1.0 sys=4.0 "cygGL-1.dll" v0.0 ts=2005/2/23 6:39 438k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll - os=4.0 img=1.0 sys=4.0 "cygGLU-1.dll" v0.0 ts=2005/2/23 6:41 140k 2004/08/06 C:\cygwin\usr\X11R6\bin\cygglut-3.dll - os=4.0 img=1.0 sys=4.0 "cygglut-3.dll" v0.0 ts=2004/8/6 7:43 75k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0 "cygICE-6.dll" v0.0 ts=2005/2/23 6:28 77k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygMrm-2.dll - os=4.0 img=1.0 sys=4.0 "cygMrm-2.dll" v0.0 ts=2004/3/30 20:23 9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygoldX-6.dll - os=4.0 img=1.0 sys=4.0 "cygoldX-6.dll" v0.0 ts=2005/2/23 6:28 1413k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll - os=4.0 img=1.0 sys=4.0 "cygOSMesa-4.dll" v0.0 ts=2005/2/23 6:39 20k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygpsres-1.dll - os=4.0 img=1.0 sys=4.0 "cygpsres-1.dll" v0.0 ts=2005/2/23 6:42 30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0 "cygSM-6.dll" v0.0 ts=2005/2/23 6:28 66k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygUil-2.dll - os=4.0 img=1.0 sys=4.0 "cygUil-2.dll" v0.0 ts=2004/3/30 20:23 877k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0 "cygX11-6.dll" v0.0 ts=2005/2/23 6:28 254k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-6.dll - os=4.0 img=1.0 sys=4.0 "cygXaw-6.dll" v0.0 ts=2005/2/23 6:31 356k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-7.dll - os=4.0 img=1.0 sys=4.0 "cygXaw-7.dll" v0.0 ts=2005/2/23 6:32 363k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-8.dll - os=4.0 img=1.0 sys=4.0 "cygXaw-8.dll" v0.0 ts=2005/2/23 6:33 9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcomposite-1.dll - os=4.0 img=1.0 sys=4.0 "cygXcomposite-1.dll" v0.0 ts=2005/2/23 6:44 30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcursor-1.dll - os=4.0 img=1.0 sys=4.0 "cygXcursor-1.dll" v0.0 ts=2005/2/23 6:43 9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXdamage-1.dll - os=4.0 img=1.0 sys=4.0 "cygXdamage-1.dll" v0.0 ts=2005/2/23 6:44 7k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXevie-1.dll - os=4.0 img=1.0 sys=4.0 "cygXevie-1.dll" v0.0 ts=2005/2/23 6:43 49k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0 "cygXext-6.dll" v0.0 ts=2005/2/23 6:28 16k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXfixes-3.dll - os=4.0 img=1.0 sys=4.0 "cygXfixes-3.dll" v0.0 ts=2005/2/23 6:43 56k 2004/03/11 C:\cygwin\usr\X11R6\bin\cygXft-1.dll - os=4.0 img=1.0 sys=4.0 "cygXft-1.dll" v0.0 ts=2003/11/17 17:42 63k 2004/03/23 C:\cygwin\usr\X11R6\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0 "cygXft-2.dll" v0.0 ts=2004/3/23 14:20 27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXi-6.dll - os=4.0 img=1.0 sys=4.0 "cygXi-6.dll" v0.0 ts=2005/2/23 6:34 125k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbfile-1.dll - os=4.0 img=1.0 sys=4.0 "cygxkbfile-1.dll" v0.0 ts=2005/2/23 6:34 12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbui-1.dll - os=4.0 img=1.0 sys=4.0 "cygxkbui-1.dll" v0.0 ts=2005/2/23 6:34 1294k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygXm-2.dll - os=4.0 img=1.0 sys=4.0 "cygXm-2.dll" v0.0 ts=2004/3/30 20:20 76k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmu-6.dll - os=4.0 img=1.0 sys=4.0 "cygXmu-6.dll" v0.0 ts=2005/2/23 6:30 11k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmuu-1.dll - os=4.0 img=1.0 sys=4.0 "cygXmuu-1.dll" v0.0 ts=2005/2/23 6:30 26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXp-6.dll - os=4.0 img=1.0 sys=4.0 "cygXp-6.dll" v0.0 ts=2005/2/23 6:31 52k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXpm-4.dll - os=4.0 img=1.0 sys=4.0 "cygXpm-4.dll" v0.0 ts=2005/2/23 6:30 12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrandr-2.dll - os=4.0 img=1.0 sys=4.0 "cygXrandr-2.dll" v0.0 ts=2005/2/23 6:43 28k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0 "cygXrender-1.dll" v0.0 ts=2005/2/23 6:42 8k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXRes-1.dll - os=4.0 img=1.0 sys=4.0 "cygXRes-1.dll" v0.0 ts=2005/2/23 6:43 40k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrx-6.dll - os=4.0 img=1.0 sys=4.0 "cygxrx-6.dll" v0.0 ts=2005/2/23 6:53 25k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrxnest-6.dll - os=4.0 img=1.0 sys=4.0 "cygxrxnest-6.dll" v0.0 ts=2005/2/23 6:53 282k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXt-6.dll - os=4.0 img=1.0 sys=4.0 "cygXt-6.dll" v0.0 ts=2005/2/23 6:29 27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll - os=4.0 img=1.0 sys=4.0 "cygXTrap-6.dll" v0.0 ts=2005/2/23 6:43 17k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXtst-6.dll - os=4.0 img=1.0 sys=4.0 "cygXtst-6.dll" v0.0 ts=2005/2/23 6:34 Cygwin Package Information Last downloaded files to: c:\utils\cygwin Last downloaded files from: ftp://mirrors.kernel.org/sources.redhat.com/cygwin Package Version _update-info-dir 00231-1 ash 20040127-1 base-files 3.2-1 base-passwd 2.2-1 bash 2.05b-16 bzip2 1.0.2-6 coreutils 5.3.0-4 crypt 1.1-1 cygrunsrv 1.01-1 cygutils 1.2.6-1 cygwin 1.5.14-1 cygwin-doc 1.4-2 diffutils 2.8.7-1 editrights 1.01-1 expat 1.95.8-1 fileutils 4.1-3 findutils 20041227-1 fontconfig 2.2.2-1 freeglut 2.2.0-1 freetype2 2.1.5-1 gawk 3.1.4-3 gdbm 1.8.3-7 gettext 0.14.1-1 grep 2.5.1a-2 groff 1.18.1-2 gzip 1.3.5-1 ImageMagick 6.0.4-1 inetutils 1.3.2-28 jasper 1.701.0-1 jbigkit 1.5-3 lcms 1.13-1 less 381-1 lesstif 0.93.94-2 libbz2_1 1.0.2-6 libcharset1 1.9.2-1 libfontconfig1 2.2.2-1 libfpx 1.2.0.9-1 libfreetype26 2.1.5-1 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-7 libgdbm3 1.8.3-3 libgdbm4 1.8.3-7 libgettextpo0 0.14.1-1 libiconv 1.9.2-1 libiconv2 1.9.2-1 libintl 0.10.38-3 libintl1 0.10.40-1 libintl2 0.12.1-3 libintl3 0.14.1-1 libjpeg62 6b-11 libMagick6 6.0.4-1 libncurses5 5.2-1 libncurses6 5.2-8 libncurses7 5.3-4 libncurses8 5.4-1 libpcre 4.1-1 libpcre0 4.5-1 libpng12 1.2.5-4 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-5 libreadline6 5.0-1 libtiff4 3.6.0-5 libXft 2.1.6-1 libXft1 1.0.0-1 libXft2 2.1.6-1 libxml2 2.6.16-2 login 1.9-7 man 1.5o1-2 minires 1.00-1 mktemp 1.5-3 ncftp 3.1.7-1 ncurses 5.4-1 openssh 4.0p1-1 openssl 0.9.7f-1 pcre 4.5-1 pcre-doc 4.5-1 readline 5.0-1 rxvt 2.7.10-5 sed 4.1.4-1 sh-utils 2.0.15-5 tar 1.13.25-5 termcap 20021106-2 terminfo 5.4_20041009-1 texinfo 4.7-2 textutils 2.0.21-2 vim 6.3-1 wget 1.9.1-2 which 1.6-1 X-startup-scripts 1.0.10-3 xorg-x11-base 6.8.2.0-1 xorg-x11-bin 6.8.2.0-1 xorg-x11-bin-dlls 6.8.2.0-1 xorg-x11-bin-lndir 6.8.2.0-1 xorg-x11-etc 6.8.2.0-1 xorg-x11-fenc 6.8.1.0-2 xorg-x11-fnts 6.8.1.0-3 xorg-x11-libs-data 6.8.2.0-1 xorg-x11-xwin 6.8.2.0-1 xterm 196-1 zlib 1.2.2-1 From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 11 16:13:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 11 Apr 2005 16:13:00 -0000 Subject: How do I get titlebars on client application windows in non-multiwindow mode? In-Reply-To: <20050411160743.66316.qmail@web40726.mail.yahoo.com> References: <20050411160743.66316.qmail@web40726.mail.yahoo.com> Message-ID: On Mon, 11 Apr 2005, Gary Taylor wrote: > I've recently installed cygwin-xfree 6.8.2.0-1 and > cannot figure out how to get titlebars on my windows. > > > How is this done? Start a window manager. Twm is installed with xorg-x11-bin but you may also install windowmaker or fvwm2. > REM Windows NT/2000/XP/2003 > echo startxwin.bat - Starting on Windows > NT/2000/XP/2003 > > :STARTUP > run XWin -clipboard -silent-dup-error run twm > run xterm -geometry 80x25+4-4 -title test -sl 1000 -sb > -rightbar -ms blue -fg black -bg white -e > /usr/bin/bash -l -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From chuckt@darkwing.uoregon.edu Mon Apr 11 16:30:00 2005 From: chuckt@darkwing.uoregon.edu (Chuck Theobald) Date: Mon, 11 Apr 2005 16:30:00 -0000 Subject: Non-admin users, /tmp/.X11-unix/X0 permissions In-Reply-To: References: Message-ID: <6.2.1.2.0.20050411084459.01dc4398@imap.uoregon.edu> This one bit me as well when trying to set up WinXPSP2 machines for a lab environment. The solution I settled on was to use Windows Security settings to grant "Everyone" "Full Control" over c:\cygwin\tmp. This works. I too wasted time chasing down the suggestions and searching in vain in the archives. The mkgroup/mkpasswd thing does not work if you are not an Administrator, and even so, mkpasswd fails with a "mkpasswd (257): [1745] The procedure number is out of range." Interestingly, the suggestion that root needs to own /tmp/.X11-unix is impossible, as root is an "invalid user". Chuck At 05:57 AM 4/11/2005, Alan J. Flavell wrote: >We have encountered a problem when different non-admin users try to >use Cygwin/X on the same Windows system (at different times, I mean). >This is with a standard Cygwin/X installation, as far as I can tell, >so I'm rather surprised by how little discussion I found of this in >the archives. > >After one normal user has run Cygwin/X, the next user gets told that >s/he can't write to /tmp/.X11-unix/X0 > >The reason seems to be that the directory /tmp/.X11-unix has >the "t" bit set (drwxrwxrwt), which means that normal users >aren't allowed to mess with files that they don't own. > >Thus, the first user creates X0 with their ownership, the "file" then >hangs around till the second user tries to run Cygwin/X, and they get >told they can't overwrite it. > >The problem can be trivially resolved by removing the "t" bit from the >directory - but presumably that represents a security exposure? > >If you want a specific release: we were chiefly using 6.8.1.0-9, but >the problem is not confined to that release. > > >This item in the archives seems to be only tangentially relevant: > >http://sourceware.org/ml/cygwin-xfree/2005-03/msg00058.html > >whose Subject is "using cygwin/x as non-administrator doesn't work" >(which is not exactly the problem that we are getting, since the >*first* non-administrator has no problems starting Cygwin/X as many >times as they want to - the problem is with the second - and >subsequent - users). > >The response in the archive is a bit vague: > >| You can allow other users to write to /tmp/.X11-unix, or have a /tmp >| directory for every user where the user can create files at will. > >The first part of that would "solve" a problem that we haven't got: >the issue is *not* that ordinary users can't write to the *directory*, >-but- that, by virtue of the "t" bit, they can't interfere with files >left there by someone else. Hence this standoff with X0. > >The second part of the suggestion presumably involves symlinking /tmp >to something which has the user name in it, so that /tmp is a >different actual path for each user? > >Is there some concrete, tried-and-tested, advice for resolving this >situation, by whatever means, please? (And if it's entirely reliable, >how about folding it into the released product?). > >Then there's this comment in the covering mail: > >| I suspect that this is due to having turned off the "Server" service >| in XP. > >What was that about, please, and could it represent an alternative >resolution of the problem which we are experiencing? > >thanks for any constructive advice. > > >As a secondary point, could I mention some misleading trails? > >As someone had said in earlier discussion in the mail archives, it >seems that this line in the log: > > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > >is a red-herring and should be ignored. And furthermore, that >the subsequent lines > > _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed > _XSERVTransMakeAllCOTSServerListeners: server already running > >represents an incorrect deduction based on the preceding error - the >server is *not* already running. > >The system also offered us this advice, in the course of >investigations: > > Your group is currently "mkpasswd". This indicates that > the /etc/passwd (and possibly /etc/group) files should be rebuilt. > See the man pages for mkpasswd and mkgroup then, for example, run > mkpasswd -l [-d] > /etc/passwd > mkgroup -l [-d] > /etc/group > Note that the -d switch is necessary for domain users. > >which, after consulting documentation and archives, we concluded >was not a solution to our problem (albeit possibly a useful thing to >do for unrelated reasons). > >Initially, time was wasted trying to follow-up these misleading >diagnostics in the mistaken belief that they would resolve the >original problem - would it be feasible to at least re-word them so >that they don't lay false trails? But that's a side-issue. > >-- Chuck Theobald System Administrator The Robert and Beverly Lewis Center for Neuroimaging University of Oregon P: 541-346-0343 F: 541-346-0345 From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 11 16:37:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 11 Apr 2005 16:37:00 -0000 Subject: Non-admin users, /tmp/.X11-unix/X0 permissions In-Reply-To: <6.2.1.2.0.20050411084459.01dc4398@imap.uoregon.edu> References: <6.2.1.2.0.20050411084459.01dc4398@imap.uoregon.edu> Message-ID: On Mon, 11 Apr 2005, Chuck Theobald wrote: > Interestingly, the suggestion that root needs to own /tmp/.X11-unix is > impossible, as root is an "invalid user". This is a message left over from the unix versions of Xorg. I'm just too lazy to go through the whole get a patch into the stable branch of Xorg to address this message. If anybody cares, file a patch at bugs.freedesktop.org and fight the security considerations of the xorg board. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From tdabbs@staktek.com Mon Apr 11 19:47:00 2005 From: tdabbs@staktek.com (Terry Dabbs) Date: Mon, 11 Apr 2005 19:47:00 -0000 Subject: X application fails Message-ID: <14CEE0B69DBDFC41A192613D8B4098CA0126FF0B@XCH-CORP.staktek.com> No, Exactly the same error. Unfortunately, the only information I got from Agilent was that they couldn't get it to work either, in the past. They said it DOES work on linux with their application (isn't it virtually the same?). In any case thanks for replying. If you have an idea for a direction I could go with this, that would be helpful, otherwise I'll have to try other Xservers. Terry -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Terry Dabbs Sent: Friday, April 08, 2005 12:29 PM To: cygwin-xfree@cygwin.com Subject: RE: X application fails Thanks, I won't be able to try it until Monday. On vacation today, so no direct access. I will let you know... Terry -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Alexander Gottwald Sent: Friday, April 08, 2005 3:41 AM To: cygwin-xfree@cygwin.com Subject: Re: X application fails On Thu, 7 Apr 2005, Terry Dabbs wrote: > I'm new to cygwin/X. I installed the cygwin/X package, and an using it > with the expectation it will provide a display for hpux clients. > > What does work: > - I use either startxwin.bat -or- startxwin.sh, type xhost + in the > shell, then go to the hpux machine and set the display, send "xrdb" > commands, and "xterm" runs on my pc from the hpux client. Logging in > with XDMCP works, it looks very good. > > What does not work: > I have an X application, Agilent's HPSmarttest, which runs OK with > reflections XDMCP, but with both methods above it gives the error > message (in a window on the display server!) that it "can not create > background window". Since it works using "Reflections", I assume there > is some setting, or something that is not set by default. Maybe it's a problem with the missing 8bit colorplane on Cygwin/X server. You might try to run Cygwin/X in 8bit mode (XWin -depth 8 -fullscreen) bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From mark.paulus@mci.com Mon Apr 11 19:57:00 2005 From: mark.paulus@mci.com (Mark Paulus) Date: Mon, 11 Apr 2005 19:57:00 -0000 Subject: X application fails In-Reply-To: <14CEE0B69DBDFC41A192613D8B4098CA0126FF0B@XCH-CORP.staktek.com> Message-ID: <0IES00EJTSQGJM@pmismtp01.mcilink.com> Another option, if it's only 1 app you have problems with is to run an X VNC Server session on your hpux box and then run the VNC Client on your windows box to see the app. I was having some problems with Sun's Workshop Debugger under Cygwin/X, and that was my solution. On Mon, 11 Apr 2005 14:47:01 -0500, Terry Dabbs wrote: >No, Exactly the same error. Unfortunately, the only information I got >from Agilent was that they couldn't get it to work either, in the past. >They said it DOES work on linux with their application (isn't it >virtually the same?). In any case thanks for replying. If you have an >idea for a direction I could go with this, that would be helpful, >otherwise I'll have to try other Xservers. >Terry > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Terry Dabbs >Sent: Friday, April 08, 2005 12:29 PM >To: cygwin-xfree@cygwin.com >Subject: RE: X application fails > >Thanks, I won't be able to try it until Monday. On vacation today, so no >direct access. I will let you know... >Terry >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Alexander Gottwald >Sent: Friday, April 08, 2005 3:41 AM >To: cygwin-xfree@cygwin.com >Subject: Re: X application fails >On Thu, 7 Apr 2005, Terry Dabbs wrote: >> I'm new to cygwin/X. I installed the cygwin/X package, and an using it >> with the expectation it will provide a display for hpux clients. >> >> What does work: >> - I use either startxwin.bat -or- startxwin.sh, type xhost + in the >> shell, then go to the hpux machine and set the display, send "xrdb" >> commands, and "xterm" runs on my pc from the hpux client. Logging in >> with XDMCP works, it looks very good. >> >> What does not work: >> I have an X application, Agilent's HPSmarttest, which runs OK with >> reflections XDMCP, but with both methods above it gives the error >> message (in a window on the display server!) that it "can not create >> background window". Since it works using "Reflections", I assume there >> is some setting, or something that is not set by default. >Maybe it's a problem with the missing 8bit colorplane on Cygwin/X >server. >You might try to run Cygwin/X in 8bit mode (XWin -depth 8 -fullscreen) >bye > ago >-- > Alexander.Gottwald@s1999.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 From tdabbs@staktek.com Mon Apr 11 22:07:00 2005 From: tdabbs@staktek.com (Terry Dabbs) Date: Mon, 11 Apr 2005 22:07:00 -0000 Subject: X application fails Message-ID: <14CEE0B69DBDFC41A192613D8B4098CA01270002@XCH-CORP.staktek.com> Thank You all for your help. I Copied the fonts for HPUX to the fonts directory for Cygwin/X. It works very well now. Terry -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Mark Paulus Sent: Monday, April 11, 2005 2:57 PM To: cygwin-xfree@cygwin.com Subject: RE: X application fails Another option, if it's only 1 app you have problems with is to run an X VNC Server session on your hpux box and then run the VNC Client on your windows box to see the app. I was having some problems with Sun's Workshop Debugger under Cygwin/X, and that was my solution. On Mon, 11 Apr 2005 14:47:01 -0500, Terry Dabbs wrote: >No, Exactly the same error. Unfortunately, the only information I got >from Agilent was that they couldn't get it to work either, in the past. >They said it DOES work on linux with their application (isn't it >virtually the same?). In any case thanks for replying. If you have an >idea for a direction I could go with this, that would be helpful, >otherwise I'll have to try other Xservers. >Terry > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Terry Dabbs >Sent: Friday, April 08, 2005 12:29 PM >To: cygwin-xfree@cygwin.com >Subject: RE: X application fails > >Thanks, I won't be able to try it until Monday. On vacation today, so >no direct access. I will let you know... >Terry >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Alexander Gottwald >Sent: Friday, April 08, 2005 3:41 AM >To: cygwin-xfree@cygwin.com >Subject: Re: X application fails >On Thu, 7 Apr 2005, Terry Dabbs wrote: >> I'm new to cygwin/X. I installed the cygwin/X package, and an using >> it >> with the expectation it will provide a display for hpux clients. >> >> What does work: >> - I use either startxwin.bat -or- startxwin.sh, type xhost + in the >> shell, then go to the hpux machine and set the display, send "xrdb" >> commands, and "xterm" runs on my pc from the hpux client. Logging in >> with XDMCP works, it looks very good. >> >> What does not work: >> I have an X application, Agilent's HPSmarttest, which runs OK with >> reflections XDMCP, but with both methods above it gives the error >> message (in a window on the display server!) that it "can not create >> background window". Since it works using "Reflections", I assume >> there >> is some setting, or something that is not set by default. >Maybe it's a problem with the missing 8bit colorplane on Cygwin/X >server. >You might try to run Cygwin/X in 8bit mode (XWin -depth 8 -fullscreen) >bye > ago >-- > Alexander.Gottwald@s1999.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 From ariel.burbaickij@gmail.com Tue Apr 12 09:18:00 2005 From: ariel.burbaickij@gmail.com (Ariel Burbaickij) Date: Tue, 12 Apr 2005 09:18:00 -0000 Subject: cmdtool from Solaris standard package generates some errors presented on the console and nothing more In-Reply-To: References: <3058f9b405041102572917ffb2@mail.gmail.com> <3058f9b405041103443bab29fe@mail.gmail.com> Message-ID: <3058f9b40504120217767e6d66@mail.gmail.com> Well, as it looks like the problm is cygwin specific. I tested it with one commercial X Server (XManager) and it worked there without any problems, be it in multiwindow or single window mode. So, what is the next step? On Apr 11, 2005 12:09 PM, Alexander Gottwald wrote: > On Mon, 11 Apr 2005, Ariel Burbaickij wrote: > > > Thank you for quick response. > > I observed it in non-multiwindow mode, so > > I guess the question should be other way > > round ;-) > > Then I'd expect it to be a bug in cmdtool. The windowed > mode is very simple and all applications should work fine > with it. I had observed several strange errors with > solaris tools if some fonts were not available or the > display was running in 16 bit color mode. But none of them > match the error message. > > bye > ago > -- > Alexander.Gottwald@s1999.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 > From morgan@lysator.liu.se Tue Apr 12 09:31:00 2005 From: morgan@lysator.liu.se (Morgan Nilsson) Date: Tue, 12 Apr 2005 09:31:00 -0000 Subject: Antwort: Clipboard fix - Please test Message-ID: <425B9550.70007@lysator.liu.se> Hi. Not sure if there ever was a resolution to the clipboard issue. I cannot copy from remote XEmacs (21.4.17 on Fedora Core3 server) to my putty.exe (0.58 running on WinXP). I have xorg-x11-xwin 6.8.2.0-1. I can copy from Win->X but not from XEmacs to putty (hangs 3 secs). If I first copy into notepad and then (even without Ctrl-C) directly to putty it works. /tmp/XWin.log says: winProcessXEventsTimeout - Call to select () failed: 0. Bailing. I start X with: "run XWin -multiwindow -clipboard -silent-dup-error" Are there any solution to get copy & paste working? Something todo with PRIMARY and CLIPBOARD? Can I configure XEmacs to do something to make copy and paste work? Can I configure putty to do something to make copy and paste work? /Morgan From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 12 10:06:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 12 Apr 2005 10:06:00 -0000 Subject: cmdtool from Solaris standard package generates some errors presented on the console and nothing more In-Reply-To: <3058f9b40504120217767e6d66@mail.gmail.com> References: <3058f9b405041102572917ffb2@mail.gmail.com> <3058f9b405041103443bab29fe@mail.gmail.com> <3058f9b40504120217767e6d66@mail.gmail.com> Message-ID: On Tue, 12 Apr 2005, Ariel Burbaickij wrote: > Well, as it looks like the problm is cygwin specific. > I tested it with one commercial X Server (XManager) > and it worked there without any problems, be it > in multiwindow or single window mode. So, what is > the next step? Try if it works with xnest. That is not a good solution to run that program, but maybe the best that works. The HPUX problem was solved by copying some fonts. Can you please try to use a fontserver on solaris. Maybe this is a font issue too. See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-solaris-fonts bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From dvd@fibertel.com.ar Tue Apr 12 12:24:00 2005 From: dvd@fibertel.com.ar (DVD Argentina) Date: Tue, 12 Apr 2005 12:24:00 -0000 Subject: DVD a $10 Message-ID: DVD a $10 cada uno Envio a toda argentina Ultimos estrenos! Visitanos en: http://dvdplus2005.latinowebs.com/ From ariel.burbaickij@gmail.com Tue Apr 12 15:25:00 2005 From: ariel.burbaickij@gmail.com (Ariel Burbaickij) Date: Tue, 12 Apr 2005 15:25:00 -0000 Subject: cmdtool from Solaris standard package generates some errors presented on the console and nothing more In-Reply-To: References: <3058f9b405041102572917ffb2@mail.gmail.com> <3058f9b405041103443bab29fe@mail.gmail.com> <3058f9b40504120217767e6d66@mail.gmail.com> Message-ID: <3058f9b4050412082573626765@mail.gmail.com> Well, there is the solution. xterm -C provides the same functionality like cmdtool -C and it does not make any strange assumptions, From nasundar@vt.edu Tue Apr 12 21:22:00 2005 From: nasundar@vt.edu (Sundar Narayan) Date: Tue, 12 Apr 2005 21:22:00 -0000 Subject: Cygwin for all users Message-ID: <42716660@zathras> Hi, I tried installing Cygwin for all users on my Windows machine but it didn't work. I am able to start the x window application only when I log in and not when other users log in to the Windows machine. Can you tell me what is wrong? or do I need to make any kind of changes after installing or before? I am making sure that the "All Users" box is checked before the installation starts but it still doesn't work. Thanks much -Sundar VTExCCL 103 Randolph Hall Virginia Tech Blacksburg VA 24060 Phone - 540-231-1776(work) 540-557-7739(cell) From chuckt@darkwing.uoregon.edu Tue Apr 12 22:30:00 2005 From: chuckt@darkwing.uoregon.edu (Chuck Theobald) Date: Tue, 12 Apr 2005 22:30:00 -0000 Subject: Cygwin for all users In-Reply-To: <42716660@zathras> References: <42716660@zathras> Message-ID: <6.2.1.2.0.20050412152222.043a6298@imap.uoregon.edu> Per my recent post on this issue, try setting Windows permissions on the :\cygwin\tmp directory to allow Full Control to Everyone. Not the lightest touch, but it works for my installations. Chuck At 02:22 PM 4/12/2005, Sundar Narayan wrote: >Hi, > >I tried installing Cygwin for all users on my Windows machine but it didn't >work. I am able to start the x window application only when I log in and not >when other users log in to the Windows machine. Can you tell me what is >wrong? >or do I need to make any kind of changes after installing or before? I am >making sure that the "All Users" box is checked before the installation >starts >but it still doesn't work. > >Thanks much > >-Sundar > >VTExCCL >103 Randolph Hall >Virginia Tech >Blacksburg VA 24060 >Phone - 540-231-1776(work) > 540-557-7739(cell) Chuck Theobald System Administrator The Robert and Beverly Lewis Center for Neuroimaging University of Oregon P: 541-346-0343 F: 541-346-0345 From svagera@tuwien.ac.at Wed Apr 13 08:38:00 2005 From: svagera@tuwien.ac.at (Robert Svagera) Date: Wed, 13 Apr 2005 08:38:00 -0000 Subject: Antwort: Clipboard fix - Please test References: <425B9550.70007@lysator.liu.se> Message-ID: <425CDA95.BE1416CF@tuwien.ac.at> Morgan Nilsson wrote: > Hi. > > Not sure if there ever was a resolution to the clipboard issue. > > I cannot copy from remote XEmacs (21.4.17 on Fedora Core3 server) > to my putty.exe (0.58 running on WinXP). I have xorg-x11-xwin 6.8.2.0-1. > > I can copy from Win->X but not from XEmacs to putty (hangs 3 secs). If I > first copy into notepad and then (even without Ctrl-C) directly to putty > it works. > > /tmp/XWin.log says: > winProcessXEventsTimeout - Call to select () failed: 0. Bailing. > > I start X with: "run XWin -multiwindow -clipboard -silent-dup-error" > > Are there any solution to get copy & paste working? > > Something todo with PRIMARY and CLIPBOARD? > Can I configure XEmacs to do something to make copy and paste work? > Can I configure putty to do something to make copy and paste work? > > /Morgan Hello! I have another problem with clipboard under Win98SE. When pressing right mouse button inside a xterm window, xwin hangs and all related processes have to be killed. Without -clipboard option ("run XWin -multiwindow -silent-dup-error") cut and paste inside xwin env. works fine. Thank you for any hint, Robert From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 13 09:03:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Apr 2005 09:03:00 -0000 Subject: Antwort: Clipboard fix - Please test In-Reply-To: <425CDA95.BE1416CF@tuwien.ac.at> References: <425B9550.70007@lysator.liu.se> <425CDA95.BE1416CF@tuwien.ac.at> Message-ID: On Wed, 13 Apr 2005, Robert Svagera wrote: > > /tmp/XWin.log says: > > winProcessXEventsTimeout - Call to select () failed: 0. Bailing. This is an indication for troubles with networking software. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From swp5jhu02@sneakemail.com Wed Apr 13 11:50:00 2005 From: swp5jhu02@sneakemail.com (=?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?=) Date: Wed, 13 Apr 2005 11:50:00 -0000 Subject: xine 0.99.3-1, X Error X_CreateGlyphCursor 0x9a Message-ID: <425D075E.5050905@sneakemail.com> Hi, When I try to run the newest xine and display it in CygwinX I get the following error. Is there any fix/workaround for that? base@peter:~> xine This is xine (X11 gui) - a free video player v0.99.3. (c) 2000-2004 The xine Team. X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 94 (X_CreateGlyphCursor) Value in failed request: 0x9a Serial number of failed request: 119 Current serial number in output stream: 125 In this case, xine is run from a debian unstable installation ("base@peter" below), that is fully up to date. This has been reproduced on two different such debian installations, and two CygwinX installations also. Further down, an FC1 installation ("myth@peter" below) running an older (0.99.2) version of xine does not exhibit these problems. Further, running the 0.99.3-1 xine-ui on a vncserver ("base@peter" DISPLAY=:1) also works. That leads me to conclude that this is a problem with CygwinX. (Wild guess: CygwinX doesn't support X request #94 with a value of 0x9a??) Any ideas how to run xine 0.99.3 and display it on CygwinX? Peter ************************************************ Installation Details ************************************************ Details of my CygwinX installation (cygcheck.exe -s output) is here: http://www.morch.com/misc/cygwinX/cygcheck.20050413.txt base@peter:~> # Displaying on vncserver works fine base@peter:~> DISPLAY=:1 xine This is xine (X11 gui) - a free video player v0.99.3. (c) 2000-2004 The xine Team. Xlib: extension "XVideo" missing on display ":1.0". base@peter:~> # What xine packages do I have installed base@peter:~> # on the debian machine? base@peter:~> dpkg -l '*xine*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii libarts1-xine 3.3.2-1 xine plugin for arts ii libxine1 1.0-1 the xine video/media player library, binary un xine-dvdnav (no description available) ii xine-ui 0.99.3-1 the xine video player, user interface un xinetd (no description available) myth@peter:~> # Xine works here on FC1 myth@peter:~> xine This is xine (X11 gui) - a free video player v0.99.2. (c) 2000-2004 The xine Team. Xlib: extension "XVideo" missing on display "localhost:11.0". myth@peter:~> DISPLAY=base:1 xine This is xine (X11 gui) - a free video player v0.99.2. (c) 2000-2004 The xine Team. Xlib: extension "XVideo" missing on display "base:1.0". video_out_xshm: received X error event: BadAccess (attempt to access private resource denied) myth@peter:~> # What packages do I have have installed myth@peter:~> # On the FC1 machine? myth@peter:~> rpm -qa | grep -i xine | grep -v xinetd xine-0.99.2-1.1.fc1.fr xine-lib-1.0.0-0.14.rc6a.1.fc1.fr -- Peter Valdemar M??rch http://www.morch.com From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 13 12:36:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Apr 2005 12:36:00 -0000 Subject: xine 0.99.3-1, X Error X_CreateGlyphCursor 0x9a In-Reply-To: <425D075E.5050905@sneakemail.com> References: <425D075E.5050905@sneakemail.com> Message-ID: On Wed, 13 Apr 2005, Peter Valdemar M??rch wrote: > Hi, > > When I try to run the newest xine and display it in CygwinX I get the > following error. Is there any fix/workaround for that? > > base@peter:~> xine > This is xine (X11 gui) - a free video player v0.99.3. > (c) 2000-2004 The xine Team. > X Error of failed request: BadValue (integer parameter out of range for > operation) > Major opcode of failed request: 94 (X_CreateGlyphCursor) > Value in failed request: 0x9a > Serial number of failed request: 119 > Current serial number in output stream: 125 > > This is xine (X11 gui) - a free video player v0.99.2. > (c) 2000-2004 The xine Team. > Xlib: extension "XVideo" missing on display "localhost:11.0". > > myth@peter:~> DISPLAY=base:1 xine > This is xine (X11 gui) - a free video player v0.99.2. > (c) 2000-2004 The xine Team. > Xlib: extension "XVideo" missing on display "base:1.0". > video_out_xshm: received X error event: BadAccess (attempt to access > private resource denied) how do you start ssh? For full functionality you'll have to enable TrsutedX11Forwarding or start ssh with ssh -Y remotehost BTW: Since the XVideo extension is not available on Cygwin/X you'll most likely get very poor performance when displaying video. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From swp5jhu02@sneakemail.com Wed Apr 13 13:29:00 2005 From: swp5jhu02@sneakemail.com (Peter Valdemar Morch) Date: Wed, 13 Apr 2005 13:29:00 -0000 Subject: xine 0.99.3-1, X Error X_CreateGlyphCursor 0x9a In-Reply-To: References: <425D075E.5050905@sneakemail.com> Message-ID: <5606-88583@sneakemail.com> Alexander Gottwald alexander.gottwald-at-s1999.tu-chemnitz.de |Lists| wrote: > how do you start ssh? For full functionality you'll have to enable TrsutedX11Forwarding > or start ssh with ssh -Y remotehost Thanks for your -Y suggestion - didn't make any difference though... So I'm still in the market for a workaround... :-D peace@peter:~> /usr/bin/ssh -Y base Linux base 2.6.10-1-686 #1 Fri Mar 11 03:55:46 EST 2005 i686 GNU/Linux You have mail. Last login: Wed Apr 13 15:25:22 2005 from A.B.C.D base@peter:~> xine This is xine (X11 gui) - a free video player v0.99.3. (c) 2000-2004 The xine Team. X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 94 (X_CreateGlyphCursor) Value in failed request: 0x9a Serial number of failed request: 119 Current serial number in output stream: 125 > BTW: Since the XVideo extension is not available on Cygwin/X you'll most likely get very > poor performance when displaying video. Yes, I know. Thanks, Peter -- Peter Valdemar M??rch http://www.......... From paulg@cs.yorku.ca Wed Apr 13 13:43:00 2005 From: paulg@cs.yorku.ca (Paul Griffith) Date: Wed, 13 Apr 2005 13:43:00 -0000 Subject: Cygwin for all users In-Reply-To: <42716660@zathras>; from nasundar@vt.edu on Tue, Apr 12, 2005 at 05:22:52PM -0400 References: <42716660@zathras> Message-ID: <20050413094251.C22410@cs.yorku.ca> This problem has been solved in the mailing archive. Here is snip from my modified startxwin.bat file. -------snip---- REM REM Cleanup after last run. REM REM Mount local user %TEMP% as /tmp mount -f -u -t "%TEMP%" /tmp if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 ---snip----- The solution is to mount the users own tmp (system variable %TEMP% or %TMP% directory as /tmp for CygwinX. This is what I do in a WinXP Lab and no issues. Enjoy Paul On Tue, Apr 12, 2005 at 05:22:52PM -0400, Sundar Narayan wrote: > Hi, > > I tried installing Cygwin for all users on my Windows machine but it didn't > work. I am able to start the x window application only when I log in and not > when other users log in to the Windows machine. Can you tell me what is wrong? > or do I need to make any kind of changes after installing or before? I am > making sure that the "All Users" box is checked before the installation starts > but it still doesn't work. > > Thanks much > > -Sundar > > VTExCCL > 103 Randolph Hall > Virginia Tech > Blacksburg VA 24060 > Phone - 540-231-1776(work) > 540-557-7739(cell) > From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 13 13:55:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Apr 2005 13:55:00 -0000 Subject: xine 0.99.3-1, X Error X_CreateGlyphCursor 0x9a In-Reply-To: <5606-88583@sneakemail.com> References: <425D075E.5050905@sneakemail.com> <5606-88583@sneakemail.com> Message-ID: On Wed, 13 Apr 2005, Peter Valdemar Morch wrote: > Alexander Gottwald alexander.gottwald-at-s1999.tu-chemnitz.de |Lists| wrote: > > how do you start ssh? For full functionality you'll have to enable TrsutedX11Forwarding > > or start ssh with ssh -Y remotehost > > Thanks for your -Y suggestion - didn't make any difference though... So > I'm still in the market for a workaround... :-D > > peace@peter:~> /usr/bin/ssh -Y base > Linux base 2.6.10-1-686 #1 Fri Mar 11 03:55:46 EST 2005 i686 GNU/Linux > You have mail. > > Last login: Wed Apr 13 15:25:22 2005 from A.B.C.D > base@peter:~> xine > This is xine (X11 gui) - a free video player v0.99.3. > (c) 2000-2004 The xine Team. > X Error of failed request: BadValue (integer parameter out of range for > operation) > Major opcode of failed request: 94 (X_CreateGlyphCursor) > Value in failed request: 0x9a > Serial number of failed request: 119 > Current serial number in output stream: 125 Maybe Xine uses a special font for cursors which is only available on the linux host. The XCreateGlypthCursor man page indicates this. showfont -start $((0x99)) -fn cursor is a valid character showfont -start $((0x9a)) -fn cursor has no character assigned. http://sourceforge.net/mailarchive/forum.php?thread_id=5813804&forum_id=3438 bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From swp5jhu02@sneakemail.com Wed Apr 13 14:12:00 2005 From: swp5jhu02@sneakemail.com (Peter Valdemar Morch) Date: Wed, 13 Apr 2005 14:12:00 -0000 Subject: xine 0.99.3-1, X Error X_CreateGlyphCursor 0x9a In-Reply-To: References: <425D075E.5050905@sneakemail.com> <5606-88583@sneakemail.com> Message-ID: <24808-61290@sneakemail.com> Alexander Gottwald alexander.gottwald-at-s1999.tu-chemnitz.de |Lists| wrote: > > Maybe Xine uses a special font for cursors which is only available on > the linux host. The XCreateGlypthCursor man page indicates this. > OK, perhaps that is the situation > showfont -start $((0x99)) -fn cursor > > is a valid character > > showfont -start $((0x9a)) -fn cursor > > has no character assigned. I could not get "showfont -start X -fn cursor" to work with any value of X on any of my x servers. I get base@peter:~/nzbget> showfont -start $((0x99)) -fn cursor can't open server "localhost:7100" Am I supposed to start some font server? How? Would that possibly help me out? (This is where X turns into Voodoo for me) > http://sourceforge.net/mailarchive/forum.php?thread_id=5813804&forum_id=3438 It suggests to put feature.cursors = 0 in a file called ~/.xitkrc, but that doesn't help. Is this a xine bug in your opinion? 'Cause then I'll stop bugging this list... :-D Peter -- Peter Valdemar M??rch http://www.......... From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 13 14:21:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Apr 2005 14:21:00 -0000 Subject: xine 0.99.3-1, X Error X_CreateGlyphCursor 0x9a In-Reply-To: <24808-61290@sneakemail.com> References: <425D075E.5050905@sneakemail.com> <5606-88583@sneakemail.com> <24808-61290@sneakemail.com> Message-ID: On Wed, 13 Apr 2005, Peter Valdemar Morch wrote: > I could not get "showfont -start X -fn cursor" to work with any value of > X on any of my x servers. I get > base@peter:~/nzbget> showfont -start $((0x99)) -fn cursor > can't open server "localhost:7100" > > Am I supposed to start some font server? How? Would that possibly help > me out? It seems you have the FONTSERVER variable set and showfont tries to contact that server. But I doubt starting the fontserver without changing too much will solve the situation without introducing new problems. > (This is where X turns into Voodoo for me) > > > http://sourceforge.net/mailarchive/forum.php?thread_id=5813804&forum_id=3438 > > It suggests to put > feature.cursors = 0 > in a file called ~/.xitkrc, but that doesn't help. > > Is this a xine bug in your opinion? 'Cause then I'll stop bugging this > list... :-D It happend on Mandrake too, the error is a generic error stating a wrong fucntion parameter. Yes I think is a xine bug. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Samuel.Wang@the401kcompany.com Wed Apr 13 16:39:00 2005 From: Samuel.Wang@the401kcompany.com (Samuel Wang) Date: Wed, 13 Apr 2005 16:39:00 -0000 Subject: Checked on FAQ but.. Message-ID: <80C085AF09C3CE488788432B55E2204254C522@lanmail.the401k.com> Please help with this error message; $ startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root 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 (==) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X1 1R6/lib/ X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/" winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000007 winSetEngine - Multi Window or Rootless => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff 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 shar ed 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" Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options = "(null )" (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! winPointerWarpCursor - Discarding first warp: 640 512 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 cat: /cygdrive/c/Documents and Settings/swang/.Xauthority: No such file or direc tory winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the di splay. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the disp lay. winClipboardProc - XOpenDisplay () returned and successfully opened the display. [: and: unknown operand [: and: unknown operand From pechtcha@cs.nyu.edu Wed Apr 13 17:18:00 2005 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Wed, 13 Apr 2005 17:18:00 -0000 Subject: Checked on FAQ but.. In-Reply-To: <80C085AF09C3CE488788432B55E2204254C522@lanmail.the401k.com> References: <80C085AF09C3CE488788432B55E2204254C522@lanmail.the401k.com> Message-ID: On Wed, 13 Apr 2005, Samuel Wang wrote: > Please help with this error message; > > $ startx > [snip] > cat: /cygdrive/c/Documents and Settings/swang/.Xauthority: No such file or directory This is spurious. > [: and: unknown operand > [: and: unknown operand These are due to spaces in your $HOME. As a workaround, use $HOME with no spaces in it (see the FAQ), but the startx script *should* be fixed. FWIW, I submitted fixes for it a while ago -- I wonder if they made it into the current version, or if this was a problem I didn't cover... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From a.flavell@physics.gla.ac.uk Thu Apr 14 00:49:00 2005 From: a.flavell@physics.gla.ac.uk (Alan J. Flavell) Date: Thu, 14 Apr 2005 00:49:00 -0000 Subject: Non-admin users, /tmp/.X11-unix/X0 permissions In-Reply-To: References: Message-ID: On Mon, 11 Apr 2005, Alan J. Flavell wrote: > After one normal user has run Cygwin/X, the next user gets told that > s/he can't write to /tmp/.X11-unix/X0 > > The reason seems to be that the directory /tmp/.X11-unix has > the "t" bit set (drwxrwxrwt), which means that normal users > aren't allowed to mess with files that they don't own. > > Thus, the first user creates X0 with their ownership, the "file" then > hangs around till the second user tries to run Cygwin/X, and they get > told they can't overwrite it. > > The problem can be trivially resolved by removing the "t" bit from the > directory - but presumably that represents a security exposure? [Sorry about the eccentric threading of this reply - I'm working from the mailing list archive on the web] Alexander Gottwald replied: > Does it help if the t flag is cleared? Yes; as I said in the original posting, this seemed to be one way to resolve the problem. My concern was that the "t" bit was there for a reason, and taking it off would be a security issue, although I wasn't quite sure *what* security issue it would be. > Then we could create the directory without the flag instead. I don't > care for filesystem security on windows anyway. I'm uneasy, but I don't see any specific objection, and it resolves the problem. thanks for the responses. From sigumonrong@mch.rwth-aachen.de Fri Apr 15 10:26:00 2005 From: sigumonrong@mch.rwth-aachen.de (Darwin P Sigumonrong) Date: Fri, 15 Apr 2005 10:26:00 -0000 Subject: fatal error in running startx (after installing KDE) Message-ID: Hi I got this message and unable to get my KDE loaded: ============================================================================================== $startx + test -f /home/darwin/.kde_mountchecked + IPC_PID=3948 + ipc_daemon2 + client_opt= + server_opt= + xinit /opt/kde3/bin/startkde -- usr/X11R6/bin/XWin :0 -noreset -ac -nowinkill Wlcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin :0 -noreset -ac -nowinkill Fatal server error: CAnnot open log file "/tmp/XWin.log" $ winDeinitMultiWindowWM - Noting shutdown in progress giving up xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. + kill -15 3948 ============================================================================================== I have to add that i installed my Cygwin and KDE3 on Windows XP under admin login The strange thing (at least for me) is that the KDE can run when I log in as admin but when I login using another login user name, the KDE won't work any help/clue is welcome thanx in advance (at least for reading this email) darwin -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 15 11:45:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Apr 2005 11:45:00 -0000 Subject: fatal error in running startx (after installing KDE) In-Reply-To: References: Message-ID: On Fri, 15 Apr 2005, Darwin P Sigumonrong wrote: > Fatal server error: > CAnnot open log file "/tmp/XWin.log" > > I have to add that i installed my Cygwin and KDE3 on Windows XP under > admin login > The strange thing (at least for me) is that the KDE can run when I log in > as admin > but when I login using another login user name, the KDE won't work make sure any use can write to c:\cygwin\tmp bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From bsven@msi.umn.edu Sat Apr 16 00:21:00 2005 From: bsven@msi.umn.edu (Bengt Svensson) Date: Sat, 16 Apr 2005 00:21:00 -0000 Subject: starting xterm from tcsh, gives error message: missing }. Message-ID: I am using tcsh in cygwin and every time I start a new xterm from an existing xterm/tcsh window I get the error message 'missing }.' I recently updated my cygwin so everything should be current. But see attached cygcheck -s -v -r output. I figured out the the problem comes from the file: /etc/profile.d/00xorg-x11-base.csh The line eval "/bin/echo ${PATH} | /bin/grep -q /usr/X11R6/bin" is the problem. After trying a lot of things, I solved the problem by changing the line to eval "/bin/echo \${PATH} | /bin/grep -q /usr/X11R6/bin" The eval statement now seems to works as expected. The syntax does seem strange to me though. I had expected that \$${PATH} might solve the problem, but not so. Only \${PATH} worked. I am no csh scripting expert though. Is \${PATH} the correct behaviour for tcsh? Is the bug in tcsh or in the /etc/profile.d/00xorg-x11-base.csh file? Can some look into this and officially confirm that this is a bug and that this is the proper solution/fix? Bengt Svensson University Of Minnesota -------------- next part -------------- Cygwin Configuration Diagnostics Current System Time: Fri Apr 15 17:20:02 2005 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: {\usr\local\bin C:\cygwin\bin C:\cygwin\bin .\ C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem C:\cygwin\bin c:\Program Files\Common Files\MDL Shared\ISIS} C:\cygwin\home\bsven\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 1003(bsven) GID: 513(None) 513(None) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1003(bsven) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS CYGWIN = `ntsec tty' HOME = `C:\cygwin\home\bsven' MAKE_MODE = `unix' PWD = `/home/bsven' USER = `bsven' !EXITCODE = `00000000' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\bsven\Application Data' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `FPC2' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CYGWIN_ROOT = `\cygwin' DISPLAY = `127.0.0.1:0.0' FP_NO_HOST_CHECK = `NO' GROUP = `None' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\bsven' HOST = `fpc2' HOSTTYPE = `i386' LOGNAME = `bsven' LOGONSERVER = `\\FPC2' LS_COLORS = `no=00:fi=00:di=00;34:ln=00;36:pi=01;34:so=01;35:do=01;35:bd=01;34;01:cd=01;34:or=01;31:ex=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.deb=00;31:*.rpm=00;31:*.jpg=00;35:*.png=00;35:*.gif=00;35:*.bmp=00;35:*.ppm=00;35:*.tga=00;35:*.xbm=00;35:*.xpm=00;35:*.tif=00;35:*.png=00;35:*.mpg=00;35:*.avi=00;35:*.fli=00;35:*.gl=00;35:*.dl=00;35:*.c=00;35:*.f=00;35:*.f90=00;35' MACHTYPE = `i386' MANPATH = `:/usr/ssl/man:/usr/X11R6/man' NUMBER_OF_PROCESSORS = `2' OS = `Windows_NT' OSTYPE = `posix' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PRINTER = `HL1650' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0801' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' REMOTEHOST = `127.0.0.1' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TERM = `xterm' TERMCAP = `xterm-r6|xterm|xterm X11R6 version:am:km:mi:ms:xn:co#80:it#8:li#64:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:' TZ = `CST6CDT5,M4.1.0/2,M10.5.0/2' USERDOMAIN = `FPC2' USERNAME = `bsven' USERPROFILE = `C:\Documents and Settings\bsven' VENDOR = `intel' WINDIR = `C:\WINDOWS' WINDOWID = `8388622' XAPPLRESDIR = `/usr/X11R6/lib/X11/app-defaults' XCMSDB = `/usr/X11R6/lib/X11/Xcms.txt' XKEYSYMDB = `/usr/X11R6/lib/X11/XKeysymDB' XNLSPATH = `/usr/X11R6/lib/X11/locale' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 99998Mb 8% CP CS UN PA FC d: hd NTFS 56321Mb 29% CP CS UN PA FC e: cd N/A N/A f: cd N/A N/A C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Not Found: gdb Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe 55k 2004/09/14 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2004/9/13 23:16 18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0 "cygcharset-1.dll" v0.0 ts=2004/7/6 13:09 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 2:57 852k 2005/03/23 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.7.dll" v0.0 ts=2005/3/23 4:16 831k 2003/09/20 C:\cygwin\bin\cygdb-4.1.dll - os=4.0 img=1.0 sys=4.0 "cygdb-4.1.dll" v0.0 ts=2003/9/20 16:51 895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll - os=4.0 img=1.0 sys=4.0 "cygdb-4.2.dll" v0.0 ts=2004/4/27 10:31 1080k 2003/09/20 C:\cygwin\bin\cygdb_cxx-4.1.dll - os=4.0 img=1.0 sys=4.0 "cygdb_cxx-4.1.dll" v0.0 ts=2003/9/20 16:53 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll - os=4.0 img=1.0 sys=4.0 "cygdb_cxx-4.2.dll" v0.0 ts=2004/4/27 10:35 174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0 "cygexpat-0.dll" v0.0 ts=2004/10/14 3:34 129k 2004/03/11 C:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0 "cygfontconfig-1.dll" v0.0 ts=2004/3/10 18:12 40k 2004/10/10 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0 "cygform-8.dll" v0.0 ts=2004/10/10 3:33 45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/4/25 0:28 35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 "cygform6.dll" v0.0 ts=2002/1/9 0:03 48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0 "cygform7.dll" v0.0 ts=2003/8/9 4:25 361k 2003/10/25 C:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0 "cygfreetype-6.dll" v0.0 ts=2003/10/21 23:18 222k 2005/01/13 C:\cygwin\bin\cyggd-2.dll - os=4.0 img=1.0 sys=4.0 "cyggd-2.dll" v0.0 ts=2005/1/13 9:56 28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-3.dll" v0.0 ts=2003/7/20 2:58 30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2003/8/10 21:12 19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2002/2/19 21:05 15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 3:00 15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 21:13 107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll - os=4.0 img=1.0 sys=4.0 "cyggettextlib-0-14-1.dll" v0.0 ts=2004/7/6 12:56 17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0 "cyggettextpo-0.dll" v0.0 ts=2004/7/6 12:56 190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll - os=4.0 img=1.0 sys=4.0 "cyggettextsrc-0-14-1.dll" v0.0 ts=2004/7/6 12:56 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/6 22:34 29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 "cyghistory5.dll" v0.0 ts=2003/8/10 18:16 25k 2004/10/12 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0 "cyghistory6.dll" v0.0 ts=2004/10/12 1:51 991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2004/7/6 13:10 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 3:28 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2003/8/10 16:50 54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2004/7/6 12:51 21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0 "cygintl.dll" v0.0 ts=2001/6/20 12:09 132k 2003/08/11 C:\cygwin\bin\cygjpeg-62.dll - os=4.0 img=1.0 sys=4.0 "cygjpeg-62.dll" v0.0 ts=2003/8/10 19:37 22k 2004/10/10 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0 "cygmenu-8.dll" v0.0 ts=2004/10/10 3:33 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/4/25 0:27 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 "cygmenu6.dll" v0.0 ts=2002/1/9 0:03 29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0 "cygmenu7.dll" v0.0 ts=2003/8/9 4:25 21k 2004/10/22 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.0 sys=4.0 "cygminires.dll" v0.0 ts=2004/10/22 15:28 74k 2004/10/10 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++-8.dll" v0.0 ts=2004/10/10 3:33 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/4/25 0:29 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++6.dll" v0.0 ts=2002/1/9 0:03 216k 2004/10/10 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2004/10/10 3:25 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/4/25 0:17 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses6.dll" v0.0 ts=2002/1/9 0:03 224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0 "cygncurses7.dll" v0.0 ts=2003/8/9 4:24 13k 2004/10/10 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0 "cygpanel-8.dll" v0.0 ts=2004/10/10 3:32 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/4/25 0:27 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 "cygpanel6.dll" v0.0 ts=2002/1/9 0:03 19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0 "cygpanel7.dll" v0.0 ts=2003/8/9 4:24 62k 2003/12/11 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2003/12/11 11:01 63k 2003/04/11 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0 "cygpcre.dll" v0.0 ts=2003/4/11 3:31 9k 2003/12/11 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix-0.dll" v0.0 ts=2003/12/11 11:01 61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix.dll" v0.0 ts=2003/4/11 3:31 1252k 2005/01/27 C:\cygwin\bin\cygperl5_8.dll - os=4.0 img=1.0 sys=4.0 "cygperl5_8.dll" v0.0 ts=2005/1/27 4:17 173k 2003/08/10 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0 "cygpng12.dll" v0.0 ts=2003/8/10 17:35 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/9 0:45 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/6 22:34 148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 "cygreadline5.dll" v0.0 ts=2003/8/10 18:16 144k 2004/10/12 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2004/10/12 1:51 171k 2005/03/23 C:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0 "cygssl-0.9.7.dll" v0.0 ts=2005/3/23 4:16 62k 2004/10/10 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2004/10/9 23:09 1149k 2005/03/01 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2005/3/1 10:01 Cygwin DLL version info: DLL version: 1.5.13 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 122 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Tue Mar 1 11:01:37 EST 2005 Shared id: cygwin1S4 243k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdps-1.dll - os=4.0 img=1.0 sys=4.0 "cygdps-1.dll" v0.0 ts=2005/2/23 8:42 26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdpstk-1.dll - os=4.0 img=1.0 sys=4.0 "cygdpstk-1.dll" v0.0 ts=2005/2/23 8:42 21k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygfontenc-1.dll - os=4.0 img=1.0 sys=4.0 "cygfontenc-1.dll" v0.0 ts=2005/2/23 8:45 36k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygFS-6.dll - os=4.0 img=1.0 sys=4.0 "cygFS-6.dll" v0.0 ts=2005/2/23 8:34 358k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGL-1.dll - os=4.0 img=1.0 sys=4.0 "cygGL-1.dll" v0.0 ts=2005/2/23 8:39 438k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll - os=4.0 img=1.0 sys=4.0 "cygGLU-1.dll" v0.0 ts=2005/2/23 8:41 75k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0 "cygICE-6.dll" v0.0 ts=2005/2/23 8:28 9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygoldX-6.dll - os=4.0 img=1.0 sys=4.0 "cygoldX-6.dll" v0.0 ts=2005/2/23 8:28 1413k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll - os=4.0 img=1.0 sys=4.0 "cygOSMesa-4.dll" v0.0 ts=2005/2/23 8:39 20k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygpsres-1.dll - os=4.0 img=1.0 sys=4.0 "cygpsres-1.dll" v0.0 ts=2005/2/23 8:42 30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0 "cygSM-6.dll" v0.0 ts=2005/2/23 8:28 877k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0 "cygX11-6.dll" v0.0 ts=2005/2/23 8:28 254k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-6.dll - os=4.0 img=1.0 sys=4.0 "cygXaw-6.dll" v0.0 ts=2005/2/23 8:31 356k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-7.dll - os=4.0 img=1.0 sys=4.0 "cygXaw-7.dll" v0.0 ts=2005/2/23 8:32 363k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-8.dll - os=4.0 img=1.0 sys=4.0 "cygXaw-8.dll" v0.0 ts=2005/2/23 8:33 9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcomposite-1.dll - os=4.0 img=1.0 sys=4.0 "cygXcomposite-1.dll" v0.0 ts=2005/2/23 8:44 30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcursor-1.dll - os=4.0 img=1.0 sys=4.0 "cygXcursor-1.dll" v0.0 ts=2005/2/23 8:43 9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXdamage-1.dll - os=4.0 img=1.0 sys=4.0 "cygXdamage-1.dll" v0.0 ts=2005/2/23 8:44 7k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXevie-1.dll - os=4.0 img=1.0 sys=4.0 "cygXevie-1.dll" v0.0 ts=2005/2/23 8:43 49k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0 "cygXext-6.dll" v0.0 ts=2005/2/23 8:28 16k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXfixes-3.dll - os=4.0 img=1.0 sys=4.0 "cygXfixes-3.dll" v0.0 ts=2005/2/23 8:43 56k 2004/03/11 C:\cygwin\usr\X11R6\bin\cygXft-1.dll - os=4.0 img=1.0 sys=4.0 "cygXft-1.dll" v0.0 ts=2003/11/17 19:42 63k 2004/03/23 C:\cygwin\usr\X11R6\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0 "cygXft-2.dll" v0.0 ts=2004/3/23 16:20 27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXi-6.dll - os=4.0 img=1.0 sys=4.0 "cygXi-6.dll" v0.0 ts=2005/2/23 8:34 125k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbfile-1.dll - os=4.0 img=1.0 sys=4.0 "cygxkbfile-1.dll" v0.0 ts=2005/2/23 8:34 12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbui-1.dll - os=4.0 img=1.0 sys=4.0 "cygxkbui-1.dll" v0.0 ts=2005/2/23 8:34 76k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmu-6.dll - os=4.0 img=1.0 sys=4.0 "cygXmu-6.dll" v0.0 ts=2005/2/23 8:30 11k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmuu-1.dll - os=4.0 img=1.0 sys=4.0 "cygXmuu-1.dll" v0.0 ts=2005/2/23 8:30 26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXp-6.dll - os=4.0 img=1.0 sys=4.0 "cygXp-6.dll" v0.0 ts=2005/2/23 8:31 52k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXpm-4.dll - os=4.0 img=1.0 sys=4.0 "cygXpm-4.dll" v0.0 ts=2005/2/23 8:30 12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrandr-2.dll - os=4.0 img=1.0 sys=4.0 "cygXrandr-2.dll" v0.0 ts=2005/2/23 8:43 28k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0 "cygXrender-1.dll" v0.0 ts=2005/2/23 8:42 8k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXRes-1.dll - os=4.0 img=1.0 sys=4.0 "cygXRes-1.dll" v0.0 ts=2005/2/23 8:43 40k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrx-6.dll - os=4.0 img=1.0 sys=4.0 "cygxrx-6.dll" v0.0 ts=2005/2/23 8:53 25k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrxnest-6.dll - os=4.0 img=1.0 sys=4.0 "cygxrxnest-6.dll" v0.0 ts=2005/2/23 8:53 282k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXt-6.dll - os=4.0 img=1.0 sys=4.0 "cygXt-6.dll" v0.0 ts=2005/2/23 8:29 27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll - os=4.0 img=1.0 sys=4.0 "cygXTrap-6.dll" v0.0 ts=2005/2/23 8:43 17k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXtst-6.dll - os=4.0 img=1.0 sys=4.0 "cygXtst-6.dll" v0.0 ts=2005/2/23 8:34 Cygwin Package Information Last downloaded files to: D:\PC\Setups_PC\Other\Cygwin Last downloaded files from: http://mirror.mcs.anl.gov/cygwin Package Version _update-info-dir 00231-1 a2ps 4.13-1 ash 20040127-1 base-files 3.2-1 base-passwd 2.2-1 bash 2.05b-16 binutils 20041229-1 bzip2 1.0.2-6 coreutils 5.3.0-3 cron 3.0.1-19 crypt 1.1-1 cygrunsrv 1.01-1 cygutils 1.2.6-1 cygwin 1.5.13-1 cygwin-doc 1.4-2 cygwin-x-doc 1.0.4-1 diffutils 2.8.7-1 editrights 1.01-1 expat 1.95.8-1 fileutils 4.1-3 findutils 20041227-1 fontconfig 2.2.2-1 freetype2 2.1.5-1 gawk 3.1.4-3 gcc 3.3.3-3 gcc-core 3.3.3-3 gcc-g++ 3.3.3-3 gcc-g77 3.3.3-3 gcc-mingw 20040810-1 gcc-mingw-core 20040810-1 gcc-mingw-g++ 20040810-1 gcc-mingw-g77 20040810-1 gdbm 1.8.3-7 gettext 0.14.1-1 gnuplot 4.0.0-1 grep 2.5.1a-2 groff 1.18.1-2 gzip 1.3.5-1 less 381-1 libbz2_1 1.0.2-6 libcharset1 1.9.2-1 libdb4.1 4.1.25-1 libdb4.2 4.2.52-1 libfontconfig1 2.2.2-1 libfreetype26 2.1.5-1 libgd2 2.0.33-1 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-7 libgdbm3 1.8.3-3 libgdbm4 1.8.3-7 libgettextpo0 0.14.1-1 libiconv 1.9.2-1 libiconv2 1.9.2-1 libintl 0.10.38-3 libintl1 0.10.40-1 libintl2 0.12.1-3 libintl3 0.14.1-1 libjpeg62 6b-11 libncurses5 5.2-1 libncurses6 5.2-8 libncurses7 5.3-4 libncurses8 5.4-1 libpcre 4.1-1 libpcre0 4.5-1 libpng12 1.2.5-4 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-5 libreadline6 5.0-1 libXft 2.1.6-1 libXft1 1.0.0-1 libXft2 2.1.6-1 login 1.9-7 make 3.80-1 man 1.5o1-2 mingw-runtime 3.7-1 minires 1.00-1 mktemp 1.5-3 more 2.11o-1 ncurses 5.4-1 openssh 3.9p1-3 openssl 0.9.7f-1 patch 2.5.8-8 pcre 4.5-1 pcre-doc 4.5-1 perl 5.8.6-4 perl_manpages 5.8.6-4 psutils 1.17-1 readline 5.0-1 rxvt 2.7.10-5 sed 4.1.3-1 sh-utils 2.0.15-5 sharutils 4.2.1-3 tar 1.13.25-5 tcsh 6.13.00-2 termcap 20021106-2 terminfo 5.4_20041009-1 texinfo 4.7-2 textutils 2.0.21-2 unzip 5.50-5 vim 6.3-1 w32api 3.2-1 which 1.6-1 X-start-menu-icons 1.0.3-2 X-startup-scripts 1.0.10-3 xorg-x11-base 6.8.2.0-1 xorg-x11-bin 6.8.2.0-1 xorg-x11-bin-dlls 6.8.2.0-1 xorg-x11-bin-lndir 6.8.2.0-1 xorg-x11-etc 6.8.2.0-1 xorg-x11-fenc 6.8.1.0-2 xorg-x11-fnts 6.8.1.0-3 xorg-x11-libs-data 6.8.2.0-1 xorg-x11-man-pages 6.8.2.0-1 xorg-x11-xwin 6.8.2.0-1 xterm 196-1 xwinclip 1.2.0-1 zlib 1.2.2-1 Use -h to see help about each section From michael@endbracket.net Sat Apr 16 01:52:00 2005 From: michael@endbracket.net (Michael Wardle) Date: Sat, 16 Apr 2005 01:52:00 -0000 Subject: starting xterm from tcsh, gives error message: missing }. In-Reply-To: References: Message-ID: <1113616310.7018.11.camel@localhost.localdomain> On Fri, 2005-04-15 at 19:21 -0500, Bengt Svensson wrote: > I am using tcsh in cygwin and every time I start a new xterm from an existing > xterm/tcsh window I get the error message 'missing }.' > I recently updated my cygwin so everything should be current. But see attached > cygcheck -s -v -r output. You haven't given enough context in that script to determine why that line was problematic and I don't have a Cygwin install in front of me, so I can't check. To me that line looks fine as it was, however the purpose of the eval was not obvious. I think that statement would be better without the eval at all. I notice that one directory in your PATH contains a space (c:\Program Files\Common Files\MDL Shared\ISIS). If you examine your output from cygcheck you will see that something weird is happening. My guess is that at least one script in profile.d isn't handling directories with spaces properly. They really should be rewritten to use the $path variable instead ($path is an array, $PATH is a scalar) or to explicitly set IFS and use proper quoting. -- Michael Wardle From woutdezeeuw@12move.nl Sat Apr 16 10:51:00 2005 From: woutdezeeuw@12move.nl (woutdezeeuw@12move.nl) Date: Sat, 16 Apr 2005 10:51:00 -0000 Subject: Getting cygwin-X client running with debian server. Message-ID: <421C4FB400039502@mail-1-bnl.tiscali.it> Hi, Just a tip for newbies (like me) that try to get cygwin-X running with debian server. Apparantly the debian server's sshd default setting is not to forward X11. The error message I then get on my x-client is "Can't open display". So the following setting in /etc/ssh/sshd_config is needed: X11Forwarding yes Now I can login to the server with ssh -y -l And can startup e.g. my favourite editor nedit on the client. I didn't find this info in the faq, hence this note. Kind regards, Wout _____________________________________________________________________ 12move ADSL vanaf 18,95 euro! GRATIS modem, GEEN aansluitkosten en GEEN datalimiet! Ga nu naar http://adsl.12move.nl From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 18 09:11:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 18 Apr 2005 09:11:00 -0000 Subject: Getting cygwin-X client running with debian server. In-Reply-To: <421C4FB400039502@mail-1-bnl.tiscali.it> References: <421C4FB400039502@mail-1-bnl.tiscali.it> Message-ID: On Sat, 16 Apr 2005 woutdezeeuw@12move.nl wrote: > Just a tip for newbies (like me) that try to get cygwin-X running with debian > server. Apparantly the debian server's sshd default setting is not to forward > X11. The error message I then get on my x-client is "Can't open display". > So the following setting in /etc/ssh/sshd_config is needed: > > X11Forwarding yes > > I didn't find this info in the faq, hence this note. What about this one http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From hj.beckers@kreis-steinfurt.de Mon Apr 18 12:28:00 2005 From: hj.beckers@kreis-steinfurt.de (Hermann-Josef Beckers) Date: Mon, 18 Apr 2005 12:28:00 -0000 Subject: downgrade a 5-button- to a 3-button-mouse Message-ID: We are running a propietary application on a tablet pc (windows XP Tablet-PC-Edition).. Most everything works, but there is a small glitch: For handling reasons some (function-)keys are combined into a small panel. Clicking the keys with the pen has no effect. Entering these keys with the virtual keyboard or a real attached keyboard works. >From the support-line: "This application DGK5 supports the configuration of a 3-button-mouse only. In Cygwin is a 5-button-mouse configured. You have to configure the Cygwin-X-server in such a way, that a 3-button-mouse is recognized." HOW? A Xfree-conf-file isn't used in Cygwin (AFAIK). "-emulate3buttons" has no effect, as it works the other way up (3 buttons on a 2-button-mouse). Any hints? Yours hjb From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 18 13:39:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 18 Apr 2005 13:39:00 -0000 Subject: downgrade a 5-button- to a 3-button-mouse In-Reply-To: References: Message-ID: On Mon, 18 Apr 2005, Hermann-Josef Beckers wrote: > We are running a propietary application on a tablet pc (windows XP > Tablet-PC-Edition).. Most > everything works, but there is a small glitch: For handling reasons some > (function-)keys > are combined into a small panel. Clicking the keys with the pen has no > effect. Entering these > keys with the virtual keyboard or a real attached keyboard works. > > From the support-line: > "This application DGK5 supports the configuration of a 3-button-mouse > only. In Cygwin is a > 5-button-mouse configured. You have to configure the Cygwin-X-server in > such a way, > that a 3-button-mouse is recognized." > > HOW? > A Xfree-conf-file isn't used in Cygwin (AFAIK). "-emulate3buttons" has no > effect, as it works > the other way up (3 buttons on a 2-button-mouse). Cygwin/X will use a 3button mouse by default and ask windows how many additional buttons the mouse supports. I'm have no idea how these special function keys are supposed to work, but functions keys which depend on a mouse setting are broken in my opinion. You may check with xev if the keys are somehow recognized in Cygwin/X nevertheless. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From hj.beckers@kreis-steinfurt.de Mon Apr 18 15:07:00 2005 From: hj.beckers@kreis-steinfurt.de (Hermann-Josef Beckers) Date: Mon, 18 Apr 2005 15:07:00 -0000 Subject: Antwort: Re: downgrade a 5-button- to a 3-button-mouse In-Reply-To: Message-ID: cygwin-xfree-owner@cygwin.com schrieb am 18.04.2005 15:39:43: > > Cygwin/X will use a 3button mouse by default and ask windows how > many additional > buttons the mouse supports. I'm have no idea how these special > function keys are > supposed to work, but functions keys which depend on a mouse settingare broken > in my opinion. > Problem is there is no real mouse, only the pen/stylus acting as a mouse. The mailinglist has a short thread (2 messages) from march 2003; Harold suggestesd using -multiwindow: it is activated, no chance. > You may check with xev if the keys are somehow recognized in > Cygwin/X nevertheless. Following are three xev-traces from entering the panel, clicking the button labeled F6 and leaving. Run 1: EnterNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 1469359, (55,0), root:(141,374), mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES, focus YES, state 0 KeymapNotify event, serial 13, synthetic NO, window 0x0, keys: 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VisibilityNotify event, serial 13, synthetic NO, window 0x80051f, state VisibilityPartiallyObscured VisibilityNotify event, serial 13, synthetic NO, window 0x80051f, state VisibilityUnobscured ConfigureNotify event, serial 13, synthetic NO, window 0x80051f, event 0x80051f, window 0x80051f, (86,374), width 202, height 173, border_width 0, above 0x800427, override NO ConfigureNotify event, serial 13, synthetic NO, window 0x80051f, event 0x80051f, window 0x80051f, (86,374), width 202, height 173, border_width 0, above 0xa00001, override NO ConfigureNotify event, serial 13, synthetic NO, window 0x80051f, event 0x80051f, window 0x80051f, (86,374), width 202, height 173, border_width 0, above 0x800427, override NO VisibilityNotify event, serial 13, synthetic NO, window 0x80051f, state VisibilityPartiallyObscured VisibilityNotify event, serial 13, synthetic NO, window 0x80051f, state VisibilityUnobscured KeyRelease event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x0, time 1481218, (90,39), root:(176,413), state 0x0, keycode 8 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: VisibilityNotify event, serial 16, synthetic NO, window 0x80051f, state VisibilityPartiallyObscured VisibilityNotify event, serial 16, synthetic NO, window 0x80051f, state VisibilityUnobscured VisibilityNotify event, serial 16, synthetic NO, window 0x80051f, state VisibilityPartiallyObscured VisibilityNotify event, serial 16, synthetic NO, window 0x80051f, state VisibilityUnobscured LeaveNotify event, seria Second try: EnterNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 1569578, (159,14), root:(245,388), mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES, focus YES, state 0 KeymapNotify event, serial 13, synthetic NO, window 0x0, keys: 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LeaveNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 1570375, (83,-12), root:(169,362), mode NotifyNormal, detail NotifyVirtual, same_screen YES, focus YES, state 0 ConfigureNotify event, serial 13, synthetic NO, window 0x80051f, event 0x80051f, window 0x80051f, (86,374), width 202, height 173, border_width 0, above 0xa00001, override NO ConfigureNotify event, serial 13, synthetic NO, window 0x80051f, event 0x80051f, window 0x80051f, (86,374), width 202, height 173, border_width 0, above 0xa00001, override NO EnterNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 1571937, (112,13), root:(198,387), mode NotifyNormal, detail NotifyVirtual, same_screen YES, focus YES, state 0 KeymapNotify event, serial 13, synthetic NO, window 0x0, keys: 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LeaveNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 1572000, (222,81), root:(308,455), mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES, focus YES, state 0 EnterNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 1581203, (185,18), root:(271,392), mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES, focus YES, state 0 Third try: EnterNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 3836140, (162,1), root:(248,375), mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES, focus YES, state 0 KeymapNotify event, serial 13, synthetic NO, window 0x0, keys: 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ConfigureNotify event, serial 13, synthetic NO, window 0x80051f, event 0x80051f, window 0x80051f, (86,374), width 202, height 173, border_width 0, above 0x800427, override NO ConfigureNotify event, serial 13, synthetic NO, window 0x80051f, event 0x80051f, window 0x80051f, (86,374), width 202, height 173, border_width 0, above 0xa00001, override NO LeaveNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 3850828, (268,58), root:(354,432), mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES, focus YES, state 0 EnterNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 3894328, (201,60), root:(287,434), mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES, focus YES, state 0 KeymapNotify event, serial 13, synthetic NO, window 0x0, keys: 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LeaveNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 3894859, (208,82), root:(294,456), mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES, focus YES, state 0 ConfigureNotify event, serial 13, synthetic NO, window 0x80051f, event 0x80051f, window 0x80051f, (86,374), width 202, height 173, border_width 0, above 0x800427, override NO EnterNotify event, serial 13, synthetic NO, window 0x80051f, root 0x3a, subw 0x800533, time 3937203, (129,93), root:(215,467), mode NotifyNormal, detail NotifyNonli From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 18 16:54:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 18 Apr 2005 16:54:00 -0000 Subject: Antwort: Re: downgrade a 5-button- to a 3-button-mouse In-Reply-To: References: Message-ID: On Mon, 18 Apr 2005, Hermann-Josef Beckers wrote: > Problem is there is no real mouse, only the pen/stylus acting > as a mouse. The mailinglist has a short thread (2 messages) from > march 2003; Harold suggestesd using -multiwindow: it is activated, > no chance. For windows there are basicly two input devices. Keyboards and mice. Keyboards will generate keypress and release events (WM_KEYDOWN). Mice produce button press and relese events (WM_[LMRX]BUTTONDOWN) for the left, middle, right and extra buttons. The WM_KEYUP has two kind of key information attached. The raw keyboard scancodes and the codes after applying the keyboard layout. Cygwin/X only uses the raw scancodes. If they don't match the real key it is very likely the key is not recognized. I've placed a small program on http://www.tu-chemnitz.de/~goal/xfree/msgtest.exe which will dump the messages to the console. Please run it and report what it prints when pressing the onscreen keys and what it reports when pressing the physical key. > KeyRelease event, serial 13, synthetic NO, window 0x80051f, > root 0x3a, subw 0x0, time 1481218, (90,39), root:(176,413), > state 0x0, keycode 8 (keysym 0x0, NoSymbol), same_screen YES, > XLookupString gives 0 bytes: This is just the release. There was no keypress event. Either some flags are wrong or the scancode was not right. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From bsven@msi.umn.edu Mon Apr 18 23:45:00 2005 From: bsven@msi.umn.edu (Bengt Svensson) Date: Mon, 18 Apr 2005 23:45:00 -0000 Subject: starting xterm from tcsh, gives error message: missing }. In-Reply-To: References: Message-ID: Thanks Michael for the answer, you were correct. It was a problem with spaces in the PATH. It is the script /etc/profile.d/00xorg-x11-base.csh that does not handle the space. I verified this by removing the part of the PAT that had the space in it. The script is attached here in its original form. Hopefully someone who is better than me at csh scripting can find a solution for future versions of cygwin. Bengt Svensson $ more 00xorg-x11-base.csh # The script name starts with 00 to ensure that it is executed before any # other scripts because one of them may need to know where X is to run # properly. # Check if the PATH variable is empty or not if ( $?PATH ) then # PATH is not empty # Check if path is already in PATH eval "/bin/echo ${PATH} | /bin/grep -q /usr/X11R6/bin" if ( $status ) then # Path is not already in PATH, prepend it to PATH setenv PATH "/usr/X11R6/bin:${PATH}" endif else # PATH is empty setenv PATH "/usr/X11R6/bin" endif > On Fri, 2005-04-15 at 19:21 -0500, Bengt Svensson wrote: > > I am using tcsh in cygwin and every time I start a new xterm from an existing > > xterm/tcsh window I get the error message 'missing }.' > > I recently updated my cygwin so everything should be current. But see attached > > cygcheck -s -v -r output. > > You haven't given enough context in that script to determine why that > line was problematic and I don't have a Cygwin install in front of me, > so I can't check. > > To me that line looks fine as it was, however the purpose of the eval > was not obvious. I think that statement would be better without the > eval at all. > > I notice that one directory in your PATH contains a space (c:\Program > Files\Common Files\MDL Shared\ISIS). If you examine your output from > cygcheck you will see that something weird is happening. > > My guess is that at least one script in profile.d isn't handling > directories with spaces properly. They really should be rewritten to > use the $path variable instead ($path is an array, $PATH is a scalar) or > to explicitly set IFS and use proper quoting. > > -- > Michael Wardle From bonnyfused@tiscali.it Tue Apr 19 06:54:00 2005 From: bonnyfused@tiscali.it (Boniforti Flavio) Date: Tue, 19 Apr 2005 06:54:00 -0000 Subject: Launching remote X apps over ssh, crashing. Message-ID: <4212FE4B000CD399@mail-6.tiscali.it> Hello all. I've installed Cygwin/X and then with setup installed xorg-x11-xwin and openSSH. Now, I connect through ssh to my server with ssh -X 192.168.1.69 After I get logged in, I want to launch my remote apps, with the graphics displayed on my Windows-based laptop. The apps start and get displayed, but quite after few seconds they crash, pointing to some "window" errors. Is there anybody who can help me? In fact I should have been posting the output of that errors, but actually I'm not on that PC. I'll provide the "logs" as soon as I get at home! Thank you in advance. __________________________________________________________________ TISCALI ADSL 6 MEGA FLAT a soli 29.95 euro/mese! Con Tiscali Adsl 6 Mega Flat navighi con la SuperVelocita' a soli 29.95 euro al mese, senza limiti di tempo. E se attivi entro il 30 aprile, 3 MESI sono GRATIS! Scopri come risparmiare navigando veloce su http://abbonati.tiscali.it/adsl/sa/6flat_tc/ From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 19 07:11:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 19 Apr 2005 07:11:00 -0000 Subject: starting xterm from tcsh, gives error message: missing }. In-Reply-To: References: Message-ID: On Mon, 18 Apr 2005, Bengt Svensson wrote: > Thanks Michael for the answer, you were correct. > It was a problem with spaces in the PATH. It is the script > /etc/profile.d/00xorg-x11-base.csh that does not handle the space. I > verified this by removing the part of the PAT that had the space in it. > The script is attached here in its original form. Hopefully someone who is > better than me at csh scripting can find a solution for future versions > of cygwin. I have space in the path too and had no problems with the xorg-x11-base.csh script. maybe it is a different script which is not installed on my but on your host. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 19 07:13:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 19 Apr 2005 07:13:00 -0000 Subject: Launching remote X apps over ssh, crashing. In-Reply-To: <4212FE4B000CD399@mail-6.tiscali.it> References: <4212FE4B000CD399@mail-6.tiscali.it> Message-ID: On Tue, 19 Apr 2005, Boniforti Flavio wrote: > Hello all. > I've installed Cygwin/X and then with setup installed xorg-x11-xwin and openSSH. > Now, I connect through ssh to my server with > > ssh -X 192.168.1.69 check the FAQ. It's ssh -Y 192.168.1.69 bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From hj.beckers@kreis-steinfurt.de Tue Apr 19 09:36:00 2005 From: hj.beckers@kreis-steinfurt.de (Hermann-Josef Beckers) Date: Tue, 19 Apr 2005 09:36:00 -0000 Subject: Antwort: Re: Antwort: Re: downgrade a 5-button- to a 3-button-mouse In-Reply-To: Message-ID: cygwin-xfree-owner@cygwin.com schrieb am 18.04.2005 18:54:11: > > I've placed a small program on http://www.tu-chemnitz. > de/~goal/xfree/msgtest.exe > which will dump the messages to the console. Please run it and report > what it prints when pressing the onscreen keys and what it reports > when pressing the physical key. > Attached two files: keyboard.out contains the messages, when entering F6 via the attached keyboard. menu.out contains the messages generated by clicking the button labeled F6 in the panel. NB. I had a problem in using msgtest.exe from a bash prompt. The X server was active, but no window appeared and msgtest.exe didn't spew any messages. I had to start a xterm from the bash prompt and then start msgtest.exe. Yours hjb -------------- next part -------------- A non-text attachment was scrubbed... Name: keyboard.out Type: application/octet-stream Size: 27627 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: menu.out Type: application/octet-stream Size: 2987 bytes Desc: not available URL: From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 19 10:09:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 19 Apr 2005 10:09:00 -0000 Subject: Antwort: Re: Antwort: Re: downgrade a 5-button- to a 3-button-mouse In-Reply-To: References: Message-ID: On Tue, 19 Apr 2005, Hermann-Josef Beckers wrote: > keyboard.out contains the messages, when entering F6 via the attached > keyboard. > menu.out contains the messages generated by clicking the button > labeled F6 in the panel. The log from keyboard.out shows the keypress WindowProc: HWND 0075 00400001 WM_KEYDOWN WindowProc: HWND 0075 c0400001 WM_KEYUP The menu.out log has no indication that anything happend. Unless I get more information on the type of display and how the on screen keys work I can not provide a solution. > NB. I had a problem in using msgtest.exe from a bash prompt. > The X server was active, but no window appeared and msgtest.exe > didn't spew any messages. I had to start a xterm from the bash > prompt and then start msgtest.exe. I only tested it with xterm, so I did notice this before. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From suri_me@yahoo.com Tue Apr 19 11:36:00 2005 From: suri_me@yahoo.com (suresh loganathan) Date: Tue, 19 Apr 2005 11:36:00 -0000 Subject: Help me on running cygwin ! Message-ID: <20050419113608.74590.qmail@web51908.mail.yahoo.com> Hi, I tried running cygwin on my system, it creates a log file(attached). It stops there. Tell me howto goahead and use the application. regards, suresh __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 6489 bytes Desc: XWin.log URL: From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 19 11:51:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 19 Apr 2005 11:51:00 -0000 Subject: Help me on running cygwin ! In-Reply-To: <20050419113608.74590.qmail@web51908.mail.yahoo.com> References: <20050419113608.74590.qmail@web51908.mail.yahoo.com> Message-ID: On Tue, 19 Apr 2005, suresh loganathan wrote: > Hi, > > I tried running cygwin on my system, it creates a log > file(attached). It stops there. Tell me howto goahead > and use the application. Most likely you're running some kind personal firewall or VPN software which interferes with the cygwin network handling. you may try if Xming (http://freedesktop.org/wiki/Xming) is immune to the problems. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From joseph@tidetamerboatlifts.com Tue Apr 19 12:32:00 2005 From: joseph@tidetamerboatlifts.com (Joseph Miller) Date: Tue, 19 Apr 2005 12:32:00 -0000 Subject: Fwd: calcmaster.NET Contact Us Message-ID: <200504190855.06725.joseph@tidetamerboatlifts.com> Could someone help me out with this? I'm not really sure what his problem is. For anyone who is not familiar XWinLogon (http://www.calcmaster.net/visual-c++/xwinlogon/) is just a frontend to launch the X server. The launcher sets up the environment variables, launches XWin.exe, then launches either ssh.exe or rsh.exe inside of an xterm. I have never had problems with it except that sometimes xterm.exe launches before XWin.exe opens a listening socket and then xterm.exe promptly closes. Reattempting to launch everything usually fixes this. -Joseph Miller ---------- Forwarded Message ---------- Subject: calcmaster.NET Contact Us Date: Friday 15 April 2005 6:21 pm Stan Perkins XWinLogon Hi, I was hoping you could help me with a problem I am having with XWinLogon. When I try to run XWinLogon (connecting to our IBM AIX server), I get the following errors. I know that the server supports running the Gnome and KDE desktops because I can connect to it and run them via Hummingbird (which I would really like to get rid of). Thanks! Stan Perkins Fresno County ITSD ========== DOS Window Msgs ========= Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-12 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin :0 -query psoftdevhr -clipboard -trayicon -bs Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb' _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root 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 00000007 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff MIT-SHM extension disabled due to lack of kernel support error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: "00000409" (00000409) (--) Using preset keyboard for "English (USA)" (409), type "81" Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options = "(null )" (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 397 273 ------------------------------------------------------- From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 19 12:42:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 19 Apr 2005 12:42:00 -0000 Subject: Fwd: calcmaster.NET Contact Us In-Reply-To: <200504190855.06725.joseph@tidetamerboatlifts.com> References: <200504190855.06725.joseph@tidetamerboatlifts.com> Message-ID: On Tue, 19 Apr 2005, Joseph Miller wrote: > Could someone help me out with this? I'm not really sure what his problem is. > For anyone who is not familiar XWinLogon > (http://www.calcmaster.net/visual-c++/xwinlogon/) is just a frontend to > launch the X server. The launcher sets up the environment variables, > launches XWin.exe, then launches either ssh.exe or rsh.exe inside of an > xterm. I have never had problems with it except that sometimes xterm.exe > launches before XWin.exe opens a listening socket and then xterm.exe promptly > closes. Reattempting to launch everything usually fixes this. Before starting xterm make sure you can connect. Check xinit sources or xlaunch sources for examples. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From bonnyfused@tiscali.it Tue Apr 19 15:08:00 2005 From: bonnyfused@tiscali.it (Boniforti Flavio) Date: Tue, 19 Apr 2005 15:08:00 -0000 Subject: Launching remote X apps over ssh, crashing. In-Reply-To: References: <4212FE4B000CD399@mail-6.tiscali.it> Message-ID: <20050419170906.7fe3e415@utopia> In data Tue, 19 Apr 2005 09:13:13 +0200 (MEST) Alexander Gottwald scriveva: > > ssh -X 192.168.1.69 > > check the FAQ. It's ssh -Y 192.168.1.69 Heh.. that's now a strange thing: today I actually don't get any program started at all! I just get: "Error: Can't open display:" What should I do? Thanks. -- Registered Linux User #251752 --- VB LUG Co-Founder --- Black clothes: Ideal tool for removing cat hair from furniture. From bonnyfused@tiscali.it Tue Apr 19 15:16:00 2005 From: bonnyfused@tiscali.it (Boniforti Flavio) Date: Tue, 19 Apr 2005 15:16:00 -0000 Subject: Launching remote X apps over ssh, crashing. In-Reply-To: <20050419170906.7fe3e415@utopia> References: <4212FE4B000CD399@mail-6.tiscali.it> <20050419170906.7fe3e415@utopia> Message-ID: <20050419171620.79510233@utopia> In data Tue, 19 Apr 2005 17:09:06 +0200 Boniforti Flavio scriveva: > "Error: Can't open display:" > > What should I do? Nevermind, it was my fault, pretending to use X without having ever started it! :-) OK, the trouble was in fact "-X", which has to be "-Y"... thanks! -- Registered Linux User #251752 --- VB LUG Co-Founder --- Fighting for peace is like fucking for virginity! From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 19 15:17:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 19 Apr 2005 15:17:00 -0000 Subject: Launching remote X apps over ssh, crashing. In-Reply-To: <20050419170906.7fe3e415@utopia> References: <4212FE4B000CD399@mail-6.tiscali.it> <20050419170906.7fe3e415@utopia> Message-ID: On Tue, 19 Apr 2005, Boniforti Flavio wrote: > In data Tue, 19 Apr 2005 09:13:13 +0200 (MEST) > Alexander Gottwald scriveva: > > > > ssh -X 192.168.1.69 > > > > check the FAQ. It's ssh -Y 192.168.1.69 > > Heh.. that's now a strange thing: today I actually don't get any program > started at all! > I just get: > > "Error: Can't open display:" > > What should I do? check the FAQ!!!!oneone http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From pechtcha@cs.nyu.edu Tue Apr 19 15:28:00 2005 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Tue, 19 Apr 2005 15:28:00 -0000 Subject: Antwort: Re: Antwort: Re: downgrade a 5-button- to a 3-button-mouse In-Reply-To: References: Message-ID: On Tue, 19 Apr 2005, Hermann-Josef Beckers wrote: > cygwin-xfree-ownercygwincom schrieb am 18.04.2005 18:54:11: . Thanks. > > I've placed a small program on > > http://www.tu-chemnitz.de/~goal/xfree/msgtest.exe which will dump the > > messages to the console. Please run it and report what it prints when > > pressing the onscreen keys and what it reports when pressing the > > physical key. > > Attached two files: > > keyboard.out contains the messages, when entering F6 via the attached > keyboard. > menu.out contains the messages generated by clicking the button > labeled F6 in the panel. > > NB. I had a problem in using msgtest.exe from a bash prompt. > The X server was active, but no window appeared and msgtest.exe > didn't spew any messages. I had to start a xterm from the bash > prompt and then start msgtest.exe. In bash, you needed to say "DISPLAY=127.0.0.1:0.0 msgtest" In an xterm, the DISPLAY is already set. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 19 15:41:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 19 Apr 2005 15:41:00 -0000 Subject: Antwort: Re: Antwort: Re: downgrade a 5-button- to a 3-button-mouse In-Reply-To: References: Message-ID: On Tue, 19 Apr 2005, Igor Pechtchanski wrote: > > NB. I had a problem in using msgtest.exe from a bash prompt. > > The X server was active, but no window appeared and msgtest.exe > > didn't spew any messages. I had to start a xterm from the bash > > prompt and then start msgtest.exe. > > In bash, you needed to say > > "DISPLAY=127.0.0.1:0.0 msgtest" > > In an xterm, the DISPLAY is already set. I doubt this is the problem since this is a pure win32 application. Not even linked to libX11. I think I accidently linked it with -mwindows. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jeanmichel.123@free.fr Tue Apr 19 20:16:00 2005 From: jeanmichel.123@free.fr (jeanmichel.123@free.fr) Date: Tue, 19 Apr 2005 20:16:00 -0000 Subject: mouse pointer disappear Message-ID: <20050419221637.32whlh005wv4oo44@imp4.free.fr> This is a random problem. When using x window system with multiple windows (remotly displayed from a debian system), sometimes, the mouse pointer disappear from all Xwindow windows. I need to kill all cygwin programs in order to start again with the mouse pointer. note: the widows os run over a vmware machine, which run over a debian system. $ uname -a CYGWIN_NT-5.0 chyprew 1.5.13(0.122/4/2) 2005-03-01 11:01 i686 unknown unknown Cygwin -------------- next part -------------- A non-text attachment was scrubbed... Name: cygcheck.out Type: application/octet-stream Size: 58958 bytes Desc: not available URL: From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 19 20:22:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 19 Apr 2005 20:22:00 -0000 Subject: mouse pointer disappear In-Reply-To: <20050419221637.32whlh005wv4oo44@imp4.free.fr> References: <20050419221637.32whlh005wv4oo44@imp4.free.fr> Message-ID: On Tue, 19 Apr 2005 jeanmichel.123@free.fr wrote: > This is a random problem. > When using x window system with multiple windows (remotly displayed from a > debian system), sometimes, the mouse pointer disappear from all Xwindow > windows. > I need to kill all cygwin programs in order to start again with the mouse > pointer. This is a known problem without a proper solution but as a workaround there is menu entry in the tray menu called "ShowCursor" which reenables the cursor. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From walter_odell@urmc.rochester.edu Tue Apr 19 20:33:00 2005 From: walter_odell@urmc.rochester.edu (Walter O'Dell) Date: Tue, 19 Apr 2005 20:33:00 -0000 Subject: libGLw.a not found in latest download Message-ID: <42656B14.1050304@urmc.rochester.edu> as per a notice sent to this list in May of last year, in the latest download of the OpenGL and Lesstif libraries using the latest cygwin setup program, the library libGLw.a is not downloaded as evident from its absence from /usr/X11R6/lib It would seem from that prior notice that the author believed that this library should have in fact been included in the download and that the error would therefore be in the current cygwin package database. Since there were no replies to that earlier notice and I have been able to find no other reference to this library, I assume that this is indeed the case at this time. Please advise me if there is another route for me to take, thanks -- .................................................. Walter G. O'Dell, PhD Assistant Professor Depts. of Radiation Oncology & Biomedical Engineering University of Rochester 601 Elmwood Ave., Box 647 Rochester, NY 14642-8647 (585) 275-9996 wodell@rochester.edu http:\\radonc.urmc.rochester.edu\~wodell From Alexander.Gottwald@s1999.tu-chemnitz.de Tue Apr 19 21:42:00 2005 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 19 Apr 2005 21:42:00 -0000 Subject: libGLw.a not found in latest download In-Reply-To: <42656B14.1050304@urmc.rochester.edu> References: <42656B14.1050304@urmc.rochester.edu> Message-ID: Walter O'Dell wrote: > as per a notice sent to this list in May of last year, in the latest download of > the OpenGL and Lesstif libraries using the latest cygwin setup program, the > library libGLw.a is not downloaded as evident from its absence from /usr/X11R6/lib Sorry, this got lost. I'll create new packages with the library included. bye ago NP: DeVision - Melody Of Your Face -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From norm3@freenet.de Wed Apr 20 03:18:00 2005 From: norm3@freenet.de (norm) Date: Wed, 20 Apr 2005 03:18:00 -0000 Subject: XWin fails connecting to XDM for sending wrong source-IP Message-ID: <4265C88D.5060408@freenet.de> I was trying to connect to a Linux-server (Debian/Sarge, XFree86 4.3) from my Windows-box (Win XP Pro SP2, cygwin 1.5.15-1, xwin 6.8.2.0-1). All I got was a blank X-screen. I thought it may be a font-problem and tried: XWin -query 192.168.200.200 -fp "tcp/192.168.200.200:7100" After that, netstat gave me the following two lines on the Linux-box tcp 0 1 192.168.200.200:1091 192.168.68.1:x11 SYN_SENT tcp 0 0 192.168.200.200:font-service 192.168.200.2:1596 CONNECTED where .200.200 is the appserver, .200.2 the winbox and .68.1 something I never heard of. If you specify the right source-IP with the -from argument, everything works fine. Do you already know this? Is there any reason for this behavior I haven't thought of? If not, could someone please confirm, that this is a bug? Thanks norm From arielmt@thornton2.com Wed Apr 20 03:40:00 2005 From: arielmt@thornton2.com (Ariel Millennium Thornton) Date: Wed, 20 Apr 2005 03:40:00 -0000 Subject: Cygwin success story: Using remote X11 session over ssh Message-ID: <20050419214226.06f62454.arielmt@thornton2.com> Hello, list. I want to take an opportunity to relay a success story and get some feedback on how proper a success it was. First, some background. I have a Linux desktop system that I use for just about everything, and its name is cleopatra. I bought a wireless notebook system that I could use to unchain myself from the family computer room, a notebook which of course came with Windows XP. I wasn't too sure about Linux compatibility with it, so I kept Windows and put Cygwin on it, taking special care to include OpenSSH, ESound, and X11. The notebook's name was cleos-cat. The purpose of this setup, which was pretty much cleos-cat's reason to exist, was to be a wireless X11 terminal so I could use my computer in the living room, dining room, kitchen, bedroom, and whereever else around the house I wanted, and to free up the computer room for use by the rest of my family. On each computer I made sure that the other's hostname would resolve and be reachable by name instead of just IP address. On cleopatra, I had to install and enable ESound for sound output, enable X11Forwarding in sshd_config, and generate a public/private keypair in OpenSSH. I copied the public key from cleopatra to cleos-cat. I also made a custom bash script for start-up from remote login and named it ~/bin/startwmaker. In that file I put this: #!/bin/bash source ~/.bashrc export ESPEAKER=cleos-cat:16001 wmaker exit On cleos-cat, I had to install ESound to start up automatically with Windows. I don't remember how I did it, but it was done to start the command: esd -tcp -public -noterminate -nobeeps -port 16001 I made a Windows batch file in C:\cygwin\home\arielmt\startcleopatra.bat and gave it the following contents: Set DISPLAY=cleos-cat:1.0 Set REMOTE_HOST=cleopatra Set CYGWIN_ROOT=\cygwin Set PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% Set XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults Set XCMSDB=/usr/X11R6/lib/X11/Xcms.txt Set XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB Set XNLSPATH=/usr/X11R6/lib/X11/locale run XWin :1 -once +kb -emulate3buttons 100 -fullscreen -clipboard run ssh -CY -i ~/.ssh/cleopatra arielmt@cleopatra ~/bin/startwmaker I chose to use :1.0 as the display so that, when I needed to, I could run an X11 server locally on :0.0 using Windows as the window manager. In retrospect, was the "set remote_host" line redundant? Finally, I made a Windows shortcut to startcleopatra.bat and put the icon on my quicklaunch bar. After that and a reboot on the Windows side, I had one-click access to cleopatra from cleos-cat, regardless of the state of the computer room. The only consistent problem that I ever had with it is that, after logging out of the remote session, XWin refused to shut down until I did the X11 three-finger salute (Ctrl+Alt+Backspace). On cleos-cat, I used the free edition of the latest ZoneAlarm. I put cleopatra's and cleos-cat's IPs in ZA's "trusted" zone, which I could safely afford to do since both were on the same LAN and behind the router's firewall. Of course, I got ZA dialogs whenever I used Cygwin, but I told ZA to remember that esd.exe, XWin.exe, and ssh.exe were servers and to allow them without further complaint. Checking the "remember this" checkbox prevented ZA from bugging me again until the next Cygwin update (where ZA found some "changed programs"). This setup worked for me through several Cygwin upgrades until cleos-cat died of hardware problems. (It was under warranty, so that's not an issue.) I don't use it anymore because the replacement notebook I got uses Linux natively. Has anyone else thought of doing what I've done? If so, what are your opinions, and how could I have done this better? Thank you. -ArielMT -- "The most humbling achievement of the past millennium, I believe, is the evolution of the simplest form of communication: the written letter. >From courier to post to telegram to fax to email, each advancement has made the awesome power of writing more accessible than ever before." -Ariel Millennium Thornton, Spokesman and Mascot, Thornton 2 Productions From strauman@slac.stanford.edu Wed Apr 20 08:45:00 2005 From: strauman@slac.stanford.edu (Till Straumann) Date: Wed, 20 Apr 2005 08:45:00 -0000 Subject: xine 0.99.3-1, X Error =?utf-8?b?WF9DcmVhdGVHbHlwaEN1cnNvcg==?= 0x9a References: <425D075E.5050905@sneakemail.com> <5606-88583@sneakemail.com> <24808-61290@sneakemail.com> Message-ID: Peter Valdemar Morch sneakemail.com> writes: > > It suggests to put > feature.cursors = 0 > in a file called ~/.xitkrc, but that doesn't help. > > Is this a xine bug in your opinion? 'Cause then I'll stop bugging this > list... :-D It IS a stupid xine bug. Delete the last line in the 'cursors[]' array defined in xitk/xine-toolkit/cursors.c and rebuild. HTH -- Till > > Peter > From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 20 09:39:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 20 Apr 2005 09:39:00 -0000 Subject: XWin fails connecting to XDM for sending wrong source-IP In-Reply-To: <4265C88D.5060408@freenet.de> References: <4265C88D.5060408@freenet.de> Message-ID: On Wed, 20 Apr 2005, norm wrote: > I was trying to connect to a Linux-server (Debian/Sarge, XFree86 4.3) > from my Windows-box (Win XP Pro SP2, cygwin 1.5.15-1, xwin 6.8.2.0-1). > All I got was a blank X-screen. I thought it may be a font-problem and > tried: > > XWin -query 192.168.200.200 -fp "tcp/192.168.200.200:7100" > > After that, netstat gave me the following two lines on the Linux-box > > tcp 0 1 192.168.200.200:1091 192.168.68.1:x11 SYN_SENT > tcp 0 0 192.168.200.200:font-service 192.168.200.2:1596 CONNECTED > > where .200.200 is the appserver, .200.2 the winbox and .68.1 something I > never heard of. If you specify the right source-IP with the -from > argument, everything works fine. > Do you already know this? Is there any reason for this behavior I > haven't thought of? If not, could someone please confirm, that this is a > bug? You can specify the address to use with the -from parameter XWin -query 192.168.200.200 -from 192.168.200.2 -fp "tcp/192.168.200.200:7100" bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From graham.hawkins@nectech.co.uk Wed Apr 20 11:48:00 2005 From: graham.hawkins@nectech.co.uk (Hawkins, Graham) Date: Wed, 20 Apr 2005 11:48:00 -0000 Subject: Cygwin/X FAQ error Message-ID: <9E1EDA919BC2D61198E500A024AC583B0719ACB9@exchange.nectech.co.uk> Hi, The Cygwin/X FAQ, section 4.1.1 contains the following: The mainoption for changing the layout is -xkblayout countrycode where countrycode is in most cases the 2 character code which also represents the country in internet adresses (e.g. Australia = au, Deutschland = de, France = fr, Japan = jp, United Kingdom = uk). The country code for United Kingdom appears to be misleading, it should be gb, not uk. Thanks for a really useful tool... Best Regards Graham Hawkins -- Graham Hawkins graham.hawkins@nectech.co.uk NEC Technologies (UK) Ltd. +44 (0) 1189 9654572 Imperium, Imperial Way, Reading, Berkshire, RG2 0TD, UK From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 20 12:43:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 20 Apr 2005 12:43:00 -0000 Subject: Cygwin/X FAQ error In-Reply-To: <9E1EDA919BC2D61198E500A024AC583B0719ACB9@exchange.nectech.co.uk> References: <9E1EDA919BC2D61198E500A024AC583B0719ACB9@exchange.nectech.co.uk> Message-ID: On Wed, 20 Apr 2005, Hawkins, Graham wrote: > Hi, > > The Cygwin/X FAQ, section 4.1.1 contains the following: > > The mainoption for changing the layout is -xkblayout countrycode where > countrycode is in most cases the 2 character code which also represents the > country in internet adresses (e.g. Australia = au, Deutschland = de, France > = fr, Japan = jp, United Kingdom = uk). > > The country code for United Kingdom appears to be misleading, it should be > gb, not uk. I removed it because I was using it as an example for internet domain == xkb layout. This does unfortunatly not match. Anyway, The gb layout is autodetected for some time now and it is not needed anymore to list it explicitly in the FAQ. Thanks for catching this bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alancning@gmail.com Wed Apr 20 14:23:00 2005 From: alancning@gmail.com (Alan Ning) Date: Wed, 20 Apr 2005 14:23:00 -0000 Subject: Cygwin X display through SSH Message-ID: <426665AE.8040109@gmail.com> Hi there I have a Window XP laptop running Cygwin's sshd. And I ssh to laptop using another XP school machine running Cygwin X. I would like to display X graphics (emacs, gvim...) on my school machine. So in a sense, I am doing this: (i am not sure if I am saying it right) 1. Cygwin X server on school machine 2. sshd on window xp laptop 2. ssh in window xp laptop from school machine 3. run emacs, and have it display on school machine. I have tried it, but I can't get it to display even with X forwarding. Is there something I need to setup for sshd? Does this even work at all? Thank you ... Alan From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 20 14:40:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 20 Apr 2005 14:40:00 -0000 Subject: Cygwin X display through SSH In-Reply-To: <426665AE.8040109@gmail.com> References: <426665AE.8040109@gmail.com> Message-ID: On Wed, 20 Apr 2005, Alan Ning wrote: > Hi there > > I have a Window XP laptop running Cygwin's sshd. And I ssh to laptop > using another XP school machine running Cygwin X. I would like to > display X graphics (emacs, gvim...) on my school machine. > > So in a sense, I am doing this: (i am not sure if I am saying it right) > 1. Cygwin X server on school machine > 2. sshd on window xp laptop > 2. ssh in window xp laptop from school machine > 3. run emacs, and have it display on school machine. > > I have tried it, but I can't get it to display even with X forwarding. > Is there something I need to setup for sshd? Does this even work at all? The FAQ has an entry on running X11 with ssh http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding Most problems are covered there. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From matthewb@cc.usu.edu Wed Apr 20 15:13:00 2005 From: matthewb@cc.usu.edu (matthewb) Date: Wed, 20 Apr 2005 15:13:00 -0000 Subject: OpenGL, undefined references Message-ID: <4266ADF3@webster.usu.edu> Hi, I have searched everywhere I can think of and have found some similar questions but nothing that has worked for me yet. Here is what happens when I try to compile a program using opengl libraries, etc under cygwin. Can anyone offer some suggestions? Thank you. Matt Berkemeier cc -c -I/usr/include -I. quad-animate.c cc -c -I/usr/include -I. windowdump.c cc quad-animate.o windowdump.o -L/usr/freeware/lib \ -L/usr/X11R6/lib/ -lglut \ -lGLU -lGL -lXmu -lXext -lX11 -lm -o quad-animate quad-animate.o(.text+0xd2):quad-animate.c: undefined reference to `_glClear@4' quad-animate.o(.text+0xda):quad-animate.c: undefined reference to `_glPushMatrix@0' quad-animate.o(.text+0xf9):quad-animate.c: undefined reference to `_glColor3f@12' quad-animate.o(.text+0x124):quad-animate.c: undefined reference to `_glRectf@16' From bonnyfused@tiscali.it Wed Apr 20 15:35:00 2005 From: bonnyfused@tiscali.it (Boniforti Flavio) Date: Wed, 20 Apr 2005 15:35:00 -0000 Subject: Cygwin success story: Using remote X11 session over ssh In-Reply-To: <20050419214226.06f62454.arielmt@thornton2.com> References: <20050419214226.06f62454.arielmt@thornton2.com> Message-ID: <20050420173447.3fe7d9e9@utopia> In data Tue, 19 Apr 2005 21:42:26 -0600 Ariel Millennium Thornton scriveva: > Has anyone else thought of doing what I've done? If so, what are your > opinions, and how could I have done this better? I've thought about doing the same thing, the only difference is that I immediately abandoned Windows and put Debian SID on my laptop! :) But I think I'm gonna play around with Cygwin/X at work, where I may have to deploy it on my Windows-based PCs... maybe just for running single applications (like OpenOffice or so)... Cheers, good work! -- Registered Linux User #251752 --- VB LUG Co-Founder --- Seen it all, done it all... can't remember most of it... From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 20 15:43:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 20 Apr 2005 15:43:00 -0000 Subject: OpenGL, undefined references In-Reply-To: <4266ADF3@webster.usu.edu> References: <4266ADF3@webster.usu.edu> Message-ID: On Wed, 20 Apr 2005, matthewb wrote: > Hi, > > I have searched everywhere I can think of and have found some similar > questions but nothing that has worked for me yet. Here is what happens when I > try to compile a program using opengl libraries, etc under cygwin. Can anyone > offer some suggestions? Thank you. cygwin comes with two flavours of opengl libraries. The native and the X11 ones. The native ones have headers in /usr/include/GL and libraries in /usr/lib, the X11 ones have the headers in /usr/X11R6/include/GL and libraries in /usr/X11R6/lib By adding -I/usr/include you force using the native headers but you link with the X11 libraries. Change the -I/usr/include to -I/usr/X11R6/include. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From norm3@freenet.de Wed Apr 20 20:34:00 2005 From: norm3@freenet.de (norm) Date: Wed, 20 Apr 2005 20:34:00 -0000 Subject: XWin fails connecting to XDM for sending wrong source-IP Message-ID: <4266BCE1.4090602@freenet.de> >> I was trying to connect to a Linux-server (Debian/Sarge, XFree86 4.3) >> from my Windows-box (Win XP Pro SP2, cygwin 1.5.15-1, xwin 6.8.2.0-1). >> All I got was a blank X-screen. I thought it may be a font-problem and >> tried: >> >> XWin -query 192.168.200.200 -fp "tcp/192.168.200.200:7100" >> >> After that, netstat gave me the following two lines on the Linux-box >> >> tcp 0 1 192.168.200.200:1091 192.168.68.1:x11 SYN_SENT >> tcp 0 0 192.168.200.200:font-service 192.168.200.2:1596 CONNECTED >> >> where .200.200 is the appserver, .200.2 the winbox and .68.1 something I >> never heard of. If you specify the right source-IP with the -from >> argument, everything works fine. >> Do you already know this? Is there any reason for this behavior I >> haven't thought of? If not, could someone please confirm, that this is a >> bug? > > You can specify the address to use with the -from parameter > > XWin -query 192.168.200.200 -from 192.168.200.2 -fp "tcp/192.168.200.200:7100" > obviously but it doesn't work for me without doing so. I wonder why the xserver chooses 192.168.68.1 in this case. norm From ndvd@fullzero.com.ar Wed Apr 20 21:44:00 2005 From: ndvd@fullzero.com.ar (DVD) Date: Wed, 20 Apr 2005 21:44:00 -0000 Subject: Mas novedades en DVDS Message-ID: <416-22005432019331375@200.12.23.45> DVD a $10 cada uno Envio a toda argentina Ultimos estrenos! Visitanos en: http://solodvds.latinowebs.com//solodvds.latinowebs.com From alexander.gottwald@s1999.tu-chemnitz.de Thu Apr 21 07:59:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 21 Apr 2005 07:59:00 -0000 Subject: XWin fails connecting to XDM for sending wrong source-IP In-Reply-To: <4266BCE1.4090602@freenet.de> References: <4266BCE1.4090602@freenet.de> Message-ID: On Wed, 20 Apr 2005, norm wrote: > > You can specify the address to use with the -from parameter > > > > XWin -query 192.168.200.200 -from 192.168.200.2 -fp "tcp/192.168.200.200:7100" > > > obviously > > but it doesn't work for me without doing so. I wonder why the xserver > chooses 192.168.68.1 in this case. because it chooses the first interface in the list. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From genius.u@ekoils.de Thu Apr 21 13:16:00 2005 From: genius.u@ekoils.de (Ullrich Genius) Date: Thu, 21 Apr 2005 13:16:00 -0000 Subject: Connection to Linux Message-ID: <4267904B.3040608@ekoils.de> Hello, i' am a user from Germany and i have a question: very often, dont't ask me why, my XP computer doesn't connect to my second computer which runs LINUX 9.2. It respond's that the client has been rejected ! May be, you 've got an answer for me ? greetings Ullrich Genius -------------- next part -------------- A non-text attachment was scrubbed... Name: genius.u.vcf Type: text/x-vcard Size: 217 bytes Desc: not available URL: From vervoom@hotmail.com Thu Apr 21 13:21:00 2005 From: vervoom@hotmail.com (J S) Date: Thu, 21 Apr 2005 13:21:00 -0000 Subject: xset: bad font path element (#58), possible causes are: In-Reply-To: Message-ID: Hi, Could anyone help me out please? I'm trying to add another path to my fontpath but keep getting the following error: $ xset fp+ /usr/x11r6/lib/x11/fonts/test xset: bad font path element (#58), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax I know the directory exists, it has full permissions, it has fonts.dir, and the syntax seems to be right, so I'm not sure what the problem is. Nothing's showing up in the xwin.log either. Here's my configuration: XFree86-base 4.3.0-11 XFree86-bin 4.3.0-21 XFree86-etc 4.3.0-12 XFree86-fenc 4.3.0-2 XFree86-fnts 4.3.0-2 XFree86-lib 4.3.0-3 XFree86-lib-compat 4.3.0-2 XFree86-prog 4.3.0-21 XFree86-xserv 4.3.0-68 xorg-x11-base 6.8.2.0-1 xorg-x11-bin 6.8.2.0-1 xorg-x11-bin-dlls 6.8.2.0-1 xorg-x11-bin-lndir 6.8.2.0-1 xorg-x11-devel 6.8.2.0-2 xorg-x11-etc 6.8.2.0-1 xorg-x11-f100 6.8.1.0-3 xorg-x11-fcyr 6.8.1.0-2 xorg-x11-fenc 6.8.1.0-2 xorg-x11-fnts 6.8.1.0-3 xorg-x11-fscl 6.8.1.0-2 xorg-x11-libs-data 6.8.2.0-1 xorg-x11-xwin 6.8.2.0-1 This is how I created the new font directory: $ mkdir -p test $ ls -ld test drwxrwxrwx 2 D752359 mkgroup_l_d 0 Apr 21 13:50 test I added a fonts.alias file in there: $ mkaliasfont helvetica arial > fonts.alias + [ 2 -ne 2 ] + xlsfonts + grep ^-[^-]*-helvetica- + sed -e s/^-[^-]*\(-helvetica\(-.*\)\)$/-compat-arial\2 -*\1/ $ head fonts.alias -compat-arial-bold-o-normal--0-0-100-100-p-0-iso10646-1 -*-helvetica-bold-o-norm al--0-0-100-100-p-0-iso10646-1 -compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-1 -*-helvetica-bold-o-norma l--0-0-100-100-p-0-iso8859-1 -compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-10 -*-helvetica-bold-o-norm al--0-0-100-100-p-0-iso8859-10 -compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-13 -*-helvetica-bold-o-norm al--0-0-100-100-p-0-iso8859-13 -compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-14 -*-helvetica-bold-o-norm al--0-0-100-100-p-0-iso8859-14 -compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-15 -*-helvetica-bold-o-norm al--0-0-100-100-p-0-iso8859-15 $ xset q fp Keyboard Control: auto repeat: on key click percent: 0 LED mask: 00000000 auto repeat delay: 500 repeat rate: 31 auto repeating keys: 00ffffffdffffbbf fadfffdfffdfe5ef ffffffffffffffff ffffffffffffffff bell percent: 50 bell pitch: 400 bell duration: 100 Pointer Control: acceleration: 2/1 threshold: 4 Screen Saver: prefer blanking: yes allow exposures: yes timeout: 600 cycle: 600 Colors: default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215 Font Path: /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X1 1/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ Bug Mode: compatibility mode is disabled $ mkfontdir /usr/x11r6/lib/x11/fonts/test $ ls /usr/x11r6/lib/x11/fonts/test fonts.alias fonts.dir And after this I get the error trying to add the path. What is an error 58? Thanks for any help. JS. From alexander.gottwald@s1999.tu-chemnitz.de Thu Apr 21 13:21:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 21 Apr 2005 13:21:00 -0000 Subject: Connection to Linux In-Reply-To: <4267904B.3040608@ekoils.de> References: <4267904B.3040608@ekoils.de> Message-ID: On Thu, 21 Apr 2005, Ullrich Genius wrote: > Hello, > i' am a user from Germany and i have a question: > > very often, dont't ask me why, my XP computer doesn't connect to my > second computer which runs LINUX 9.2. > It respond's that the client has been rejected ! How are you trying to connect? With -query (XDMCP) or ssh. What is the exact error message? bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Thu Apr 21 13:41:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 21 Apr 2005 13:41:00 -0000 Subject: xset: bad font path element (#58), possible causes are: In-Reply-To: References: Message-ID: On Thu, 21 Apr 2005, J S wrote: > $ mkaliasfont helvetica arial > fonts.alias > + [ 2 -ne 2 ] > + xlsfonts > + grep ^-[^-]*-helvetica- > + sed -e s/^-[^-]*\(-helvetica\(-.*\)\)$/-compat-arial\2 -*\1/ > > $ ls /usr/x11r6/lib/x11/fonts/test > fonts.alias fonts.dir $ cat fonts.dir 0 It seems you need at least one real font in that directory. I tried and was successful after adding a .ttf font and running mkfontscale "$fontdir" mkfontscale -b -s "$fontdir" removing the entries from fonts.dir produced a similar bahaviour bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From vervoom@hotmail.com Thu Apr 21 14:14:00 2005 From: vervoom@hotmail.com (J S) Date: Thu, 21 Apr 2005 14:14:00 -0000 Subject: xset: bad font path element (#58), possible causes are: In-Reply-To: Message-ID: >On Thu, 21 Apr 2005, J S wrote: > > > $ mkaliasfont helvetica arial > fonts.alias > > + [ 2 -ne 2 ] > > + xlsfonts > > + grep ^-[^-]*-helvetica- > > + sed -e s/^-[^-]*\(-helvetica\(-.*\)\)$/-compat-arial\2 -*\1/ > > > > $ ls /usr/x11r6/lib/x11/fonts/test > > fonts.alias fonts.dir > >$ cat fonts.dir >0 > >It seems you need at least one real font in that directory. >I tried and was successful after adding a .ttf font and running >mkfontscale "$fontdir" >mkfontscale -b -s "$fontdir" > >removing the entries from fonts.dir produced a similar bahaviour > >bye > ago >-- Thanks Alex, Much appreciated. Amazingly that worked. I never used to have to do that though. Thanks again, JS. From levis501@yahoo.com Thu Apr 21 19:30:00 2005 From: levis501@yahoo.com (Steven Levis) Date: Thu, 21 Apr 2005 19:30:00 -0000 Subject: Suggested FAQ wrt the port 6000 listener & software firewalls Message-ID: <20050421193023.42335.qmail@web30507.mail.mud.yahoo.com> Hi all, I was struggling with a problem where the cygwin/x startup scripts were unable to start X and I didnt know why. No xterm... nothing. I found the problem was with my software firewall blocking the listener on port 6000. Once I configured my firewall enabled XWin.exe to listen on port 6000, the problem cleared up. Im suggesting the following FAQ (or something similar) to address the issue, especially after seeing another such question on this lists archive. Q: Why doesnt X start with any of the startup scripts? I never get an xterm window, and cannot start any other X programs. A: Ensure that any software firewalls installed on your computer allow XWin.exe to listen for incoming connections on port 6000. Additional security can be achieved by limiting those incoming connections to the localhost (also known as IP address 127.0.0.1) Regards, Steve Yahoo! Mail not working? Read the help pages, then call (408) 349-3300. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From alexander.gottwald@s1999.tu-chemnitz.de Thu Apr 21 21:05:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 21 Apr 2005 21:05:00 -0000 Subject: Suggested FAQ wrt the port 6000 listener & software firewalls In-Reply-To: <20050421193023.42335.qmail@web30507.mail.mud.yahoo.com> References: <20050421193023.42335.qmail@web30507.mail.mud.yahoo.com> Message-ID: On Thu, 21 Apr 2005, Steven Levis wrote: > Im suggesting the following FAQ (or something similar) to address the issue, especially after > seeing another such question on this lists archive. I added a section about this and will upload it tomorrow bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From shalloo@aol.com Thu Apr 21 22:33:00 2005 From: shalloo@aol.com (shalloo@aol.com) Date: Thu, 21 Apr 2005 22:33:00 -0000 Subject: Startx not running Message-ID: <8C714D92F423D4E-94C-26798@mblk-d40.sysops.aol.com> Hello, The name is Jared Moraska. My problem is this. Startx won't start. I can get the shell to start but when I type startx it starts to load and then stops. It is doing something because it is using about 70% of my cpu, but it just won't load the xterm like window. It then gives me a line saying "waiting for x server to begin accepting connections." I have gotten it to work a number of times before. I have updated everything and that did not work. I am running it off an XP PC. I have searched through the mailing lists and couldn't find anything to help. So if someone can tell me how to fix it, it would be much appreciated. Jared From alec@fintronic.com Thu Apr 21 23:24:00 2005 From: alec@fintronic.com (Alec Stanculescu) Date: Thu, 21 Apr 2005 23:24:00 -0000 Subject: application failed to initialize properly Message-ID: <426837B3.BBE919B2@fintronic.com> We had two applications that used to work under Cygwin on XP. The hard disk broke down. We reinstalled XP and downloaded the latest version of Cygwin on April 14th. After rebuilding the two applications the first one works OK but the second one results in the following error message: "this application failed to initialize properly (oxcooooo22). Click on OK to terminate the application." This error occurs before reaching the main of the application. Has anyone encounter a similar problem? Any suggestion as to how to get more info on what is happening is highly appreciated. Many thanks for your help, Alec Stanculescu From cgf-no-personal-reply-please@cygwin.com Thu Apr 21 23:33:00 2005 From: cgf-no-personal-reply-please@cygwin.com (Christopher Faylor) Date: Thu, 21 Apr 2005 23:33:00 -0000 Subject: application failed to initialize properly In-Reply-To: <426837B3.BBE919B2@fintronic.com> References: <426837B3.BBE919B2@fintronic.com> Message-ID: <20050421233311.GB6431@trixie.casa.cgf.cx> On Thu, Apr 21, 2005 at 04:30:59PM -0700, Alec Stanculescu wrote: >We had two applications that used to work under Cygwin on XP. The hard >disk broke down. We reinstalled XP and downloaded the latest version of >Cygwin on April 14th. After rebuilding the two applications the first >one works OK but the second one results in the following error message: > >"this application failed to initialize properly (oxcooooo22). Click on >OK to terminate the application." > >This error occurs before reaching the main of the application. Has >anyone encounter a similar problem? Any suggestion as to how to get more >info on what is happening is highly appreciated. > >Many thanks for your help, chmod -R a+x your-application.exe or even chmod -R a+x /bin /usr/X11R6/bin /usr/bin /sbin may help. In any event, unless these are X programs this doesn't seem like it has anything to do with cygwin/x. If that is the case, please use the main cygwin list for future inquiries. cgf From blaskos@gmail.com Fri Apr 22 00:56:00 2005 From: blaskos@gmail.com (Mark Blaskovich) Date: Fri, 22 Apr 2005 00:56:00 -0000 Subject: not sure whats wrong Message-ID: <3012d24405042117554cf06824@mail.gmail.com> $ cd /usr/X11R6/bin/ && startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progress waiting for X server to begin accepting connections giving up. xinit: Connection reset by peer (errno 104): unable to connect to X server xinit: No such process (errno 3): Server error. And here is what it says in the log! Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progress _______________________________________ I have checked irc for help and no one really came up w/ a good fix for it. Do you know what i should do or try ? thanks From kdibble@alltel.net Fri Apr 22 01:55:00 2005 From: kdibble@alltel.net (Ken Dibble) Date: Fri, 22 Apr 2005 01:55:00 -0000 Subject: not sure whats wrong In-Reply-To: <3012d24405042117554cf06824@mail.gmail.com> References: <3012d24405042117554cf06824@mail.gmail.com> Message-ID: <4268577C.1080503@alltel.net> Here are some places to start: http://www.waimea.org/wiki/CygwinXTroubleShooting http://sourceware.org/ml/cygwin-xfree/2005-01/msg00098.html http://sourceware.org/ml/cygwin-xfree/2004-12/msg00053.html Mark Blaskovich wrote: >$ cd /usr/X11R6/bin/ && startx > >Welcome to the XWin X Server >Vendor: The Cygwin/X Project >Release: 6.8.2.0-1 > >Contact: cygwin-xfree@cygwin.com > >XWin was started with the following command line: > >X :0 -multiwindow -clipboard > >_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root >winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 >winCheckDisplayNumber - Cygwin/X is already running on display 0 > >Fatal server error: >InitOutput - Duplicate invocation on display number: 0. Exiting. > >winDeinitMultiWindowWM - Noting shutdown in progress > >waiting for X server to begin accepting connections >giving up. >xinit: Connection reset by peer (errno 104): unable to connect to X server >xinit: No such process (errno 3): Server error. > > >And here is what it says in the log! > >Welcome to the XWin X Server >Vendor: The Cygwin/X Project >Release: 6.8.2.0-1 > >Contact: cygwin-xfree@cygwin.com > >XWin was started with the following command line: > >X :0 -multiwindow -clipboard > >ddxProcessArgument - Initializing default screens >winInitializeDefaultScreens - w 1024 h 768 >winInitializeDefaultScreens - Returning >_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root >winCheckDisplayNumber - Cygwin/X is already running on display 0 > >Fatal server error: >InitOutput - Duplicate invocation on display number: 0. Exiting. > >winDeinitMultiWindowWM - Noting shutdown in progress > >_______________________________________ > >I have checked irc for help and no one really came up w/ a good fix >for it. Do you know what i should do or try ? thanks > > > From levis501@yahoo.com Fri Apr 22 02:54:00 2005 From: levis501@yahoo.com (Steven Levis) Date: Fri, 22 Apr 2005 02:54:00 -0000 Subject: Startx not running In-Reply-To: 6667 Message-ID: <20050422025403.50600.qmail@web30515.mail.mud.yahoo.com> Hi Jared, Do you have any software firewalls running? If so, try the following: 1) Reboot your computer 2) Stop any and all firewalls (like Norton, ZoneAlarm, or AVG) 3) Start cygwin/x If Cygwin/X starts normally, you'll have to configure your firewall to accept connections on port 6000. Each firewall brand works differently, so consult your documentation or other support resources if you need any assistance with that software. If Cygwin/X still doesn't start, look at /tmp/XWin.log for error messages, and consult the various FAQs and other net resources for help. Failing that, post the contents of /tmp/XWin.log along here on the list. -Steve --- shalloo@aol.com wrote: > Hello, > The name is Jared Moraska. > > My problem is this. Startx won't start. I can get the shell to start > but when I type startx it starts to load and then stops. It is doing > something because it is using about 70% of my cpu, but it just won't > load the xterm like window. It then gives me a line saying "waiting for > x server to begin accepting connections." I have gotten it to work a > number of times before. I have updated everything and that did not > work. I am running it off an XP PC. I have searched through the mailing > lists and couldn't find anything to help. So if someone can tell me how > to fix it, it would be much appreciated. > > Jared > > Yahoo! Mail not working? Read the help pages, then call (408) 349-3300. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mika.lindman@lpt.fi Fri Apr 22 07:22:00 2005 From: mika.lindman@lpt.fi (Mika Lindman) Date: Fri, 22 Apr 2005 07:22:00 -0000 Subject: Problems with arrow keys and delete Message-ID: <4268A620.5050702@lpt.fi> In Cygwin arrow keys and delete work fine, but in Cygwin/X I just get 2A, 2B etc. codes when pressing these keys. When I start X Server ( xwin -indirect ), arrow keys work in "shifted mode", meaning that when I move with arrow keys in app (OOo or whatever), it selects text at the same time. I use finnish keyboard layout, and it gets detected properly and all the finnish special characters work fine. From dickey@his.com Fri Apr 22 09:31:00 2005 From: dickey@his.com (Thomas Dickey) Date: Fri, 22 Apr 2005 09:31:00 -0000 Subject: Problems with arrow keys and delete In-Reply-To: <4268A620.5050702@lpt.fi> References: <4268A620.5050702@lpt.fi> Message-ID: <20050422052723.B5346@mail.his.com> On Fri, 22 Apr 2005, Mika Lindman wrote: > In Cygwin arrow keys and delete work fine, but in Cygwin/X I just get 2A, 2B > etc. codes when pressing these keys. When I start X Server ( xwin -indirect > ), arrow keys work in "shifted mode", meaning that when I move with > arrow keys in app (OOo or whatever), it selects text at the same time. xterm would send the 2's (or other digits depending on modifiers). That's configurable (setting the vt220 keyboard with the control left mouse menu is the quickest way to change it). The latter part of your comment regarding selection is unclear - sounds as if your application expects some other escape sequence to be sent than \E[A or \E[2A. > I use finnish keyboard layout, and it gets detected properly and all the > finnish special characters work fine. > -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 22 10:38:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 22 Apr 2005 10:38:00 -0000 Subject: not sure whats wrong In-Reply-To: <3012d24405042117554cf06824@mail.gmail.com> References: <3012d24405042117554cf06824@mail.gmail.com> Message-ID: On Thu, 21 Apr 2005, Mark Blaskovich wrote: > Fatal server error: > InitOutput - Duplicate invocation on display number: 0. Exiting. http://x.cygwin.com/docs/faq/cygwin-x-faq.html#duplicate-invocation Maybe you have another instance of XWin running accidently or another user is running XWin on a multi user system bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 22 10:40:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 22 Apr 2005 10:40:00 -0000 Subject: Problems with arrow keys and delete In-Reply-To: <4268A620.5050702@lpt.fi> References: <4268A620.5050702@lpt.fi> Message-ID: On Fri, 22 Apr 2005, Mika Lindman wrote: > In Cygwin arrow keys and delete work fine, but in Cygwin/X I just get > 2A, 2B etc. codes when pressing these keys. When I start X Server ( xwin > -indirect ), arrow keys work in "shifted mode", meaning that when I > move with arrow keys in app (OOo or whatever), it selects text at the > same time. Is NumLock activated? bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From dickey@his.com Fri Apr 22 12:26:00 2005 From: dickey@his.com (Thomas Dickey) Date: Fri, 22 Apr 2005 12:26:00 -0000 Subject: Problems with arrow keys and delete In-Reply-To: References: <4268A620.5050702@lpt.fi> Message-ID: <20050422082400.B99206@mail.his.com> On Fri, 22 Apr 2005, Alexander Gottwald wrote: > On Fri, 22 Apr 2005, Mika Lindman wrote: > >> In Cygwin arrow keys and delete work fine, but in Cygwin/X I just get >> 2A, 2B etc. codes when pressing these keys. When I start X Server ( xwin >> -indirect ), arrow keys work in "shifted mode", meaning that when I >> move with arrow keys in app (OOo or whatever), it selects text at the >> same time. > > Is NumLock activated? iirc, NumLock would simply prevent the key from being recognized. The description above hints that the application doesn't expect to see the "2" which is sent to denote that the shift-key is pressed. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 22 13:31:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 22 Apr 2005 13:31:00 -0000 Subject: Problems with arrow keys and delete In-Reply-To: <20050422082400.B99206@mail.his.com> References: <4268A620.5050702@lpt.fi> <20050422082400.B99206@mail.his.com> Message-ID: On Fri, 22 Apr 2005, Thomas Dickey wrote: > iirc, NumLock would simply prevent the key from being recognized. > > The description above hints that the application doesn't expect to > see the "2" which is sent to denote that the shift-key is pressed. Ah, yes. I noticed similar behaviour with fvwm and desktop switching on shift-alt-arrow_key which did not work if numlock was switched on. It then produced just 4C in xterm (2C with shift, 3C with alt). bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From dickey@his.com Fri Apr 22 13:47:00 2005 From: dickey@his.com (Thomas Dickey) Date: Fri, 22 Apr 2005 13:47:00 -0000 Subject: Problems with arrow keys and delete In-Reply-To: References: <4268A620.5050702@lpt.fi> <20050422082400.B99206@mail.his.com> Message-ID: <20050422094330.W23173@mail.his.com> On Fri, 22 Apr 2005, Alexander Gottwald wrote: > On Fri, 22 Apr 2005, Thomas Dickey wrote: > >> iirc, NumLock would simply prevent the key from being recognized. >> >> The description above hints that the application doesn't expect to >> see the "2" which is sent to denote that the shift-key is pressed. > > Ah, yes. I noticed similar behaviour with fvwm and desktop switching > on shift-alt-arrow_key which did not work if numlock was switched on. > It then produced just 4C in xterm (2C with shift, 3C with alt). I'm not sure what would make the "ESC [" lost. Just checking here, if I set NumLock (and am using cygwin), I don't see xterm lose that information. With xterm #198 (which shouldn't be different - this code is not that recent), I'm seeing things like ESC [ 1 ; 2 A whether or not NumLock is set. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net From pechtcha@cs.nyu.edu Fri Apr 22 17:21:00 2005 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Fri, 22 Apr 2005 17:21:00 -0000 Subject: Problems with arrow keys and delete In-Reply-To: <20050422094330.W23173@mail.his.com> References: <4268A620.5050702@lpt.fi> <20050422082400.B99206@mail.his.com> <20050422094330.W23173@mail.his.com> Message-ID: On Fri, 22 Apr 2005, Thomas Dickey wrote: > On Fri, 22 Apr 2005, Alexander Gottwald wrote: > > > On Fri, 22 Apr 2005, Thomas Dickey wrote: > > > > > iirc, NumLock would simply prevent the key from being recognized. > > > > > > The description above hints that the application doesn't expect to > > > see the "2" which is sent to denote that the shift-key is pressed. > > > > Ah, yes. I noticed similar behaviour with fvwm and desktop switching > > on shift-alt-arrow_key which did not work if numlock was switched on. > > It then produced just 4C in xterm (2C with shift, 3C with alt). > > I'm not sure what would make the "ESC [" lost. A shell with the wrong TERM setting would interpret "ESC [" as Meta-[, and treat the rest of the sequence as separate characters. Igor > Just checking here, if I set NumLock (and am using cygwin), I don't see xterm > lose that information. With xterm #198 (which shouldn't be different - this > code is not that recent), I'm seeing things like > > ESC [ 1 ; 2 A > > whether or not NumLock is set. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From rodmedina@cantv.net Sat Apr 23 06:00:00 2005 From: rodmedina@cantv.net (Rodrigo Medina) Date: Sat, 23 Apr 2005 06:00:00 -0000 Subject: not sure whats wrong Message-ID: <410-2200546236038199@cantv.net> Mark Blaskovich wrote: >... >_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root >winCheckDisplayNumber - Cygwin/X is already running on display 0 > >Fatal server error: >InitOutput - Duplicate invocation on display number: 0. Exiting. >... XWin writes a lock file in /tmp/.X11-unix/X0 XWin is aborted if the file already exists, so you do not get 2 X-servers runnig. If XWin ends properly it deletes the file X0, but if for some reason the XWin process is aborted or if the user is not allowed to delete the file, the lock file remains preventing a new XWin process to start. Cure: delete the X0 file. Be sure that every user can read and write in /tmp. In my W98 box I put the following lines in AUTOEXEC.BAT, to be sure that any remaining X0 is delete when the machine starts. rem -- Clean Xserver if exist C:\cygwin\tmp\X11-UN~1\X0 attrib -A -S C:\cygwin\tmp\X11-UN~1\X0 if exist C:\cygwin\tmp\X11-UN~1\X0 del C:\cygwin\tmp\X11-UN~1\X0 hope that this can be useful, bye R.M. From shalloo@aol.com Sat Apr 23 16:04:00 2005 From: shalloo@aol.com (shalloo@aol.com) Date: Sat, 23 Apr 2005 16:04:00 -0000 Subject: Startx not running Message-ID: <8C71635323CC674-2A0-776@mblk-r29.sysops.aol.com> It is not my firewall and no error messages are popping up in the log. Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 800 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: 1280 height: 800 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" But there is a discrepency between the log ands what my shell window is showing. The last line in the shell windown is Rules="xorg" Model="pc105" Layout ="us" Variant ="(null)" Options = "(null)". So I guess it is getting stuck on that line or whatever line comes after it. From rodmedina@cantv.net Sun Apr 24 06:20:00 2005 From: rodmedina@cantv.net (Rodrigo Medina) Date: Sun, 24 Apr 2005 06:20:00 -0000 Subject: Again, XWin crashes with cigwin-1.5.15-1 on Win98. Message-ID: <151440-22005402462012803@cantv.net> Hi, all The XWin crashes that were cured with snapshot-20050407 reappeared with cigwin-1.5.15-1. See http://cygwin.com/ml/cygwin-xfree/2005-03/msg00158.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00000.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00024.html Running XWin through gdb. $gdb XWin GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found) (gdb) run -multiwindow Starting program: /usr/X11R6/bin/XWin.exe -multiwindow Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin -multiwindow 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 (==) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/ lib/ X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/" winPrefsLoadPreferences: /usr/X11R6/lib/X11/system.XWinrc LoadPreferences: XWinrc loaded winDetectSupportedEngines - Windows 95/98/Me winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000007 winSetEngine - Multi Window or Rootless => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 800 height: 600 depth: 16 winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f winInitVisualsShadowGDI - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16 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 ---Type to continue, or q to quit--- Program received signal SIGSEGV, Segmentation fault. [Switching to thread -46904803.0xffc16851] 0xbff7a606 in KERNEL32!Heap32ListNext () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL (gdb) --------------------------------------- This is what the alert window of W98 shows when the crash is produced by shutting down the XWin server. XWIN caused an invalid page fault in module KERNEL32.DLL at 0167:bff87ed3. Registers: EAX=0181b074 CS=0167 EIP=bff87ed3 EFLGS=00010202 EBX=0181b35c SS=016f ESP=0181a0b0 EBP=0181b078 ECX=0181b024 DS=016f ESI=0181b29c FS=4707 EDX=0181b098 ES=016f EDI=0181b098 GS=0000 Bytes at CS:EIP: 55 a1 e0 9c fc bf 8b ec 83 ec 6c 53 56 57 8b 30 Stack dump: ffecbad7 0181a0e0 0181a0c4 0000000e 00000007 c0000005 00000000 00000000 bff87ed3 00000002 00000001 0181a1b8 0001001f 00000000 00000000 00000000 ----------------------------------------------------------------------- The XWin.log and cygcheck -s output are attached As the problem is obviously related to cygwin1.dll I am sending this message to both mail lists. Bye Rodrigo Medina -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 2574 bytes Desc: XWin.log URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: syscheck.txt URL: From alexander.gottwald@s1999.tu-chemnitz.de Sun Apr 24 11:50:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 24 Apr 2005 11:50:00 -0000 Subject: Startx not running In-Reply-To: <8C71635323CC674-2A0-776@mblk-r29.sysops.aol.com> References: <8C71635323CC674-2A0-776@mblk-r29.sysops.aol.com> Message-ID: On Sat, 23 Apr 2005 shalloo@aol.com wrote: > (--) Setting autorepeat to delay=500, rate=31 > (--) winConfigKeyboard - Layout: "00000409" (00000409) > (--) Using preset keyboard for "English (USA)" (409), type "4" It's you Firewall (ZoneAlarm I guess). Check the FAQ.It even has an entry about this last log line. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Apr 24 12:05:00 2005 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 24 Apr 2005 12:05:00 -0000 Subject: Again, XWin crashes with cigwin-1.5.15-1 on Win98. In-Reply-To: <151440-22005402462012803@cantv.net> References: <151440-22005402462012803@cantv.net> Message-ID: Rodrigo Medina wrote: > 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 > ---Type to continue, or q to quit--- > > Program received signal SIGSEGV, Segmentation fault. > [Switching to thread -46904803.0xffc16851] > 0xbff7a606 in KERNEL32!Heap32ListNext () > from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL > (gdb) what about a backtrace? The message is very useless. thread apply all bt should print a backtrace for all thread bye ago NP: Colony 5 - Symphony Of Hope -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From scegielski@yahoo.com Sun Apr 24 23:13:00 2005 From: scegielski@yahoo.com (Scott Cegielski) Date: Sun, 24 Apr 2005 23:13:00 -0000 Subject: Tabbed xterm Message-ID: <20050424231222.45669.qmail@web32205.mail.mud.yahoo.com> I use ws3 under linux at work and have gotten really used to using gnome's tabbed shells. I don't know if this is a xterm feature or a gnome feature or neither, but is this something that could be implemented under cygwin xfree? Scott Cegielski scegielski@yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From rodmedina@cantv.net Mon Apr 25 06:10:00 2005 From: rodmedina@cantv.net (Rodrigo Medina) Date: Mon, 25 Apr 2005 06:10:00 -0000 Subject: Again, XWin crashes with cigwin-1.5.15-1 on Win98. Message-ID: <184670-22005412561013567@cantv.net> Hi, I have installed the 20050422 snapshot. I made a backtrace. I hope it is more useful. --------------------------------------- $gdb XWin GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found) (gdb) run -multiwindow Starting program: /usr/X11R6/bin/XWin.exe -multiwindow Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin -multiwindow 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 (==) 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/75d pi/,/usr/X11R6/lib/X11/fonts/100dpi/" winPrefsLoadPreferences: /usr/X11R6/lib/X11/system.XWinrc LoadPreferences: XWinrc loaded GetModuleHandleA succeed LoadLibrary returns baaa0000 winDetectSupportedEngines - Windows 95/98/Me winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000007 winSetEngine - Multi Window or Rootless => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 800 height: 600 depth: 16 winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f winInitVisualsShadowGDI - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16 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 Program received signal SIGSEGV, Segmentation fault. [Switching to thread -326659.0xffc6eb39] 0xbff7a606 in KERNEL32!Heap32ListNext () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL (gdb) thread apply all bt Thread 4 (thread -326659.0xffc6eb39): #0 0xbff7a606 in KERNEL32!Heap32ListNext () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL #1 0x00000013 in ?? () #2 0x0181ec84 in ?? () #3 0x00000012 in ?? () #4 0xdf0df046 in ?? () #5 0x0181d420 in ?? () #6 0x00000000 in ?? () from Thread 3 (thread -326659.0xffc6a711): #0 0x6109b4ac in wait_sig (self=0x610ffbdc) at /netrel/src/cygwin-snapshot-20050422-1/winsup/cygwin/sigproc.cc:1020 #1 0x61003673 in cygthread::stub (arg=0x610ffbdc) at /netrel/src/cygwin-snapshot-20050422-1/winsup/cygwin/cygthread.cc:73 #2 0x61004694 in _cygtls::call2 (func=0x61003600 , arg=0xfdeaf0, buf=0xfdf020) at /netrel/src/cygwin-snapshot-20050422-1/winsup/cygwin/cygtls.cc:93 #3 0x6100464a in _cygtls::call (func=0, arg=0x0) at /netrel/src/cygwin-snapshot-20050422-1/winsup/cygwin/cygtls.cc:82 #4 0x00000000 in ?? () from Current language: auto; currently c++ Thread 2 (thread -326659.0xffc6aabd): #0 0xbff99b32 in SetThreadExecutionState () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL #1 0xbffa222a in KERNEL32!GetCPInfoExA () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL #2 0xbff7c8b3 in RegisterServiceProcess () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL #3 0xc14f9640 in ?? () ---Type to continue, or q to quit--- #4 0xffffffff in ?? () #5 0x00000000 in ?? () from Thread 1 (thread -326659.0xffc60929): #0 0x610ac77c in pthread::create (this=0x100f0d90, func=0x4404e0 , newattr=0x0, threadarg=0x100f0a90) at /netrel/src/cygwin-snapshot-20050422-1/winsup/cygwin/thread.cc:316 #1 0x610b0e70 in pthread::create (thread=0x100ec354, attr=0x0, start_routine=0x4404e0 , arg=0x100f0a90) at /netrel/src/cygwin-snapshot-20050422-1/winsup/cygwin/thread.cc:1934 #2 0x6109557f in _sigfe () at /netrel/src/cygwin-snapshot-20050422-1/winsup/cygwin/cygserver.h:82 #3 0x004404e0 in end () #4 0x100f0a90 in ?? () #5 0x00000008 in ?? () #6 0x00000003 in ?? () #7 0x100f0a90 in ?? () #8 0x100ec360 in ?? () #9 0x100ec2b0 in ?? () #10 0x007b9050 in end () #11 0x00b7ed18 in ?? () #12 0x0043d371 in end () #13 0x100ec358 in ?? () #14 0x100ec350 in ?? () #15 0x100ec354 in ?? () #16 0x100ec360 in ?? () #17 0x00000000 in ?? () from #0 0xbff7a606 in KERNEL32!Heap32ListNext () from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL (gdb) (gdb) (gdb) quit ----------------------------------- Bye R. M. From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 25 08:39:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 25 Apr 2005 08:39:00 -0000 Subject: Tabbed xterm In-Reply-To: <20050424231222.45669.qmail@web32205.mail.mud.yahoo.com> References: <20050424231222.45669.qmail@web32205.mail.mud.yahoo.com> Message-ID: On Sun, 24 Apr 2005, Scott Cegielski wrote: > I use ws3 under linux at work and have gotten really used to using gnome's > tabbed shells. I don't know if this is a xterm feature or a gnome feature or > neither, but is this something that could be implemented under cygwin xfree? AFAIR there is some rxvt cole which can do this. Search the mailinglist archives. The keyword tabbed xterm or xterm tabs should help. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From mbardiaux@peaktime.be Mon Apr 25 09:09:00 2005 From: mbardiaux@peaktime.be (Michel Bardiaux) Date: Mon, 25 Apr 2005 09:09:00 -0000 Subject: Tabbed xterm In-Reply-To: <20050424231222.45669.qmail@web32205.mail.mud.yahoo.com> References: <20050424231222.45669.qmail@web32205.mail.mud.yahoo.com> Message-ID: <426CB39C.20309@peaktime.be> Scott Cegielski wrote: > I use ws3 under linux at work and have gotten really used to using gnome's > tabbed shells. I don't know if this is a xterm feature or a gnome feature or > neither, but is this something that could be implemented under cygwin xfree? > > > Scott Cegielski > scegielski@yahoo.com > Tabbed shells also exist in KDE's konsole, and KDE runs under cygwin. -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41 From cplager+cygwin@physics.ucla.edu Mon Apr 25 12:36:00 2005 From: cplager+cygwin@physics.ucla.edu (Charles Plager) Date: Mon, 25 Apr 2005 12:36:00 -0000 Subject: Tabbed xterm Message-ID: <426CE062.7020707@physics.ucla.edu> > On Sun, 24 Apr 2005, Scott Cegielski wrote: > >> I use ws3 under linux at work and have gotten really used to using gnome's >> tabbed shells. I don't know if this is a xterm feature or a gnome feature or >> neither, but is this something that could be implemented under cygwin xfree? > > AFAIR there is some rxvt cole which can do this. Search the mailinglist archives. > The keyword tabbed xterm or xterm tabs should help. mrxvt is 'rxvt console' you're looking for: http://materm.sourceforge.net/ is the homepage I downloaded mrxvt-0.4.0.tar.gz, http://prdownloads.sourceforge.net/materm/mrxvt-0.4.0.tar.gz?download configured as told to do in the README file, http://materm.sourceforge.net/docs/README ./configure --enable-everything --disable-debug then 'make' and 'make install'. Cheers, Charles From ThoLei@gmx.net Mon Apr 25 15:33:00 2005 From: ThoLei@gmx.net (ThoLei@gmx.net) Date: Mon, 25 Apr 2005 15:33:00 -0000 Subject: xterm does not start properly Message-ID: <6092.1114443171@www52.gmx.net> Hello Everyone! I installed cygwin-xfree 1.5.15-1today on Windows2000 but i have a problem with starting it. I use the startxwin.bat and it echos "startxwin.bat - Starting on Windows NT/2000/XP/2003" but then nothing seems to happen and the DOS Box is closed immediatly. However the "X"-Icon appears in my Windows-Tray but clicking it reveals no option menu. When I look in the taskmanager there is an xterm listed as process but I cannot do anything with it but kill it. A year ago I installed cygwin-xfree 1.5.9-1 on a similar machine and it worked (bash shell opened). Thx in advance! tholei. -- +++ Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl -------------- next part -------------- A non-text attachment was scrubbed... Name: cygcheck_tl_cor.out Type: application/octet-stream Size: 16592 bytes Desc: not available URL: From alexander.gottwald@s1999.tu-chemnitz.de Mon Apr 25 15:36:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 25 Apr 2005 15:36:00 -0000 Subject: xterm does not start properly In-Reply-To: <6092.1114443171@www52.gmx.net> References: <6092.1114443171@www52.gmx.net> Message-ID: On Mon, 25 Apr 2005 ThoLei@gmx.net wrote: > I installed cygwin-xfree 1.5.15-1today on Windows2000 but i have a problem > with starting it. I use the startxwin.bat and it echos "startxwin.bat - > Starting on Windows NT/2000/XP/2003" but then nothing seems to happen and > the DOS Box is closed immediatly. However the "X"-Icon appears in my > Windows-Tray but clicking it reveals no option menu. When I look in the > taskmanager there is an xterm listed as process but I cannot do anything > with it but kill it. A year ago I installed cygwin-xfree 1.5.9-1 on a > similar machine and it worked (bash shell opened). Sounds like a personal firewall problem. http://x.cygwin.com/docs/faq/cygwin-x-faq.html#freeze-at-startup bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Angelo.Graziosi@roma1.infn.it Tue Apr 26 08:54:00 2005 From: Angelo.Graziosi@roma1.infn.it (Angelo Graziosi) Date: Tue, 26 Apr 2005 08:54:00 -0000 Subject: Non-admin users, /tmp/.X11-unix/X0 permissions Message-ID: Hi, I have the same problem, but I have not understand the solution: wait for a new release of XWin or to change something in conf.? thank you. angelo. angelo.graziosi@roma1.infn.it From sebastianhaby@home.se Tue Apr 26 09:05:00 2005 From: sebastianhaby@home.se (Sebastian Haby) Date: Tue, 26 Apr 2005 09:05:00 -0000 Subject: Obtaining older packages... Message-ID: <1114505908.82a8ed20sebastianhaby@home.se> Hey ppl! I'm on the hunt for older versions of Cygwin packages than are available in any of the FTP archives. Does anyone know where to find them? I doubt they're just deleted. What I'm looking for is the SRC package of the following zlib-1.2.1-1, cygwin-1.5.10-3, X-startup-scripts-1.0.8-1, and xorg-x11-bin-dlls-6.7.0.0-5. Cheers, Sebastian From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 26 09:34:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 26 Apr 2005 09:34:00 -0000 Subject: Obtaining older packages... In-Reply-To: <1114505908.82a8ed20sebastianhaby@home.se> References: <1114505908.82a8ed20sebastianhaby@home.se> Message-ID: On Tue, 26 Apr 2005, Sebastian Haby wrote: > Hey ppl! > > I'm on the hunt for older versions of Cygwin packages than are available in any of the FTP archives. Does anyone know where to find them? I doubt they're just deleted. > What I'm looking for is the SRC package of the following > zlib-1.2.1-1, cygwin-1.5.10-3, > X-startup-scripts-1.0.8-1, and xorg-x11-bin-dlls-6.7.0.0-5. These were packaged by Harold Hunt. Maybe he still has them available. The sources for xorg-x11-bin-dlls can be restored from CVS quite easily cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co -r CYGWIN -D "2004-04-07 9:00 UTC" xc But this does not include the build scripts. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From sebastianhaby@home.se Tue Apr 26 09:46:00 2005 From: sebastianhaby@home.se (Sebastian Haby) Date: Tue, 26 Apr 2005 09:46:00 -0000 Subject: Obtaining older packages... Message-ID: <1114508366.ccb47880sebastianhaby@home.se> Hey! Thanks ago, already had those sources from CVS laying around. I'll get the other source-code from some other place. How come older packages aren't kept online on atleast a couple of servers? //Sebastian From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 26 10:09:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 26 Apr 2005 10:09:00 -0000 Subject: Obtaining older packages... In-Reply-To: <1114508366.ccb47880sebastianhaby@home.se> References: <1114508366.ccb47880sebastianhaby@home.se> Message-ID: On Tue, 26 Apr 2005, Sebastian Haby wrote: > Hey! > Thanks ago, already had those sources from CVS laying around. > I'll get the other source-code from some other place. > How come older packages aren't kept online on atleast a couple of servers? I kept the xorg-x11 6.7.0 packages for some time on www.cygwin.com but had removed them a short time ago for several reasons - make room for 6.8.2. The xorg-x11 packages are huge - 6.7.0 is about one year old (it was released on april 7th 2004) - setup.exe does only handle 3 releases. When doing updates I try to keep the direct predecessor (for easy reverting an update) and a bit older version for regression checks. eg 6.8.2-5, 6.8.2-4 and 6.8.1-7 For 6.8.0 and 6.8.1 I kept 6.7.0 but now it's too old to be useful in general bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 26 13:00:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 26 Apr 2005 13:00:00 -0000 Subject: Non-admin users, /tmp/.X11-unix/X0 permissions In-Reply-To: References: Message-ID: On Tue, 26 Apr 2005, Angelo Graziosi wrote: > I have the same problem, but I have not understand the solution: > wait for a new release of XWin or to change something in conf.? I uploaded a new release which avoids setting the sticky bit on the directory. maybe you'll have to remove the old /tmp/.X11-unix manually. The new version should arrive soon at the mirrors. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From mgeorge72@yahoo.com Tue Apr 26 13:24:00 2005 From: mgeorge72@yahoo.com (Ming George) Date: Tue, 26 Apr 2005 13:24:00 -0000 Subject: Problem with running remote Linux Java GUI Message-ID: <20050426132212.6657.qmail@web40509.mail.yahoo.com> Hi friends, I use Cygwin/X to run remote X window programs. It works perfect for normal Linux X applications; but not for any Java GUI. In a Cygwin xterm, when I run a Java GUI in a remote linux machine, I only get an empty window which does not show all the interface elements, e.g., button, menu, and others. In the mail achieve, I found some one posted the similar issues when executing a Java GUI in a remote Solaris system. But the solution is not applicable to my case. Does any one meet the same problem, or have any clue about it? Thanks George __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cmc3list-win2k@yahoo.com Tue Apr 26 14:21:00 2005 From: cmc3list-win2k@yahoo.com (Christopher Mark Conn) Date: Tue, 26 Apr 2005 14:21:00 -0000 Subject: Problem with running remote Linux Java GUI In-Reply-To: <20050426132212.6657.qmail@web40509.mail.yahoo.com> (Ming George's message of "Tue, 26 Apr 2005 06:22:12 -0700 (PDT)") References: <20050426132212.6657.qmail@web40509.mail.yahoo.com> Message-ID: <861x8xobw3.fsf@zihua.cmconn.net> George Ming writes: > I use Cygwin/X to run remote X window programs. It > works perfect for normal Linux X applications; but not > for any Java GUI. In a Cygwin xterm, when I run a Java > GUI in a remote linux machine, I only get an empty > window which does not show all the interface elements, > e.g., button, menu, and others. > > In the mail achieve, I found some one posted the > similar issues when executing a Java GUI in a remote > Solaris system. But the solution is not applicable to > my case. Does any one meet the same problem, or have > any clue about it? Hi George I think I can help on this one, although I'm new to Cygwin. I work in AIX support and we have a lot of customers who use Hummingbird Exceed to connect to AIX boxes running CDE. This works fine as long as the AIX box is running dtlogin which sends information back to Exceed. But if they want to run more complicated apps like the Oracle installer (which I suspect is java-based) they have to use XVFB, the Virtual Frame Buffer which emulates a graphics card. I am not sure what else Cygwin needs to give Java what it needs, will be interesting to hear what others say. Hope this helps a little :-). I installed Cygwin last weekend because I wanted to connect to my FreeBSD box from my Win2K laptop and run Emacs in full graphics mode. I'm doing that now and it's flawless! -- Chris Conn http://storm.cadcam.iupui.edu/~cmcgoat Austin, Texas, USA From scegielski@yahoo.com Tue Apr 26 14:56:00 2005 From: scegielski@yahoo.com (Scott Cegielski) Date: Tue, 26 Apr 2005 14:56:00 -0000 Subject: Tabbed xterm In-Reply-To: 6667 Message-ID: <20050426145636.7071.qmail@web32214.mail.mud.yahoo.com> Thanks for the info. I got it working. One thing though, and this is probably an easy one. How can I get a windows shortcut to start mrxvt? Xterms are started like this: C:\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin xterm -e /usr/bin/tcsh but if I try to start mrxvt like this: C:\cygwin\usr\X11R6\bin\run.exe -p /usr/local/bin mrxvt -e /ust/bin/tcsh Nothing comes up. Any ideas? --- Charles Plager wrote: > > On Sun, 24 Apr 2005, Scott Cegielski wrote: > > > >> I use ws3 under linux at work and have gotten really used to using gnome's > >> tabbed shells. I don't know if this is a xterm feature or a gnome feature > or > >> neither, but is this something that could be implemented under cygwin > xfree? > > > > AFAIR there is some rxvt cole which can do this. Search the mailinglist > archives. > > The keyword tabbed xterm or xterm tabs should help. > > mrxvt is 'rxvt console' you're looking for: > http://materm.sourceforge.net/ is the homepage > > I downloaded mrxvt-0.4.0.tar.gz, > http://prdownloads.sourceforge.net/materm/mrxvt-0.4.0.tar.gz?download > > > configured as told to do in the README file, > http://materm.sourceforge.net/docs/README > > ./configure --enable-everything --disable-debug > then 'make' and 'make install'. > > Cheers, > Charles > Scott Cegielski scegielski@yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cgf-no-personal-reply-please@cygwin.com Tue Apr 26 14:57:00 2005 From: cgf-no-personal-reply-please@cygwin.com (Christopher Faylor) Date: Tue, 26 Apr 2005 14:57:00 -0000 Subject: Obtaining older packages... In-Reply-To: <1114508366.ccb47880sebastianhaby@home.se> References: <1114508366.ccb47880sebastianhaby@home.se> Message-ID: <20050426145725.GF31153@trixie.casa.cgf.cx> On Tue, Apr 26, 2005 at 11:39:26AM +0200, Sebastian Haby wrote: >How come older packages aren't kept online on atleast a couple of servers? There's only one "server" and that is cygwin.com (aka sourceware.org aka gcc.gnu.org). Disk space is limited there. Of course, the real reason why we don't do this, though, is "because we're mean". However, meanness aside, A google search of "cygwin time machine" might prove instructive. It would unearth this URL: http://www.fruitbat.org/Cygwin/index.html#cygwincirca . This is an independent (not supported by this site) project to archive all previous releases of cygwin. From alexander.gottwald@s1999.tu-chemnitz.de Tue Apr 26 15:17:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 26 Apr 2005 15:17:00 -0000 Subject: Tabbed xterm In-Reply-To: <20050426145636.7071.qmail@web32214.mail.mud.yahoo.com> References: <20050426145636.7071.qmail@web32214.mail.mud.yahoo.com> Message-ID: On Tue, 26 Apr 2005, Scott Cegielski wrote: > Thanks for the info. I got it working. One thing though, and this is > probably an easy one. How can I get a windows shortcut to start mrxvt? Xterms > are started like this: > > C:\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin xterm -e /usr/bin/tcsh > > but if I try to start mrxvt like this: > > C:\cygwin\usr\X11R6\bin\run.exe -p /usr/local/bin mrxvt -e /ust/bin/tcsh > > Nothing comes up. Any ideas? -p is used to add additional entries to $PATH. You're mrxvt can not load the missing the X11 libraries and maybe not even the cygwin1.dll library maybe this helps. C:\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin mrxvt -e /usr/bin/tcsh or C:\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin -p /usr/local/bin mrxvt -e /usr/bin/tcsh you may also start with placing mrxvt in /usr/bin (where xterm lives) and use just a slightly tweaked command C:\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin mrxvt -e /ust/bin/tcsh bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From sly5+gmane@pitt.edu Tue Apr 26 17:00:00 2005 From: sly5+gmane@pitt.edu (Levent Yilmaz) Date: Tue, 26 Apr 2005 17:00:00 -0000 Subject: Problem with running remote Linux Java GUI In-Reply-To: <20050426132212.6657.qmail@web40509.mail.yahoo.com> References: <20050426132212.6657.qmail@web40509.mail.yahoo.com> Message-ID: I also had some problems with certain programs (not necessarily with java). And find a simple solution which I do not know it works: If you are using ssh with X11 forwarding for connections, maybe -Y (instead of -X) may work for you. -L. Ming George wrote: > Hi friends, > > I use Cygwin/X to run remote X window programs. It > works perfect for normal Linux X applications; but not > for any Java GUI. In a Cygwin xterm, when I run a Java > GUI in a remote linux machine, I only get an empty > window which does not show all the interface elements, > e.g., button, menu, and others. > > In the mail achieve, I found some one posted the > similar issues when executing a Java GUI in a remote > Solaris system. But the solution is not applicable to > my case. Does any one meet the same problem, or have > any clue about it? > > Thanks > > George > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > From cygwin@cwilson.fastmail.fm Tue Apr 26 21:51:00 2005 From: cygwin@cwilson.fastmail.fm (Charles Wilson) Date: Tue, 26 Apr 2005 21:51:00 -0000 Subject: Obtaining older packages... In-Reply-To: References: <1114508366.ccb47880sebastianhaby@home.se> Message-ID: <426EB7BE.8040700@cwilson.fastmail.fm> Don't forget the Cygwin Time Machine: http://www.fruitbat.org/Cygwin/index.html#cygwintimemachine ftp://www.fruitbat.org/pub/cygwin/circa/index.html -- Chuck From cgf-no-personal-reply-please@cygwin.com Tue Apr 26 23:11:00 2005 From: cgf-no-personal-reply-please@cygwin.com (Christopher Faylor) Date: Tue, 26 Apr 2005 23:11:00 -0000 Subject: Obtaining older packages... In-Reply-To: <426EB7BE.8040700@cwilson.fastmail.fm> References: <1114508366.ccb47880sebastianhaby@home.se> <426EB7BE.8040700@cwilson.fastmail.fm> Message-ID: <20050426231114.GB11486@trixie.casa.cgf.cx> On Tue, Apr 26, 2005 at 05:50:54PM -0400, Charles Wilson wrote: >Don't forget the Cygwin Time Machine: > >http://www.fruitbat.org/Cygwin/index.html#cygwintimemachine >ftp://www.fruitbat.org/pub/cygwin/circa/index.html Or, if that doesn't work, there's always the "cygwin time machine". cgf From sly5+gmane@pitt.edu Tue Apr 26 23:26:00 2005 From: sly5+gmane@pitt.edu (Levent Yilmaz) Date: Tue, 26 Apr 2005 23:26:00 -0000 Subject: -Y switch warning Message-ID: Hi, I cannot get some programs (such as Eclipse 3.0.2 from eclipse.org) to work with -X switch, so I use -Y for ssh connections with X11 forwarding. And, I get this warning message with -Y: Warning: No xauth data; using fake authentication data for X11 forwarding. Is this important? Shall/how do I fix it? thank you - Levent From list-subscriber@hq.astra.ph Wed Apr 27 07:06:00 2005 From: list-subscriber@hq.astra.ph (Carlo Florendo) Date: Wed, 27 Apr 2005 07:06:00 -0000 Subject: setting default xterm colors Message-ID: <426F39B3.6030807@hq.astra.ph> Hello, Does anyone know a way to set xterm colors without using the -bg and -fg options all the time? I know one way to do it would be to alias xterm in bash_profile such that the command always includes the bg and fg options every time it is invoked. Aliasing works for me but this is not what I want. I've exported TERM=xterm-color Some sites say that .Xdefaults have to be set but it means I have to set the .Xdefaults for each and every user. I would want users to read terminal settings from a global configuration file. It seems that there is no such thing. I've uncommented the necessary options from /usr/lib/X11/app-defaults/Xterm-color so that I get a light foreground over a dark background . In particular, the relevant section of /usr/lib/X11/app-defaults/Xterm-color now looks like: $ cat /usr/lib/X11/app-defaults/XTerm-color | more #include "XTerm" *VT100*colorMode: on *VT100*boldColors: on *VT100*dynamicColors: on ! Uncomment this for "white" text on a dark background. *VT100*foreground: gray90 *VT100*background: black Also, my TERM is: $ echo $TERM xterm-color Thanks for any help. Best Regards, Carlo -- Carlo Florendo Astra Philippines Inc. www.astra.ph From scientist_usair@yahoo.com Wed Apr 27 07:14:00 2005 From: scientist_usair@yahoo.com (s) Date: Wed, 27 Apr 2005 07:14:00 -0000 Subject: gcc does not exist in cywin Message-ID: <20050427071421.33783.qmail@web30106.mail.mud.yahoo.com> hi I would really appreciate if you could answer my question. I installed Cygwin via Setup.exe. I installed every Cygwin package by clicking on the "Default" field next to the "All" category. But GCC was not installed. How can I install gcc on cygwin?? I appreciate your prompt response, nima __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mbardiaux@peaktime.be Wed Apr 27 08:31:00 2005 From: mbardiaux@peaktime.be (Michel Bardiaux) Date: Wed, 27 Apr 2005 08:31:00 -0000 Subject: gcc does not exist in cywin In-Reply-To: <20050427071421.33783.qmail@web30106.mail.mud.yahoo.com> References: <20050427071421.33783.qmail@web30106.mail.mud.yahoo.com> Message-ID: <426F4DC7.3030504@peaktime.be> s wrote: > hi > I would really appreciate if you could answer my > question. > I installed Cygwin via Setup.exe. I installed every > Cygwin package by clicking on the "Default" field next > to the "All" category. But GCC was not installed. > How can I install gcc on cygwin?? > I appreciate your prompt response, > nima > Not installed because "Default" is not a development environment! In setup you have to open "All", open "Devel", and click on gcc-core. Or something like that since personnally I dont compile in cygwin but in pure mingw. HaND, -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41 From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 27 09:10:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 27 Apr 2005 09:10:00 -0000 Subject: -Y switch warning In-Reply-To: References: Message-ID: On Tue, 26 Apr 2005, Levent Yilmaz wrote: > Warning: No xauth data; using fake authentication data for X11 forwarding. > > Is this important? Shall/how do I fix it? No. For more information on X authentication see man Xsecurity bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From ThoLei@gmx.net Wed Apr 27 09:18:00 2005 From: ThoLei@gmx.net (Thomas Leineweber) Date: Wed, 27 Apr 2005 09:18:00 -0000 Subject: xterm does not start properly References: Message-ID: <12856.1114593515@www55.gmx.net> Hello Alexander! Thank you for response. The link you included in your email did solve the problem although ist was NOT a firewall problem. It was the other hint with the -multiwindow switch that helped. Best regards, Thomas > On Mon, 25 Apr 2005 ThoLei@gmx.net wrote: > > > I installed cygwin-xfree 1.5.15-1today on Windows2000 but i have a > problem > > with starting it. I use the startxwin.bat and it echos "startxwin.bat - > > Starting on Windows NT/2000/XP/2003" but then nothing seems to happen > and > > the DOS Box is closed immediatly. However the "X"-Icon appears in my > > Windows-Tray but clicking it reveals no option menu. When I look in the > > taskmanager there is an xterm listed as process but I cannot do anything > > with it but kill it. A year ago I installed cygwin-xfree 1.5.9-1 on a > > similar machine and it worked (bash shell opened). > > Sounds like a personal firewall problem. > > http://x.cygwin.com/docs/faq/cygwin-x-faq.html#freeze-at-startup > > bye > ago > -- > Alexander.Gottwald@s1999.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 > -- +++ Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 27 09:27:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 27 Apr 2005 09:27:00 -0000 Subject: setting default xterm colors In-Reply-To: <426F39B3.6030807@hq.astra.ph> References: <426F39B3.6030807@hq.astra.ph> Message-ID: On Wed, 27 Apr 2005, Carlo Florendo wrote: > Hello, > > Does anyone know a way to set xterm colors without using the -bg and -fg > options all the time? I know one way to do it would be to alias xterm > in bash_profile such that the command always includes the bg and fg > options every time it is invoked. Aliasing works for me but this is not > what I want. man xterm lists a huge number of commandline options and their respective resources. -bg => background -fg => foreground These resources can either be set in /usr/lib/X11/app-defaults/XTerm* but these changes will get lost with the next xterm update or in ~/.Xdefaults You may also create a global file /usr/X11R6/lib/X11/xinit/.Xresources and import tzhe settings with xrdb -merge /usr/X11R6/lib/X11/xinit/.Xresources If you're using startx to start the xserver, it will automaticly read the settings from these files (in this order) /usr/X11R6/lib/X11/xinit/.Xresources $HOME/.Xdefaults The syntax of these files is the same as in /usr/lib/X11/app-defaults/XTerm* bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From list-subscriber@hq.astra.ph Wed Apr 27 10:15:00 2005 From: list-subscriber@hq.astra.ph (Carlo Florendo) Date: Wed, 27 Apr 2005 10:15:00 -0000 Subject: setting default xterm colors In-Reply-To: References: <426F39B3.6030807@hq.astra.ph> Message-ID: <426F660F.4060305@hq.astra.ph> Alexander Gottwald wrote: >On Wed, 27 Apr 2005, Carlo Florendo wrote: > > > >>Hello, >> >>Does anyone know a way to set xterm colors without using the -bg and -fg >>options all the time? I know one way to do it would be to alias xterm >>in bash_profile such that the command always includes the bg and fg >>options every time it is invoked. Aliasing works for me but this is not >>what I want. >> >> > >man xterm lists a huge number of commandline options and their respective >resources. >-bg => background >-fg => foreground > >These resources can either be set in /usr/lib/X11/app-defaults/XTerm* >but these changes will get lost with the next xterm update or in ~/.Xdefaults >You may also create a global file /usr/X11R6/lib/X11/xinit/.Xresources and import >tzhe settings with > >xrdb -merge /usr/X11R6/lib/X11/xinit/.Xresources > >If you're using startx to start the xserver, it will automaticly read the settings >from these files (in this order) >/usr/X11R6/lib/X11/xinit/.Xresources >$HOME/.Xdefaults > >The syntax of these files is the same as in /usr/lib/X11/app-defaults/XTerm* > >bye > ago > > Thank you very much Alexander. I have been very enlightened with your posting. :) I've got a follow-up question: I run startx and an xterm fires up. That's no problem. When I invoke another xterm from the xterm that just started, I now get the proper background and foreground colors but `ls -l' does not display color coded directory entries anymore on the newly invoked xterm (It does display the colors from the xterm invoked by startx, though). Everything would work fine if I invoke `xterm -e /bin/bash --login -i' since I've aliased ls to `ls --color=auto' in my bash configuration file. Is there any way to make my xterm understand `ls --color-auto' without loading the shell configuration files (since it's from my bash configuration that I set `ls --color-auto')? Thank you so much for your prompt reply! Best Regards Carlo -- Carlo Florendo Astra Philippines Inc. www.astra.ph From alexander.gottwald@s1999.tu-chemnitz.de Wed Apr 27 11:35:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 27 Apr 2005 11:35:00 -0000 Subject: setting default xterm colors In-Reply-To: <426F660F.4060305@hq.astra.ph> References: <426F39B3.6030807@hq.astra.ph> <426F660F.4060305@hq.astra.ph> Message-ID: On Wed, 27 Apr 2005, Carlo Florendo wrote: > I've got a follow-up question: I run startx and an xterm fires up. > That's no problem. When I invoke another xterm from the xterm that > just started, I now get the proper background and foreground colors but > `ls -l' does not display color coded directory entries anymore on the > newly invoked xterm (It does display the colors from the xterm invoked > by startx, though). Everything would work fine if I invoke `xterm -e > /bin/bash --login -i' since I've aliased ls to `ls --color=auto' in my > bash configuration file. Is there any way to make my xterm understand > `ls --color-auto' without loading the shell configuration files (since > it's from my bash configuration that I set `ls --color-auto')? No that I know of. But bash knows two kinds of configuration files. ~/.bashrc and ~/.profile (see man bash for details). .profile is read when invoked with --login otherwise .bashrc. you can put the alias command to .bashrc and source that from .profile too ==~/.bashrc== alias ls=ls --color=auto ==~/.profile== if test -f ~/.bashrc; then . ~/.bashrc fi bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From wangxin@onid.orst.edu Wed Apr 27 16:18:00 2005 From: wangxin@onid.orst.edu (wangxin@onid.orst.edu) Date: Wed, 27 Apr 2005 16:18:00 -0000 Subject: Startx claimed there was antoher WM running and refused to start Message-ID: <1114618721.426fbb610fe15@webmail.oregonstate.edu> I am running cygwin on WindowsXP. StartX failed to start and claimed there is another wm running, which is not correct. :-) Can anyone help me figure out what is wrong here? Here is the log. :-) Thanks! ------------------------------------ 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: X :0 -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root 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 (==) 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/" winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000007 winSetEngine - Multi Window or Rootless => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 depth: 32 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff 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" Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options = "(null)" (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 800 600 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitMultiWindowWM - pthread_mutex_unlock () returned. cat: /c/xinwang/.XauthoritywinMultiWindowXMsgProc - pthread_mutex_lock () returned. : No such file or directory winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winClipboardProc - XOpenDisplay () returned and successfully opened the display. [FVWM][CatchRedirectError]: <> another WM is running winClipboardProc - Call to select () failed: -1. Bailing. winClipboardProc - XDestroyWindow succeeded. waiting for X server to shut down winClipboardIOErrorHandler! From mark.paulus@mci.com Wed Apr 27 16:50:00 2005 From: mark.paulus@mci.com (Mark Paulus) Date: Wed, 27 Apr 2005 16:50:00 -0000 Subject: Startx claimed there was antoher WM running and refused to start In-Reply-To: <1114618721.426fbb610fe15@webmail.oregonstate.edu> Message-ID: <0IFM00CC46NQET@pmismtp02.mcilink.com> Ahhh, but you do have a WM running. Cygwin/X uses the MS Windows Manager when the -multiwindow option is given, which is WM 1. Do you, by chance, have a .xinitrc file in your home directory? This might be trying to start an additional Window Manager. Which Window Manager are you trying to run? If you want to run X in it's own window, and use a different WM, then you could create a file: $(HOME)/.xserverrc, which looks like this: $ cat .xserverrc exec X :0 -clipboard and then .xinitrc, which starts up your WM and any other processes: $ cat .xinitrc #exec fvwm2 -f /usr/X11R6/share/fvwm/system.fvwm2rc-sample-95 #exec fvwm2 exec wmaker #exec openbox #ssh-agent wmaker > ~/.ssh-agent #export DISPLAY=localhost:0 #xhost + On Wed, 27 Apr 2005 09:18:41 -0700, wangxin@onid.orst.edu wrote: >I am running cygwin on WindowsXP. StartX failed to start and claimed there >is another wm running, which is not correct. :-) >Can anyone help me figure out what is wrong here? >Here is the log. :-) >Thanks! >------------------------------------ >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: >X :0 -multiwindow -clipboard >_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root >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 >(==) 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/" >winDetectSupportedEngines - Windows NT/2000/XP >winDetectSupportedEngines - DirectDraw installed >winDetectSupportedEngines - DirectDraw4 installed >winDetectSupportedEngines - Returning, supported engines 00000007 >winSetEngine - Multi Window or Rootless => ShadowGDI >winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel >winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 depth: 32 >winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff >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" >Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options = >"(null)" >(--) 5 mouse buttons found >Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from >list! >winPointerWarpCursor - Discarding first warp: 800 600 >winInitMultiWindowWM - pthread_mutex_lock () returned. >winProcEstablishConnection - Hello >winInitMultiWindowWM - pthread_mutex_unlock () returned. >cat: /c/xinwang/.XauthoritywinMultiWindowXMsgProc - pthread_mutex_lock () >returned. >: No such file or directory >winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 >winMultiWindowXMsgProc - pthread_mutex_unlock () returned. >winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 >winInitClipboard () >winProcEstablishConnection - winInitClipboard returned. >winClipboardProc - Hello >DetectUnicodeSupport - Windows NT/2000/XP >winClipboardProc - DISPLAY=127.0.0.1:0.0 >winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the >display. >winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the >display. >winClipboardProc - XOpenDisplay () returned and successfully opened the display. >[FVWM][CatchRedirectError]: <> another WM is running >winClipboardProc - Call to select () failed: -1. Bailing. >winClipboardProc - XDestroyWindow succeeded. >waiting for X server to shut down >winClipboardIOErrorHandler! From list-subscriber@hq.astra.ph Thu Apr 28 04:18:00 2005 From: list-subscriber@hq.astra.ph (Carlo Florendo) Date: Thu, 28 Apr 2005 04:18:00 -0000 Subject: setting default xterm colors In-Reply-To: References: <426F39B3.6030807@hq.astra.ph> <426F660F.4060305@hq.astra.ph> Message-ID: <42706414.7070304@hq.astra.ph> Alexander Gottwald wrote: >On Wed, 27 Apr 2005, Carlo Florendo wrote: > > > >>I've got a follow-up question: I run startx and an xterm fires up. >>That's no problem. When I invoke another xterm from the xterm that >>just started, I now get the proper background and foreground colors but >>`ls -l' does not display color coded directory entries anymore on the >>newly invoked xterm (It does display the colors from the xterm invoked >>by startx, though). Everything would work fine if I invoke `xterm -e >>/bin/bash --login -i' since I've aliased ls to `ls --color=auto' in my >>bash configuration file. Is there any way to make my xterm understand >>`ls --color-auto' without loading the shell configuration files (since >>it's from my bash configuration that I set `ls --color-auto')? >> >> > >No that I know of. But bash knows two kinds of configuration files. > >~/.bashrc and ~/.profile (see man bash for details). .profile is read >when invoked with --login otherwise .bashrc. you can put the alias command >to .bashrc and source that from .profile too > >==~/.bashrc== >alias ls=ls --color=auto > >==~/.profile== >if test -f ~/.bashrc; then > . ~/.bashrc >fi > > Thank you for the insights, Alexander! With much appreiciation, Carlo -- Carlo Florendo Astra Philippines Inc. www.astra.ph From mgeorge72@yahoo.com Thu Apr 28 09:18:00 2005 From: mgeorge72@yahoo.com (Ming George) Date: Thu, 28 Apr 2005 09:18:00 -0000 Subject: Problem with running remote Linux Java GUI In-Reply-To: 6667 Message-ID: <20050428091821.72734.qmail@web40528.mail.yahoo.com> Thanks for Christopher and Levent for valuable the comments. However, these solutions do not work for me. -Y was rejected by my remote linux system. A weird thing I observed is that in a remote linux Xterm (using ssh) being connected to Cygwin for longer than a certain period of time (more than a half hour), the GUI of remote Java program can be properly displayed. But for a newly connected Xterm, it still does not work. At least, it can be used as a temporal solution. Does anyone have clue about it? Does it related to the X authority setting? Thanks George --- Levent Yilmaz wrote: > I also had some problems with certain programs (not > necessarily with > java). And find a simple solution which I do not > know it works: > > If you are using ssh with X11 forwarding for > connections, maybe -Y > (instead of -X) may work for you. > > -L. > > > Ming George wrote: > > > Hi friends, > > > > I use Cygwin/X to run remote X window programs. It > > works perfect for normal Linux X applications; but > not > > for any Java GUI. In a Cygwin xterm, when I run a > Java > > GUI in a remote linux machine, I only get an empty > > window which does not show all the interface > elements, > > e.g., button, menu, and others. > > > > In the mail achieve, I found some one posted the > > similar issues when executing a Java GUI in a > remote > > Solaris system. But the solution is not applicable > to > > my case. Does any one meet the same problem, or > have > > any clue about it? > > > > Thanks > > > > George > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Tereus.Scott@gtesinc.com Thu Apr 28 15:51:00 2005 From: Tereus.Scott@gtesinc.com (Scott, Tereus) Date: Thu, 28 Apr 2005 15:51:00 -0000 Subject: cygwin xclock on XP crashes remote Windows 2003 file server Message-ID: <8E5C7037FAAE6F4CAABE0A652788EDA03B4D97@vcr02-exch.gtesinc.com> Installed cygwin today - all packages. My Windows XP machine has the H: drive mapped to a Windows 2003 file server. After starting Xwin, I tried to test it by launching xclock. This caused the file server to crash! Any ideas why? Has anyone seen this problem before? cygwin release downloaded april 27/05 from http://www.mirror.ac.uk/sites/sources.redhat.com/ftp/cygwin/ cygwin-1.5.16.1 From alexander.gottwald@s1999.tu-chemnitz.de Thu Apr 28 16:15:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 28 Apr 2005 16:15:00 -0000 Subject: cygwin xclock on XP crashes remote Windows 2003 file server In-Reply-To: <8E5C7037FAAE6F4CAABE0A652788EDA03B4D97@vcr02-exch.gtesinc.com> References: <8E5C7037FAAE6F4CAABE0A652788EDA03B4D97@vcr02-exch.gtesinc.com> Message-ID: On Thu, 28 Apr 2005, Scott, Tereus wrote: > Installed cygwin today - all packages. > My Windows XP machine has the H: drive mapped to a Windows 2003 file server. > After starting Xwin, I tried to test it by launching xclock. > This caused the file server to crash! > Any ideas why? Has anyone seen this problem before? No. But this is for sure a windows 2003 bug. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From martouf5@gmail.com Thu Apr 28 22:31:00 2005 From: martouf5@gmail.com (martouf .) Date: Thu, 28 Apr 2005 22:31:00 -0000 Subject: startx hanging - startup problem located Message-ID: in reference to my earlier message http://cygwin.com/ml/cygwin-xfree/2005-03/msg00048.html and the following message http://cygwin.com/ml/cygwin-xfree/2005-04/msg00152.html I can state I am -not- having a "personal firewall problem". With the help of 'Process Explorer' from sysinternals.com, I have been able to determine it is caused by 'cat.exe' using >90% CPU. I am disabling the keyboard extensions (see my earlier message). The 'cat' command line is: C:\cygwin\bin\cat.exe /home/martouf/.Xauthority The hanging thread stack is: ntdll.dll!KiFastSystemCallRet ntdll.dll!LdrInitializeThunk+0x29 ntdll.dll!LdrFindResourceDirectory_U+0x276 ntdll.dll!RtlLookupElementGenericTable+0x185 ntdll.dll!RtlLookupElementGenericTable+0x80 ntdll.dll!KiUserApcDispatcher+0x7 If I just kill the 'cat' process, then X starts up and functions. 'cat' will spin away indefinitely. hope this helps... From brian@dessent.net Thu Apr 28 22:45:00 2005 From: brian@dessent.net (Brian Dessent) Date: Thu, 28 Apr 2005 22:45:00 -0000 Subject: startx hanging - startup problem located References: Message-ID: <4271682D.71451A52@dessent.net> "martouf ." wrote: > I can state I am -not- having a "personal firewall problem". With the > help of 'Process Explorer' from sysinternals.com, I have been able to > determine it is caused by 'cat.exe' using >90% CPU. I wouldn't be so sure. Process Explorer is a nice tool but it doesn't always play nice with Cygwin. Specifically, if you click on the Threads tab of the Properties page of a process, ProcExp attaches its own thread to the process and this causes the Cygwin process to consume 100% cpu. You can trivially demonstrate this by clicking on any normal Cygwin process in ProcExp and then going to the Threads tab in properties. The cpu usage will shoot to 100%, sometimes shared between the process being examined and csrss.exe. This does not mean there's anything wrong with the process, it means that whatever ProcExp is doing is too invasive. Brian From martouf5@gmail.com Thu Apr 28 22:59:00 2005 From: martouf5@gmail.com (martouf .) Date: Thu, 28 Apr 2005 22:59:00 -0000 Subject: startx hanging - startup problem located Message-ID: I started by using Windows Task Manager to try to find the 'hanging' problem, and after sorting the process list by CPU usage - there was 'cat' spinning away. Process Explorer v9.02 provided the same data. Trying to 'cat /proc/PIDNO/cmdline' would only provide "". It does not matter if I use 'rootless' or 'multiwindow' - X stops at the "Rules" line (although I often see a clipboard connection message). From martouf5@gmail.com Thu Apr 28 23:20:00 2005 From: martouf5@gmail.com (martouf .) Date: Thu, 28 Apr 2005 23:20:00 -0000 Subject: Process Explorer (was: startx hanging - startup problem located) Message-ID: "Brian Dessent" wrote: > Specifically, if you click on the Threads tab of the Properties page of a process, > ProcExp attaches its own thread to the process and this causes the Cygwin > process to consume 100% cpu. yes, bringing up the Threads tab on processes like 'xterm' and 'sh' causes a new thread "ntdll.dll!RtlConvertUiListToApiList+0xNNN" to be created. It is simple to remedy this by killing the thread. Having done so, CPU usage returns to normal and the Cygwin process becomes responsive again. From brian@dessent.net Thu Apr 28 23:45:00 2005 From: brian@dessent.net (Brian Dessent) Date: Thu, 28 Apr 2005 23:45:00 -0000 Subject: Process Explorer (was: startx hanging - startup problem located) References: Message-ID: <42717656.8D6047EB@dessent.net> "martouf ." wrote: > yes, bringing up the Threads tab on processes like 'xterm' and 'sh' > causes a new thread "ntdll.dll!RtlConvertUiListToApiList+0xNNN" to be > created. It is simple to remedy this by killing the thread. Having > done so, CPU usage returns to normal and the Cygwin process becomes > responsive again. Right. That's what I do as well when it happens. I just wanted to make sure that what you are seeing is not due to process explorer. 'cat' is such a simple program that I'd be surprised if it is directly related to the problem at hand. It may be the symptom, but I'd be very surprised if 'cat' itself was the problem. The stack trace that process explorer gives you is a bunch of Native APIs in NTDLL (most of which undocumented) and as such is more or less useless. If you build cat with debugging symbols and attach to the hung process with gdb it would give a much better idea. Or try commenting out things in startx until you can pin down the behavior that causes it. Or run strace and see what calls lead up to the hang. But I've got to say, even though you seem to have ruled out "firewall" issues, these sorts of hangs when starting XWin are almost always due to some kind of third party software the inserts itself into the winsock network stack in some fashion. Brian From scegielski@yahoo.com Fri Apr 29 00:50:00 2005 From: scegielski@yahoo.com (Scott Cegielski) Date: Fri, 29 Apr 2005 00:50:00 -0000 Subject: Color in Xterm vim matching gvim Message-ID: <20050429004956.54263.qmail@web32211.mail.mud.yahoo.com> Hi all, I was wondering if any vim/gvim users knew how to get gvim's color schemes to match those of regular shell based vim. For instance, I am using the koehler color scheme in gvim, but sometimes I just want to load vim but koehler looks different in the shell. Is this a limitation of xterm's color palette? Thanks for any info. Scott Cegielski scegielski@yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 29 08:16:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 29 Apr 2005 08:16:00 -0000 Subject: startx hanging - startup problem located In-Reply-To: References: Message-ID: On Thu, 28 Apr 2005, martouf . wrote: > in reference to my earlier message > http://cygwin.com/ml/cygwin-xfree/2005-03/msg00048.html > and the following message > http://cygwin.com/ml/cygwin-xfree/2005-04/msg00152.html > > I can state I am -not- having a "personal firewall problem". With the > help of 'Process Explorer' from sysinternals.com, I have been able to > determine it is caused by 'cat.exe' using >90% CPU. XWin tries to start xkbcomp. This process start fails because ZoneAlarm has broken the network stack and the cygwin fork emulation does not work properly. Disabling XKB is a workaround but not the solution. Every user which had this problem could confirm that uninstalling ZoneAlarm 5 (just disabling does not help) did solve the problem. So this is obviously a firewall problem. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From martouf5@gmail.com Fri Apr 29 12:44:00 2005 From: martouf5@gmail.com (martouf .) Date: Fri, 29 Apr 2005 12:44:00 -0000 Subject: startx hanging - startup problem located In-Reply-To: References: Message-ID: I don't have ZoneAlarm. I get past the xkbcomp problem by disabling keyboard extensions, at which point 'cat' spins at >90% CPU on .Xauthority instead of 'sh' spinning on xkbcomp. I did not have this problem with an older cygwin.dll (see my earlier message). http://cygwin.com/ml/cygwin-xfree/2005-03/msg00048.html Is the fork emulation not wait()ing properly? 'cat' seems to be defunct at the time it is spinning, and yet it consumes CPU. trying to deliver SIGCHLD? return value from exit()? On 4/29/05, Alexander Gottwald wrote: > XWin tries to start xkbcomp. This process start fails because ZoneAlarm > has broken the network stack and the cygwin fork emulation does not work > properly. Disabling XKB is a workaround but not the solution. Every user > which had this problem could confirm that uninstalling ZoneAlarm 5 (just > disabling does not help) did solve the problem. So this is obviously a > firewall problem. > From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 29 13:04:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 29 Apr 2005 13:04:00 -0000 Subject: startx hanging - startup problem located In-Reply-To: References: Message-ID: On Fri, 29 Apr 2005, martouf . wrote: > I don't have ZoneAlarm. > > I get past the xkbcomp problem by disabling keyboard extensions, at > which point 'cat' spins at >90% CPU on .Xauthority instead of 'sh' > spinning on xkbcomp. maybe /tmp mounted in textmode? strace will show unlimited cycles of textmode/binmode tests then. > I did not have this problem with an older cygwin.dll (see my earlier message). > http://cygwin.com/ml/cygwin-xfree/2005-03/msg00048.html > > Is the fork emulation not wait()ing properly? 'cat' seems to be > defunct at the time it is spinning, and yet it consumes CPU. trying > to deliver SIGCHLD? return value from exit()? No. It does. Check http://cvs.freedesktop.org/xorg/xc/programs/Xserver/os/utils.c?rev=1.15&view=auto for the actual code (check Fopen and Fclose) bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From martouf5@gmail.com Fri Apr 29 13:31:00 2005 From: martouf5@gmail.com (martouf .) Date: Fri, 29 Apr 2005 13:31:00 -0000 Subject: startx hanging - startup problem located In-Reply-To: References: Message-ID: uhh, don't you mean System(), Popen() and Pclose() ? They're contained within and entire "#if !defined(WIN32)" stanza and I'm not sure what that means with respect to Cygwin. Did something change in fork(), exec() or exit() between 1.5.12 and 1.5.13 ? On 4/29/05, Alexander Gottwald wrote: > No. It does. > > Check http://cvs.freedesktop.org/xorg/xc/programs/Xserver/os/utils.c?rev=1.15&view=auto > for the actual code (check Fopen and Fclose) > From mark.paulus@mci.com Fri Apr 29 13:33:00 2005 From: mark.paulus@mci.com (Mark Paulus) Date: Fri, 29 Apr 2005 13:33:00 -0000 Subject: Color in Xterm vim matching gvim In-Reply-To: <20050429004956.54263.qmail@web32211.mail.mud.yahoo.com> Message-ID: <0IFP00HPIMZEXA@pmismtp01.mcilink.com> When you are in both instances of VIM, check what your background is :se background That can cause some pretty huge differences, if one is set to dark and one is set to light. On Thu, 28 Apr 2005 17:49:56 -0700 (PDT), Scott Cegielski wrote: >Hi all, >I was wondering if any vim/gvim users knew how to get gvim's color schemes to >match those of regular shell based vim. For instance, I am using the koehler >color scheme in gvim, but sometimes I just want to load vim but koehler looks >different in the shell. Is this a limitation of xterm's color palette? >Thanks for any info. >Scott Cegielski >scegielski@yahoo.com >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com From martouf5@gmail.com Fri Apr 29 13:44:00 2005 From: martouf5@gmail.com (martouf .) Date: Fri, 29 Apr 2005 13:44:00 -0000 Subject: startx hanging - startup problem located In-Reply-To: References: Message-ID: I don't have /tmp mounted as anything. / is mounted in binmode. $ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) On 4/29/05, Alexander Gottwald wrote: > > maybe /tmp mounted in textmode? > > strace will show unlimited cycles of textmode/binmode tests then. > From alexander.gottwald@s1999.tu-chemnitz.de Fri Apr 29 13:46:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 29 Apr 2005 13:46:00 -0000 Subject: startx hanging - startup problem located In-Reply-To: References: Message-ID: On Fri, 29 Apr 2005, martouf . wrote: > uhh, don't you mean System(), Popen() and Pclose() ? No. I mean Fopen. This is the only place where /bin/cat is mentioned. > They're > contained within and entire "#if !defined(WIN32)" stanza and I'm not > sure what that means with respect to Cygwin. WIN32 is only for mingw and native compiler like msvc. I've compiled XWin with HAS_SAVED_IDS_AND_SETEUID in os/utils.c http://www.freedesktop.org/~ago/XWin.exe.bz2 Feel free to try. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From ab2540@columbia.edu Fri Apr 29 19:59:00 2005 From: ab2540@columbia.edu (ab2540@columbia.edu) Date: Fri, 29 Apr 2005 19:59:00 -0000 Subject: ssh -Y is not an option Message-ID: <1114804768.4272922043ba8@cubmail.cc.columbia.edu> Hi I'm trying to run some apps on our unix server remotely from a windows XP box running cygwin/X. I have read and re-read all the posts and troubleshooting guides. First ssh -Y is not accepted as an option in the openssh I have installed second even following all the instructions I get the following $ DISPLAY=windows-jferrera:0.0 ssh -X nimbus abarnes@nimbus's password: Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Fri Apr 29 15:44:14 2005 from windows-jferrer As I said ssh -Y just gives $ DISPLAY=windows-jferrera:0.0 ssh -X nimbus abarnes@nimbus's password: Warning: No xauth data; using fake authentication data for X11 forwarding. Any clues ? Regards Anna From ab2540@columbia.edu Fri Apr 29 20:04:00 2005 From: ab2540@columbia.edu (ab2540@columbia.edu) Date: Fri, 29 Apr 2005 20:04:00 -0000 Subject: ssh -Y is not an option Message-ID: <1114805036.4272932c272fc@cubmail.cc.columbia.edu> Sorry the second paragraph should have read .... As I said ssh -Y just gives $ DISPLAY=windows-jferrera:0.0 ssh -Y nimbus ssh: unknown option -- Y Usage: ssh [options] host [command] regards Anna From martouf5@gmail.com Fri Apr 29 20:39:00 2005 From: martouf5@gmail.com (martouf .) Date: Fri, 29 Apr 2005 20:39:00 -0000 Subject: startx hanging - startup problem located Message-ID: On Fri, 29 Apr 2005, Alexander Gottwald wrote: >> uhh, don't you mean System(), Popen() and Pclose() ? > > No. I mean Fopen. This is the only place where /bin/cat is mentioned. oh yes, ok, I see now. thanks. >> They're contained within an entire "#if !defined(WIN32)" stanza and I'm not >> sure what that means with respect to Cygwin. > > WIN32 is only for mingw and native compiler like msvc. ok. first time looking through XWin source, so I am completely unfamiliar with its cpp vars. > I've compiled XWin with HAS_SAVED_IDS_AND_SETEUID in os/utils.c > http://www.freedesktop.org/~ago/XWin.exe.bz2 > > Feel free to try. thanks! I did try, and it behaved like this: 1. with "-kb" (kb ext disabled) it starts up just fine. 2. without "-kb" it 'hangs' with sh consuming >90% CPU right after the 'Rules' line. Ending the sh process causes XWin to wake back up and finish starting up then runs just fine. An interesting code pattern I see (and am not sure if it's significant) in os/utils.c: [paraphrasing] Popen() { . . switch (pid = fork()) { . . execl("/bin/sh", "sh", "-c", command, (char *)NULL); _exit(127); } /* Avoid EINTR during stdio calls */ OsBlockSignals (); . . } Pclose(){ . . do { pid = waitpid(cur->pid, &pstat, 0); } while (pid == -1 && errno == EINTR); . . /* allow EINTR again */ OsReleaseSignals (); . . } // with SIGCHLD set to SIG_IGN/SIG_BLOCK, then waitpid() should never be interrupted // by a signal and will never exit with EINTR. It may exit with ECHILD, though. // Does Cygwin behave the same way? [more paraphrasing -- this next bit is more interesting to me] Fopen(){ . . #ifndef HAS_SAVED_IDS_AND_SETEUID switch (pid = fork()) { . . execl("/bin/cat", "cat", file, (char *)NULL); _exit(127); } /* Avoid EINTR during stdio calls */ OsBlockSignals (); . . #else . . } Fclose(){ #ifdef HAS_SAVED_IDS_AND_SETEUID return fclose(iop); #else return Pclose(iop); #endif } // any chance at all what I'm seeing has something to do with the EINTR || ECHILD possibility above? From pjfarley3@yahoo.com Sat Apr 30 00:54:00 2005 From: pjfarley3@yahoo.com (Peter Farley) Date: Sat, 30 Apr 2005 00:54:00 -0000 Subject: read bug in Cygwin xterm window only Message-ID: <20050430005435.71869.qmail@web30206.mail.mud.yahoo.com> Hi all, The following program demonstrates what looks to me like a bug in the "read" function in an xterm (as opposed to a Cygwin console window). To run the test, compile with: gcc -g -o xtermbug.exe xtermbug.c When you run it in a console window, you can enter normal keyboard characters, then a return to see "cmdline=". Press the Esc key to exit the program. When run in an xterm window, the first keypress causes this behavior: 1. Select returns with rc = 0 and readset set to indicate that a key was received 2. "read" returns with kblen = 1 and kbbuf[0] = '\0' 3. (1) and (2) repeat forever. I put in a "maxdbg" parameter and terminate the program after 5 occurrences of this loop. This problem was first detected trying to run a copy of the hercules IBM mainframe emulator in a Cygwin xterm window. The code below is extracted and minimalized as much as possible from the hercules keyboard input routine. Peter Farley xtermbug.c: /*-------------------------------------------------------------------*/ /* This is a test program to show a cygwin xterm bug, possibly */ /* in the read function. */ /*-------------------------------------------------------------------*/ /*-------------------------------------------------------------------*/ /* Definitions for keyboard input sequences */ /*-------------------------------------------------------------------*/ #define KBD_DELETE "\x1B[3~" #include #include #include #include #include #include #define MSG_SIZE 80 /* Size of one message */ #define CMD_SIZE 32767 /* Length of command line */ #define BYTE unsigned char int ttyreset = 0; struct termios kbattr; /* Terminal I/O structure */ /*-------------------------------------------------------------------*/ /* xterm display subroutine */ /*-------------------------------------------------------------------*/ void xterm_display (void) { int rc; /* Return code */ int i; /* Array subscripts */ char cmdline[CMD_SIZE+1]; /* Command line buffer */ int cmdoff = 0; /* Cursor position in cmdline*/ int cmdlen = 0; /* Number of bytes in cmdline*/ //BYTE c; /* Character work area */ FILE *confp; /* Console file pointer */ size_t kbbufsize = CMD_SIZE; /* Size of keyboard buffer */ char *kbbuf = NULL; /* Keyboard input buffer */ int kblen; /* Number of chars in kbbuf */ int keybfd; /* Keyboard file descriptor */ int maxfd; /* Highest file descriptor */ fd_set readset; /* Select file descriptors */ struct timeval tv; /* Select timeout structure */ int maxdbg = 0; /* Set up the input file descriptors */ confp = stdout; keybfd = STDIN_FILENO; fprintf(confp, "start kbbuf=%8.8X,&kbbuf=%8.8X\n", kbbuf, &kbbuf); /* Obtain storage for the keyboard buffer */ if (!(kbbuf = (char *)malloc (kbbufsize))) { fprintf(stderr, "HHCPN002S Cannot obtain keyboard buffer: %s\n", strerror(errno)); return; } fprintf(confp, "start kbbuf=%8.8X,&kbbuf=%8.8X,*kbbuf=%8.8X\n", kbbuf, &kbbuf, *kbbuf); /* Set screen output stream to fully buffered */ setvbuf (confp, NULL, _IOFBF, 0); /* Put the terminal into cbreak mode */ tcgetattr (keybfd, &kbattr); kbattr.c_lflag &= ~(ECHO | ICANON); kbattr.c_cc[VMIN] = 0; kbattr.c_cc[VTIME] = 0; tcsetattr (keybfd, TCSANOW, &kbattr); ttyreset = 1; fprintf(confp, "Starting while(1) loop.\n"); fflush(confp); /* Process messages and commands */ while (1) { /* Set the file descriptors for select */ FD_ZERO (&readset); FD_SET (keybfd, &readset); maxfd = keybfd; /* Wait for a key to be pressed, or the inactivity interval to expire */ tv.tv_sec = 1; tv.tv_usec = 1 % 1000000; rc = select (maxfd + 1, &readset, NULL, NULL, &tv); if (rc < 0 ) { if (errno == EINTR) continue; fprintf (stderr, "HHCPN004E select: %s\n", strerror(errno)); break; } fprintf(confp, "rc=%d,readset={%8.8X,%8.8X}\n", rc, readset.fds_bits[0], readset.fds_bits[1]); fflush(confp); /* If keyboard input has arrived then process it */ if (FD_ISSET(keybfd, &readset)) { /* Read character(s) from the keyboard */ kblen = read (keybfd, kbbuf, kbbufsize-1); fprintf(confp, "kblen=%d\n", kblen); if (kblen < 0) { fprintf (stderr, "HHCPN005E keyboard read: %s\n", strerror(errno)); break; } kbbuf[kblen] = '\0'; fprintf(confp, "kbbuf[0-%d]=", kblen); for (i = 0; i <= kblen; i++) { fprintf(confp, "%2.2X", kbbuf[i]); if (i < kblen) fprintf(confp, ","); } fprintf(confp, "\n"); /* Process characters in the keyboard buffer */ for (i = 0; i < kblen; ) { /* Process backspace character */ if (kbbuf[i] == '\b' || kbbuf[i] == '\x7F') { if (cmdoff > 0) { int j; for (j = cmdoff-1; j 5) { return; } break; } /* Append the character to the command buffer */ if (cmdoff < CMD_SIZE-1) { if (cmdoff < cmdlen) { int j; for (j=cmdlen-1; j>=cmdoff; j--) cmdline[j+1] = cmdline[j]; cmdline[cmdoff++] = kbbuf[i]; } else cmdline[cmdoff++] = kbbuf[i]; cmdlen++; } i++; } /* end for(i) */ } } /* end while */ return; } /* end function xterm_display */ int main(int argc, char *argv[]) { xterm_display(); if (ttyreset) { /* Restore the terminal mode */ tcgetattr (STDIN_FILENO, &kbattr); kbattr.c_lflag |= (ECHO | ICANON); tcsetattr (STDIN_FILENO, TCSANOW, &kbattr); } return(0); } __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From alexander.gottwald@s1999.tu-chemnitz.de Sat Apr 30 18:09:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sat, 30 Apr 2005 18:09:00 -0000 Subject: ssh -Y is not an option In-Reply-To: <1114804768.4272922043ba8@cubmail.cc.columbia.edu> References: <1114804768.4272922043ba8@cubmail.cc.columbia.edu> Message-ID: On Fri, 29 Apr 2005 ab2540@columbia.edu wrote: > Hi > I'm trying to run some apps on our unix server remotely from a > windows XP box running cygwin/X. I have read and re-read all the > posts and troubleshooting guides. First ssh -Y is not accepted as > an option in the openssh I have installed second even following all > the instructions I get the following -Y is supported by OpenSSH starting with version 3.8. For older versions -X is equivalent. > $ DISPLAY=windows-jferrera:0.0 ssh -X nimbus > abarnes@nimbus's password: > Warning: No xauth data; using fake authentication data for X11 > forwarding. > Last login: Fri Apr 29 15:44:14 2005 from windows-jferrer > > As I said ssh -Y just gives > $ DISPLAY=windows-jferrera:0.0 ssh -X nimbus > abarnes@nimbus's password: > Warning: No xauth data; using fake authentication data for X11 > forwarding. > > Any clues ? So what. This is just a warning. If you want to know more read man Xsecurity bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Sat Apr 30 18:14:00 2005 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sat, 30 Apr 2005 18:14:00 -0000 Subject: startx hanging - startup problem located In-Reply-To: References: Message-ID: On Fri, 29 Apr 2005, martouf . wrote: > thanks! I did try, and it behaved like this: > > 1. with "-kb" (kb ext disabled) it starts up just fine. > > 2. without "-kb" it 'hangs' with sh consuming >90% CPU right after the > 'Rules' line. Ending the sh process causes XWin to wake back up and > finish starting up then runs just fine. Just as expected. The forked xkbcomp does still hang forever. > // any chance at all what I'm seeing has something to do with the > EINTR || ECHILD possibility above? Even then the xserver should continue. But it appears to be waiting for the child which never exits properly. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723