Mario, After launching XWin and before launching xterm, you need to:
export DISPLAY=127.0.0.1:0.0 This is why you should really be using startxwin.bat or startxwin.sh, as outlined in the Cygwin/XFree86 User's Guide. http://xfree86.cygwin.com/docs/ug/using.html#using-starting Harold > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Mario Ohnewald > Sent: Thursday, August 01, 2002 3:23 AM > To: [EMAIL PROTECTED] > Subject: RE: newbie - export X(-Applications) from Linux Server > > > Hello! > > Mario, > > > > From what I know, doing this doesn't always work: > > > install@MUNICH ~ > > > $ cd /usr/X11R6/bin > > > > > > install@MUNICH /usr/X11R6/bin > > > $ ./XWin.exe & > > > [1] 108 > > > > > > install@MUNICH /usr/X11R6/bin > > > $ ssh -X [EMAIL PROTECTED] > > > [EMAIL PROTECTED]'s password: > > > Last login: Sat Jan 5 06:42:18 2002 > > > Have a lot of fun... > > > dex@linuxserver:~> xclock > > > > What you need to do instead is: > > install@MUNICH ~ > > $ cd /usr/X11R6/bin > > > > install@MUNICH /usr/X11R6/bin > > $ ./XWin.exe & > > > > install@MUNICH /usr/X11R6/bin > > $ ./xterm.exe & > > > > I did that, and thats what i get: > > install@MUNICH /usr/X11R6/bin > $ ./xterm.exe > ./xterm Xt error: Can't open display: > > ;/ > here is the logfile: > ------------------------- > install@MUNICH /tmp > $ cat XWin.log > OsVendorInit - Creating bogus screen 0 > winInitializeDefaultScreens - w 1152 h 864 > winInitializeDefaultScreens - Returning > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > (EE) Unable to locate/open config file > Error reading config file > winDetectSupportedEngines - Windows NT/2000/XP > winDetectSupportedEngines - DirectDraw installed > winDetectSupportedEngines - Allowing PrimaryDD > winDetectSupportedEngines - DirectDraw4 installed > winDetectSupportedEngines - Returning, supported engines 0000001f > InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 > winSetEngine - Using Shadow DirectDraw NonLocking > winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per > pixel > winCreateBoundingWindowWindowed - Initial w: 1152 h: 864 > winAdjustForAutoHide - Original WorkArea: 0 0 811 1152 > winAdjustForAutoHide - Adjusted WorkArea: 0 0 811 1152 > winCreateBoundingWindowWindowed - WindowClient w 1146 h 786 r > 1146 l 0 b 786 > t 0 > winCreateBoundingWindowWindowed - Returning > winAllocateFBShadowDDNL - lPitch: 2292 > winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f > winInitVisualsShadowDDNL - Masks 0000f800 000007e0 0000001f BPRGB > 6 d 16 bpp > 16 > winCreateDefColormap - Deferring to fbCreateDefColormap () > winScreenInit - returning > (EE) No primary keyboard configured > (==) Using compiletime defaults for keyboard > Rules = "xfree86" Model = "pc101" Layout = "us" Variant = > "(null)" Options = > "(null)" > > Now, from the xterm in Cygwin/XFree86 (you are getting a > > Cygwin/XFree86 > > window, right? If not something else is broken and you need > > to send in > > /tmp/XWin.log) run the ssh command: > > [xterm window] > > install@MUNICH /usr/X11R6/bin > > $ ssh -X [EMAIL PROTECTED] > > > > Now you can run xclock and it should work. > > > > Harold > > > > Cheers! > Mario >
