![]() |
||
|
This frequently answered questions are collected from the kde-cygwin mailing list and the kde-cygwin related sourceforge foren. If you don't find an answer for your problem here, please take a look directly into the mailing list and/or the foren. Index Configuration
Troubleshooting
KDevelopConfigurationI don't like to use the whole desktop, only single kde applications. How do I do that ?Running kde applications without the desktop requires running some basic application like shown below:ipc-daemon2 & Xwin -multiwindow & kdeeinit --no-kded --nofork &After that you can run any kde application
kwrite --nofork & This prevents that kwrite forks itself into the background and release the shell, which is very time consuming. Instead it instructs the shell to run the application independing from the shell, which goes much faster. (I have measured 50% lower startup times for kicker) Please note, that the --nofork isn't supported by all applications, konqueroer for example does not switch itself into the background by default, so you have to start it with: konqueror & How do I move/copy a cygwin-kde installation to another computer ?The regular procedure is splited into two parts. Please note that this will only work between WinNT,Win2K and WinXp, not between one of this and Wi n 9x.
How do I configure Printing in kde ?Printing support in kde-cygwin is currently performed with the ghostscript package.
An example of the used printing script is listed below: $ cat >/opt/kde3/bin/cygprint #!/bin/sh PRINTER="\\\\server\\share" #PRINTER="lpt1:" PRINTER_TYPE=deskjet PAPER_SIZE=a4 LOG_FILE=/var/log/cygprint.log echo $0 $* >>$LOG_FILE if test -z "$1"; then echo "usage $0 The default kde fonts looks very ugly - How could I use Windows True Type fonts ?Install the Windows True Type fonts with the KControl font installer module.You should change your current cygwin user to root (old) Habacker:unused_by_nt/2000/xp:11002:10545:....:/home/Habacker:/bin/bash (new) Habacker:unused_by_nt/2000/xp:0:0:....:/home/Habacker:/bin/bash
Does font anti-aliasing works ?Currently no, but a good workaround is to use the Windows true type fonts. See topic \faqref[truetype].How do I run a minimal KDE 3 ?After you have installed the latest qt and KDE release you can start a minimal KDE 3 with the following commands (for KDE >= 3.1.4):export SHELL=/bin/bash ipc-daemon2 & XWin -multiwindow -clipboard & kdeinit +kcminit & kicker & (optional) ... &No you can start any kde application from the bash shell by using the following command: where TroubleshootingI get an error message "*** unable to remap ... to same address as parent" What could I do ?This error indicates an dll loading problem while forking a cygwin process. This problem could be solved by using the rebaseall utility of the rebase package which is written by Jashon Tishler (application) and RalfHabacker (rebasing related win32 imagehelp libary replacement for all cygwin supported platforms).To fix this problem please install the rebase utility through the cygwin installer (if not already present), stop all cygwin processes but bash and run the following command (add -v if you like to get a detailed list of the performed actions): $ rebaseall [-v]This command searches all installed dll's and take care, that dll's does have uniq base addresses. Windows XP note:
It may be required to restart your computer due to a problem with the windows dll cache. If some of your cygwin applications does not work as before rebasing, please restart. Why must I run rebaseall after a clean install ?This rebaseall command gives each cygwin related dll a uniq base address to ensure an ordered dll loading in a process memory area.By default the linker gives all dll's the same base address (0x10000000), which could result in a "unable to remap" problem, when a cygwin process tries to fork a child process. BTW: I have heard, that this rebasing task is also done by other windows installer, but they don't tell about this. The cygwin window I used to kick off KDE is outputting that it can't load a library, is that normal?kdeinit, kde's application launcher process starts application by forking itself and loading the required application located in a shared library to reduce memory consumption and startup time.If kdeinit does not find such a dll, it prints out the informational message "Could not load library! Trying exec....", then it tries to fork and exec the required application directly. Why do I get the message "It looks like dcopserver is already running.." ?Sometime users experienced the following message: --------------------------------- It looks like dcopserver is already running. If you are sure that it is not already running, remove /home/de067018/.DCOPserver_minniti_127.0.0.1_0 and start dcopserver again. --------------------------------- This error indicates that the dcopserver is still running probably from a previous KDE session. This could happen if one have started KDE before and the session is broken by unusually user intervention lilke killing the xserver or an internal failure (remember KDE is of beta quality). In mostly cases you can fix this by starting KDE again. If this does not help open the task manager and kill the dcopserver process. Why do I get the message "DCOPClient::attachInternal. Attach failed Authentication Rejected" ?This may be file access problem in your home directory. See the relating thread in the kde-cygwin mailing list AW: DCOPClient errors in WinXP for further informations. Why do I get the message "Error reading from /home/.../.DCOPserver_..._127.0.0.1_0, didn't read the expected .. bytes" ?This error message is caused by a text mounted entry in the cygwin mount table. Make sure, that the root dir is mounted in bin mode.See the following example, which shows a text mounted root path: $ 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 (textmode) ^^^^^^^^ Change the mount mode to binary with the following commands: $ cd c:/cygwin/bin (or wathever your cygwin root dir is) $ umount -s / $ mount -s -b c:/cygwin / Why do I get the message "cygheap_fixup_in_child: Couldn't reserve ... bytes of space for cygwin's heap ..." ?If you got an error message similar to:... cygheap_fixup_in_child: Couldn't reserve 9891792 bytes of space for cygwin's heap (0x61810000 < 0x6C0000 >) in child, Win32 error 487 c:\cygwin\....exe (3684): *** m.AllocationBase 0x0, m.BaseAddress 0x61810000, m.RegionSize 0x1B0000, m.State 0x10000this indicates mostly a rebase problem. Cygwin tries to reserve an amount of memory on top of the address area of the cygwin1.dll. If this area is already allocated by another dll or shared memory segment, the allocation fails and the above mentioned error is raised. You can fix this problem by rebasing all cygwin related dll's with a base address below the cygwin1.dll itself. rebaseall -b 0x61000000 Why do I get the error message "The application failed to initialize properly 0xc0000005)..." when running applications I have self compiled ?This error indicates a problem of the ld auto-import support and newer gcc releases using readonly variables. To avoid this problem you should uses a recent qt/cygwin releases (>3.3.3), which contains all required support (see mkspecs/cygwin-g++) or add the required stuff by hand:
With cygwin 1.5.5-1 starting the small KDE desktop works, but starting full KDE hangs - What could I do ?Is seems that cygwin 1.5.5-1 contains a bug, which lets kcminit hangs. Currently three workarounds are known:
After running startkde.bat under windows 9x I got the following messages: Out of environment space - What can I do ?The W9x dos shell default environment space is to small for kde. To extend see Microsoft Knowledge Base Article - 230205.I have installed the KDE3 devel setup package, but I cannot find any *.dll.a files in the kde's lib dir. What's going wrong ?The *.dll.a files are so-called "import libraries" for the linker and are symbolic links to the related dll. It seems that the inno setup compiler is not able to deal with symbolic links. I will see how this could be fixed in further releases. A workaround is to use the following sh script, which recreates the necessary links. Enter /opt/kde3/bin before running it. for i in `ls *.dll`; do cd ../lib; j=`echo $i | sed \ "s,-[0-9.-]*dll,.dll,g;s,cyg,lib,g"`; ln -fs ../bin/$i $j.a; cd ../bin ; \ done How do I debug the KDE3 start procedure in case of problems ?Requirements:
Lets start:
If any of this messages are not printed or looks different, than you have a problem with this step, for which you should search the mailing lists or the foren. I've got a message about a missing file 'cygpng12.dll' - What could I do ?That means you haven't installed one of the needed cygwin base packages. You should start again the cygwin installer and install the libpng12 packages. General hint: If you are missing a file and don't know to which package it belongs, enter it's name on http://cygwin.com/packages. Then it prints out the package(s) where this file belongs. KDevelopI can't create a new project - what's going wrong ?This could be a packaging issue. Try the following command (requires an installed perl package) after installation of kdevelop:cd /opt/kde3/share/apps/kdevappwizard/ for i in ` grep -sHr kdevelop-3.0.0-r8 * | sed 's,:#!.*,,g'` ; do echo $i; \ perl -pi -e "s,/var/tmp/portage/kdevelop-3.0.0-r8/image/,,g" $i; done
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hosted by |