Re: setup PATH variable by PATH=%PATH:/usr/X11R6/bin
The statement should read: PATH=%PATH%:/usr/X11R6/bin Note the trailing % on PATH. That is a Windowism. On Thu, 01 Sep 2005 12:33:23 -0400 (EDT), PoWah Wong wrote: I want to setup my PATH variable by following the instructions of Chapter 4. Using Cygwin/X, section startx at http://x.cygwin.com/docs/ug/using.html. After doing PATH=%PATH:/usr/X11R6/bin my original path is lost. I use windows XP SP2. Log is: [EMAIL PROTECTED] ~ $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdri ve/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.2_07/bin:/cy gdrive/c/apache-ant-1.6.2/bin:/cygdrive/c/Program Files/cvsnt:/cygdrive/c/Progra m Files/Microsoft Visual Studio/Common/Tools/WinNT:/cygdrive/c/Program Files/Mic rosoft Visual Studio/Common/MSDev98/Bin:/cygdrive/c/Program Files/Microsoft Visu al Studio/Common/Tools:/cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bi n [EMAIL PROTECTED] ~ $ PATH=%PATH:/usr/X11R6/bin [EMAIL PROTECTED] ~ $ echo $PATH %PATH:/usr/X11R6/bin [EMAIL PROTECTED] ~ $ __ Find your next car at http://autos.yahoo.ca -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: AW: AW: AW: AW:
Antwort: Antwort: Antwort: Antwort: It's German for Reply, and the German shorthand for RE: On Thu, 19 May 2005 10:00:26 -0400, Andrew Schulman wrote: What the hell is that?
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: I have some problems whit my cygwin/x.
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 +, 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/
Re: Problem Starting Xterm
How are you starting your xterm? Are you giving it the -display option (xterm -display :0 )? On Tue, 16 Nov 2004 13:40:53 +, Kevin Piotrowicz wrote: Hi, I have just installed cygwin on WIN XP, with the all xorg packages installed. But not the xfree86 ones because they say removed package beside them - which I take to mean they are deprecated? Anyway by using either startxwin.bat startx or startxwin.sh, the xwin program starts and has the black X in the system tray it doesn't seem frozen as I can toggle hiding it if I want, but no xterm starts, and when I try to manually start one using just the command xterm the response is: xterm Xt error: Can't open display: Could someone help me with this? Thanks Kevin
Re: WMaker 0.90 broken?
Well, it does seem to be a font issue. I used setup, and did a re-install of a couple of x11 font packages and everthing seems to be working just fine. On a side note, ipc-daemon2 does not seem to provide whatever is needed by MIT-SHM, as I get that message, whether I have ipc-daemon2 started or not. I also think it's not a goodness that using setup to handle an upgrade breaks the fonts package(s) and causes system failures But then, that's just my opinion, and as we all know, opinion are like rear-ends Everyone has one, and they are usually all full of .. On Tue, 16 Nov 2004 09:59:01 +0100 (MET), Alexander Gottwald wrote: On Mon, 15 Nov 2004, Mark Paulus wrote: Xlib: extension MIT-SHM missing on display :0.0. Does window maker require SHM? Maybe you should consider running cygserver for shared memory support. wmaker warning: could not load font: helvetica:slant=0:weight=100:pixelsize=12. wmaker warning: could not load font: helvetica:xlfd=-*-helvetica-bold-r-normal-* -12-*-*-*-*-*-*-*:slant=0:weight=200:pixelsize=12. wmaker warning: could not load any fonts. Make sure your font installation and l ocale settings are correct. The font should be installed with the xorg-x11-fnts packages. Please verify that the font is available: $ xlsfonts -fn -*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-* should print about 30 entries. If it does not then do $ rm /usr/X11R6/lib/X11/fonts/75dpi/fonts.dir $ font-update wmaker fatal error: could not initialize WINGs widget set wmaker fatal error: it seems that there is already a window manager running This does not seem to be related to the font issue. Are you sure there is no other window manager running? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
WMaker 0.90 broken?
I just did an cygwin upgrade, hoping to get the latest cygwin1.dll. Got a whole bunch more than that, including wmaker 0.90. However, after doing the upgrade, wmaker seems to be broken. (Mind you, everything was working before I upgraded, then after I upgraded, it broke.) Here is the output from running startx: $ startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.1.0-5 Contact: [EMAIL PROTECTED] XWin was started with the following command line: X :0 -clipboard 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/ winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winFinishScreenInitFB - Masks: 00ff ff00 00ff MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 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/TTF/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 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/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 636 496 winProcEstablishConnection - Hello cat: /home/Mark.Paulus/.Xauthority: No such file or directory winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. Xlib: extension MIT-SHM missing on display :0.0. wmaker warning: could not load font: helvetica:slant=0:weight=100:pixelsize=12. wmaker warning: could not load font: helvetica:xlfd=-*-helvetica-bold-r-normal-* -12-*-*-*-*-*-*-*:slant=0:weight=200:pixelsize=12. wmaker warning: could not load any fonts. Make sure your font installation and l ocale settings are correct. wmaker fatal error: could not initialize WINGs widget set wmaker fatal error: it seems that there is already a window manager running waiting for X server to shut down winClipboardProc - Call to select () failed: - 1. Bailing. winClipboardProc - XDestroyWindow succeeded. winDeinitMultiWindowWM - Noting shutdown in progress [EMAIL PROTECTED] ~ === Here is the XWin.log: $ cat /tmp/XWin.log Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.1.0-5 Contact: [EMAIL PROTECTED] XWin was started with the following command line: X :0 -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 1024 winInitializeDefaultScreens - Returning (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/ 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: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 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/100dpi/, removing from list! winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully
Re: Can't get startwin.bat to work
Have you tried to open up a cygwin shell, and then starting up an xterm, to see if it might just be there, awaiting connections? If you open in multiwindow mode (native mode by default), then I wouldn't expect anything to happen until your X Server actually has a client window to display. open up a cygwin bash shell, make sure your DISPLAY is set, or give the -display option to some xclient (xterm, xclock, etc), and see if it pops up on your desktop. On Wed, 10 Nov 2004 04:49:47 -0800 (PST), Mike McCollister wrote: I have been using cygwin for years and the X client under cygwin for about a year. In order to get X to work, I have to make sure that I am running bash and then run startxwin.sh to get it to work. Well, I've been trying to get it to work with just startxwin.bat but I am not successful. It seems to have a problem with the run commands. Here are the run commands: run XWin -clipboard -silent-dup-error run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash -l I do have cygwin installed in c:\progra~1\cygwin and I have modified startxwin.bat so that SET CYGWIN_ROOT=c:\progra~1\cygwin The last time I updated anything in cygwin as last week (first week of November). Does anyone know how to get the startxwin.bat to work? Just a little more background. When I mean that it does not work, I mean that the X shows up as an icon next to the clock but nothing else happens. If I right click on the X, nothing happens. I have to use the Task Manger to kill XWin.exe. Thanks, Mike __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com
xtermcontrol --deiconify/--raise/--lower don't work in multiwindow mode
Hi, I have been working with the author of xtermcontrol to get it working nicely under Cygwin, and it seems to be working except for 3 issues I have noticed. (And I only noticed them as a fluke). Normally I run my X in fullscreen mode, using wmaker as my WindowManager. When I make xtermcontrol, and then do a 'make test', all the tests run as expected, and to completion. HOWEVER, when I get rid of .xserverrc and .xinitrc, and then do startx using native multiwindow mode, 'make test' does not quite work as expected. All color mappings work, but I have noticed that --deiconify, --raise and --lower do not have any effect. I was going to see if I could figure out where what's broken, but the X base is so huge, I'm not sure where to even start looking. Could someone look into this and see if these are broken, or could they point me to the proper place in the code base to look for myself? Thanks.
Re: BScreen::BScreen: an error occcurred while querying the X server
Do you have a .xinitrc that is starting a window manager? If you want to use startx and want to use a window manager via .xinitrc (such as fvwm2 or wmaker), then you also need to add a .xserverrc that invokes XWin WITHOUT the multiwindow option: e.g. $ cat .xserverrc exec X :0 -clipboard $ cat .xinitrc exec wmaker On Fri, 24 Sep 2004 11:59:09 -0400, [EMAIL PROTECTED] wrote: Hello, Am having difficulty getting this email through. I installed cygwin per a the web site's and a Professor's instructions. In startx, got BScreen::BScreen: an error occured whil querying the Xserver. another window manager already running on display:0.0. Openbox: no managable screens found aborting ...attached is the XWin.log. Thank you, Brian Ammon
Problem with port of xtermcontrol
Hi, I am trying to get xtermcontrol working under cygwin, and have had some limited success. First off, to get past the initial configure issues, I ran configure on a linux box, and then brought over the entire directory tree to my cygwin box, and hand modified the Makefiles to use the proper cygwin libraries for compiling/linking. That being said, I have had limited success with the port. I can use xtermcontrol to set attributes (--fg, --bg, etc). HOWEVER.. When I try to retrieve the current values, it seems to hang. (--get-fg, --get-bg). The issue seems to be the read statement in tty_read(). They hang, and never see the response coming back. I have tried doing a direct echo ^VESC]13 to the console, and I can see the response string come back. Does anyone know why the read is hanging, and what needs to be done to correct this issue? I like the idea of this app to change my screen based upon the system I login to (So that I can easily see when I'm logged into a production machine, or a QA machine). Thanks.