Getting KDE3.1.1 Beta to work on Cygwin and Windows XP


Problem

I had problems with getting KDE to run on Windows XP
Error was something to do with the .DCOPServer not reading the correct number of bytes

Cause

Drives were not mounted in binmode

Resolution

Edit the registry to change the options of all the mounts to binmode
The values to change are "cygdrive flags" and "flags"
Use a REG_DWORD value of "0x0a"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2]
"cygdrive prefix"="/cygdrive"
"cygdrive flags"=dword:00000008

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/]
"native"="C:\\cygwin"
"flags"=dword:00000008

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/opt/kde3]
"native"="C:\\cygwin\\opt\\kde3"
"flags"=dword:0000000a

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin]
"native"="C:\\cygwin/bin"
"flags"=dword:00000008

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib]
"native"="C:\\cygwin/lib"
"flags"=dword:00000008

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts]
"native"="C:\\cygwin\\usr\\X11R6\\lib\\X11\\fonts"
"flags"=dword:0000000a

What you will see when you have it right

james@amd ~
$ mount
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)
C:\cygwin\opt\kde3 on /opt/kde3 type system (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode)
d: on /cygdrive/d type system (binmode)

[email protected]