Robert Neville wrote on Thursday, May 10, 2007 10:07 PM::
> After reinstalling X and all fonts, I mounted the font path and still
> receive this error.
>
> Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
> removing from list!
This is not an error, it is just a warning. If you had searched the
archive you would have known this. Everyone will get this in their
log unless they've explicitly installed fonts into the CID directory.
Your problem has nothing to do with fonts.
> winProcSetSelectionOwner - Clipboard not yet started, aborting.
> winProcSetSelectionOwner - Clipboard not yet started, aborting.
> winClipboardProc - winClipboardFlushWindowsMessageQueue trapped
> WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow
> succeeded.
>
> winClipboardIOErrorHandler!
This appears to be your problem. My guess is that either:
a) something is trying to communicate with the X clipboard before
it has finished its initialisation. If this is the case, you might
find my version of startxwin.bat useful (attached, just save & rename
it). This waits for a key line to appear in the XWin log file before
trying to launch any client programs.
b) you have some firewall/antivirus/other software that is interfering
with the communication with the X clipboard. The advice is generally
to uninstall such software. Just disabling them still leaves them
hooked into the system. Dave Korn has been compiling a list of the
known offenders in the cygwin-talk thread "The Big List of Dodgy Apps".
Search the mail archives to see if you have any of the mentioned
programs.
If none of the above works, you could always try the obsolete xwinclip,
which is a standalone clipboard handler. To install it via cygwin
setup, you need to uncheck the "hide obsolete and administrative
packages" option. To use it, you need to remove the -clipboard option
from the XWin command line, start the X server, then enter the command
"run xwinclip". This is not particularly reliable, and IIRC some key
changes regarding data conversion are missing from it, but at least
when it crashes, it doesn't cause X to die too. Note that because
this package is obsolete (and has been for quite some time), you
cannot expect any support for it.
HTH,
Phil
@echo off
SET DISNO=0
SET DISPLAY=127.0.0.1:%DISNO%.0
REM
REM The path in the CYGWIN_ROOT environment variable assignment assume
REM that Cygwin is installed in a directory called 'cygwin' in the root
REM directory of the current drive. You will only need to modify
REM CYGWIN_ROOT if you have installed Cygwin in another directory. For
REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need
REM to change \cygwin to \foo\bar\baz\cygwin.
REM
REM This batch file will almost always be run from the same drive (and
REM directory) as the drive that contains Cygwin/X, therefore you will
REM not need to add a drive letter to CYGWIN_ROOT. For example, you do
REM not need to change \cygwin to c:\cygwin if you are running this
REM batch file from the C drive.
REM
SET CYGWIN_ROOT=C:\cygwin
SET CYGWIN_TMP=C:\cygwin\tmp
SET CYGWIN_USR=C:\cygwin\usr
SET PATH=%CYGWIN_USR%\X11R6\bin;%CYGWIN_ROOT%\bin;%CYGWIN_USR%\local\bin;%PATH%
SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt
SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
SET XNLSPATH=/usr/X11R6/lib/X11/locale
REM
REM Cleanup after last run.
REM
if not exist %CYGWIN_TMP%\.X11-unix\X%DISNO% goto CLEANUP-FINISH
attrib -s %CYGWIN_TMP%\.X11-unix\X%DISNO%
del %CYGWIN_TMP%\.X11-unix\X%DISNO%
:CLEANUP-FINISH
if exist %CYGWIN_TMP%\.X11-unix rmdir %CYGWIN_TMP%\.X11-unix
REM
REM The error "Fatal server error: could not open default font 'fixed'" is
REM caused by using a DOS mode mount for the mount that the Cygwin/X
REM fonts are accessed through. See the Cygwin/X FAQ for more
REM information:
REM http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof
REM
if "%OS%" == "Windows_NT" goto OS_NT
REM Windows 95/98/Me
echo startxwin.bat - Starting on Windows 95/98/Me
goto STARTUP
:OS_NT
REM Windows NT/2000/XP/2003
echo startxwin.bat - Starting on Windows NT/2000/XP/2003
:STARTUP
REM Brief descriptions of XWin-specific options:
REM
REM -engine engine_type_id
REM Override the server's automatically selected engine type:
REM 1 - Shadow GDI
REM 2 - Shadow DirectDraw
REM 4 - Shadow DirectDraw4 Non-Locking
REM 16 - Native GDI - experimental
REM -screen scr_num [width height]
REM Enable screen scr_num and optionally specify a width and
REM height for that screen.
REM Most importantly, any parameters specified before the first -screen
REM parameter apply to all screens. Any options after the first -screen
REM parameter apply only to the screen that precedes the parameter.
REM Example:
REM XWin -fullscreen -screen 0 -screen 1 -depth 8 -screen 2
REM All screens will be fullscreen, but sc