This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

X server fails to start


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

Attachment: cygcheck.out
Description: Binary data

Attachment: XWin.0.log
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]