This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: cut and paste xfree <-> windows
On Fri, Jan 02, 2004 at 10:48:42PM +0000, Chris Green wrote:
> I have finally got it working, my start up .BAT file to run an xdmcp
> connection is as follows:-
>
> SET DISPLAY=192.168.13.25:0.0
>
> SET REMOTE_HOST=192.168.13.1
>
> SET CYGWIN_ROOT=\cygwin
>
> SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%
>
>
> REM Cleanup after last run.
>
> 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
>
> echo startxdmcp.bat - Starting on Windows NT/2000/XP
>
> start /B XWin -query %REMOTE_HOST%
> sleep 10
> start /B xwinclip
>
>
> That sleep between starting XWin and xwinclip seems to be necessary
> but now it does seem to work reasonably reliably. I have fixed IP
> addresses for the machines on my home network so the 192.168.13.25
> will always be the same for the win2k machine.
>
Plus the other little (but vitally important) bit, an /etc/X0.hosts
file containing:-
192.168.13.25
--
Chris Green (chris@areti.co.uk)