This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: newbie - export X(-Applications) from Linux Server


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: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald
> Sent: Thursday, August 01, 2002 3:23 AM
> To: cygwin-xfree@cygwin.com
> 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 dex@192.168.10.123
> >  > dex@192.168.10.123'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 dex@192.168.10.123
> >
> > Now you can run xclock and it should work.
> >
> > Harold
> >
>
> Cheers!
> Mario
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]