Re: x -query help please
Jasper, Chris wrote: > The behavior is that a grey screen comes up in X. Normally I'd expect (and do > from other machines using cygwin) to see a blue screen with a login (from > redhat 9 as that is the OS on maple) screen. > > I have uninstalled cygwin and reinstalled many times. When uninstalling, I > run the uninstall portion of setup and when it is complete I delete the > Cygnus registry and delete c:\cygwin before attempting a install all. No > matter how many times I have tried uninstalling and reinstalling, I always > get this problem. > > Can anyone shed light on this? Most distributions install xdm, kdm or wdm (or whatever they use) in a pure local configuration. It will not accept or wait for any requests from the network. Check the FAQ. It describes how to enable network support for several XDMCP servers. bye ago NP: Grendel - EVP -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
x -query help please
Hello, I have installed cygwin on a PC with Windows XP sp1 and all other patches with norton AV corp and no firewall software turned on. I am attempting to x -query to a machine called maple. Here is the output on the cygwin screen: $ x -query maple 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 -query maple _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/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 16 bits per pixel winFinishScreenInitFB - Masks: f800 07e0 001f 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 )" (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! winPointerWarpCursor - Discarding first warp: 797 567 The behavior is that a grey screen comes up in X. Normally I'd expect (and do from other machines using cygwin) to see a blue screen with a login (from redhat 9 as that is the OS on maple) screen. I have uninstalled cygwin and reinstalled many times. When uninstalling, I run the uninstall portion of setup and when it is complete I delete the Cygnus registry and delete c:\cygwin before attempting a install all. No matter how many times I have tried uninstalling and reinstalling, I always get this problem. Can anyone shed light on this? thanks, cj - Chris Jasper Systems Administrator 408-531-2158
Re: compile in cygwin
Duong Duong wrote: > > I download an component buibded in linux and recopiled > it in cygwin but gcc showed somne errors. One of them > are the error in string.h file. > I attach this source code with this email. It is open > source VietNamese keyboard for linux. > Could you help me? Thanks This is a question about an X11 app, so it probably belongs on cygwin-xfree@cygwin.com and not on this list. >From the doc/manual in the tarball: - The system must have either en_US.UTF-8 or vi_VN.UTF-8 locale installed I believe that Cygwin does not have any locale support for anything but the default "C" locale, so it doesn't sound like it's going to work. That said it seems to compile okay for me with a few minor changes. I cannot test it, but I'll tell you what I did. First of all, I didn't get any errors about "string.h" so I suspect you're missing some -devel packages. At the very least you'll need xorg-x11-devel. Use the package search feature of the cygwin.com web site to find out what you're missing if you have to. Next, the program #defines a macro named _PTR which collides with the one of the same name in the libc include files. You will have to edit src/IMdkit/FrameMgr.h and src/IMdkit/i18nIMProto.c to rename _PTR to something else. I just called it _PTR2. You can do this with a command such as: perl -i.bak -pe 's/_PTR\(/_PTR2\(/' src/IMdkit/{FrameMgr.h,i18nIMProto.c} There's also a problem with the link order in src/xim/Makefile.am. The libIMdkit library links against some libX11 symbols and the linker will complain unless -lX11 comes after libIMdkit.la in the link command line. See attached patch. Finally you will need to edit src/gui/gui.c to replace WAIT_ANY in the call to waitpid() with -1. I think WAIT_ANY is a glibc-ism that's not portable. Now from the top level directory run "autoreconf --install --force --verbose", "./configure", and then "make". You should have everything built at this point. That is where I stopped, you're on your own from there on. Brian--- src/xim/Makefile.am 2005-03-07 00:38:36.78125 -0800 +++ src/xim/Makefile.am.orig2005-03-07 00:38:08.578125000 -0800 @@ -11,8 +11,8 @@ ukxim_CFLAGS = \ @X_CFLAGS@ ##ukxim_LDADD = ../IMdkit/libXimd.a ../ukengine/libUnikey.la -ukxim_LDADD = ../IMdkit/libIMdkit.la -lX11 ../ukengine/libUnikey.la ../vnconv/libvnconv.la -ukxim_LDFLAGS = @X_LIBS@ @X_PRE_LIBS@ +ukxim_LDADD = ../IMdkit/libIMdkit.la ../ukengine/libUnikey.la ../vnconv/libvnconv.la +ukxim_LDFLAGS = @X_LIBS@ @X_PRE_LIBS@ -lX11 EXTRA_DIST = install.sed uninstall.sed