X server fails to start
Csaba Raduly
rcsaba@gmail.com
Thu Dec 17 13:48:00 GMT 2009
X used to work for quite a while but now it doesn't. The X icon
appears and disappears.
It seems to have developed a fixation with "another window manager",
according to the log. Not even a reboot helps.
Here's startxwin.bat (in C:\cygwin17\bin)
@echo off
SET DISPLAY=127.0.0.1:0.0
REM SET CYGWIN_ROOT=C:\cygwin
if defined CYGWIN_ROOT goto :OK
set CYGWIN_ROOT=%~dp0..
:OK
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/bin
SET PATH=%CYGWIN_ROOT%\bin;%PATH%
SET XAPPLRESDIR=
SET XCMSDB=
SET XKEYSYMDB=
SET XNLSPATH=
REM
REM Cleanup after last run.
REM
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
del %CYGWIN_ROOT%\tmp\.X*-lock
REM
REM Startup the programs
REM
REM Startup the X Server with the integrated Windows-based window manager.
REM WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard''
REM command-line parameter for XWin. Doing so would start two clipboard
REM managers, which is never supposed to happen.
REM Description of XWin-specific options is in XWin(1) manpage.
%RUN% bash -l -c "XWin -multiwindow -clipboard -silent-dup-error
-multiplemonitors"
REM Make sure XWin is ready to accept connections before proceeding
%RUN% checkX -wait -d %DISPLAY% -t 12
REM Startup an xterm, using bash as the shell.
REM %RUN% xterm -e /usr/bin/bash -l
Oddly, the stock startx works with the following command line:
startx -- -multiwindow -clipboard -silent-dup-error -multiplemonitors
Csaba
--
Life is complex, with real and imaginary parts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 79133 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20091217/0b9899a6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XWin.0.log
Type: application/octet-stream
Size: 8303 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20091217/0b9899a6/attachment-0001.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
More information about the Cygwin-xfree
mailing list