Re: [K12OSN] Cygwin start up question

Stephen Liu (satimis@writeme.com)
Sun, 15 Sep 2002 13:34:52 +0800


Hi Stefan,

Thanks for your advice.

I suppose the problem is "I can't get WinXP and LTSP server connected"
Installation of Cygwin (XFree86 selected) went through without complaint 
and found

\cygwin\bin\mount.exe
\cygwin\bin\cygwin1.dll
\cygwin\bin\cygz.dll
\cygwin\usr\X11R6\bin\startxwin.bat

(Remark: *.xkm files, xfs can't be found)


I carried out following tests
====================

1) copy \cygwin\usr\X11R6\bin\startxwin.bat

edit the line "start XWin -query 192.168.0.254 -once"
(192.168.0.254 is the IP address of LTSP server)

rename and save it as \cygwin\usr\X11R6\bin\startLTSPterm.bat

On WinXP explorer click "startLTSPterm.bat" starting an empty 
"Cygwin/XFree86" window


2) Create a new directory  \cygwin\CYG-NEW

copy  mount.exe, cygwin1.dll, and cygz.dll  to  \cygwin\CYG-NEW\

create   \cygwin\CYG-NEW\CYG.bat

copy

" cd cygwin\CYG-New
rem copy de.xkm %temp%
mount.exe -b %temp% /tmp
..\CYG-New\XWin.exe -query 192.168.0.254 -once"

to  \cygwin\CYG-NEW\CYG.bat

On Window Explorer \cygwin\CYG-NEW\  click  CYG.bat starting an empty 
"Cygwin/XFree86" window

In  "C:\Windows\System32\cmd.exe"  window showing
The system cannot find the drive specified.
The system cannot find the path specified.
mount: /tmp: Mount device busy


3) On WinXP ping 192.168.0.254 and on LTSP server ping 192.168.0.1 showing 
they are connected and being connected respectively.  But on WinXP 
ping  server.ltsp (name of LTSP server) and on LTSP ping M40G (name of 
WinXP) show no connection.

Any comment?  Thanks in advance.

Stephen Liu




At 05:57 PM 9/14/2002 +0200, Stefan Furtmayr wrote:
>Hello,
>
>by the way, there is a simpler method to connect to an LTSP server than
>using the Cygwin batch file, i've documented it at
>http://k12ltsp.org/faq.html#x
>
>An updated version of this text which will be uploaded the next few days:
>
>----------------------------------------------------------------------------
>----
>Q: How can i connect to K12LTSP with a machine that needs to run non-Linux
>apps locally?
>
>A: Install an open source X server:
>
>- MI/X for Mac OS 9.x (http://www.microimages.com/freestuf/mix/macindex.htm)
>- Java: WeirdX (http://www.jcraft.com/weirdx/)
>- Windows: Install Cygwin (http://www.cygwin.com/setup.exe) and select
>XFree86 (http://cygwin.com/xfree/).
>
>Installation on a network drive is possible. With the simple batch file
>below no installation is required on the other machines! A shortcut is not
>enough because XWin.exe will not start without /tmp mounted - this is
>automatically set in registry with a local installation.
>
>@echo off
>x:
>cd cygwin\bin
>rem copy de.xkm %temp%
>mount.exe -b %temp% /tmp
>..\usr\X11R6\bin\XWin.exe -fullscreen -query server -once -fp
>tcp/server:7100
>
>Note that "-fp tcp/server:7100" will only be useful if you have enabled xfs
>(recommended).
>/usr/X11R6/lib/X11/fs/config: comment out "no-listen = tcp" and restart
>service
>
>Optional parameters
>(http://xfree86.cygwin.com/docs/ug/configure-cygwin-xfree-options.html):
>"-emulate3buttons" (for 2 button mice)
>"+kb -xkbmap de" for a German keyboard mapping (de.xkm must exist in %temp%,
>can be created on Linux with "xkbcomp -xkm -m de /etc/X11/xkb/keymap/xfree86
>/tmp/de.xkm")
>
>If you are happy with the performance of xfs and want to have a minimal
>XDMCP client, these are the only needed 4 files:
>http://ftp.inf.tu-dresden.de/software/windows/cygwin32/release/XFree86/XFree
>86-xserv/ (XWin.exe)
>http://ftp.inf.tu-dresden.de/software/windows/cygwin32/release/cygwin/
>(cygwin1.dll, mount.exe)
>http://ftp.inf.tu-dresden.de/software/windows/cygwin32/release/zlib/
>(cygz.dll)
>Mirrors: http://cygwin.com/mirrors.html
>Extract them for example with 7-Zip (http://www.7-zip.org/).
>
>Older alternative: http://sources.redhat.com/win32-x11/ (at least this
>XWin.exe is more verbose than the Cygwin version...)
>----------------------------------------------------------------------------
>----
>
>
>
>_______________________________________________
>K12OSN mailing list
>K12OSN@redhat.com
>https://listman.redhat.com/mailman/listinfo/k12osn
>For more info see 




_______________________________________________
K12OSN mailing list
K12OSN@redhat.com
https://listman.redhat.com/mailman/listinfo/k12osn
For more info see