Re XWin multiwindow clipboard
Harold L Hunt II
Wed Jan 29 05:39:00 GMT 2003
Well, your straightforward modification of startxwin.bat includes two
modifications that are neither straightforward nor allowed.
You changed DISPLAY=127.0.0.0:0.0 to DISPLAY=:0.0 and you told
XWin.exe -nolisten tcp. That is not a small change!
Both the Clipboard Manager and the MultiWindow Window Manager try to connect
to the local server via TCP/IP on 127.0.0.1:display.screen
One of my messages from a few days back says that we were changing from
connecting to (essentially) :0.0 to (essentially) 127.0.0.1:0.0. We did
that because UNIX domain sockets did not seem to be working correctly for
some users. Thus, you are going to have to drop the "-nolisten tcp". You
can keep DISPLAY=:0.0, but you have to get rid of "-nolisten tcp". You can
watch the mailing list to see if we ever change the CM and MWWM back to
connecting to :0.0.
That's all for now,
[mailto:email@example.com]On Behalf Of Raymond Kwong
Sent: Tuesday, January 28, 2003 11:43 PM
Subject: Re XWin multiwindow clipboard
I normally don't have xwinclip in my startup script. I just start it
if I need it. In any case, here is the startup script, a straightforward
modification of startxwin.bat:
REM SET DISPLAY=127.0.0.1:0.0
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 This batch file will almost always be run from the same drive (and
REM directory) as the drive that contains Cygwin/XFree86, 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 Cleanup after last run.
if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix
REM Startup the X Server, the twm window manager, and an xterm.
REM Notice that the window manager and the xterm will wait for
REM the server to finish starting before trying to connect; the
REM error "Cannot Open Display: 127.0.0.1:0.0" is not due to the
REM clients attempting to connect before the server has started, rather
REM that error is due to a bug in some versions of cygwin1.dll. Upgrade
REM to the latest cygwin1.dll if you get the "Cannot Open Display" error.
REM See the Cygwin/XFree86 FAQ for more information:
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/XFree86
REM fonts are accessed through. See the Cygwin/XFree86 FAQ for more
if "%OS%" == "Windows_NT" goto OS_NT
REM Windows 95/98/Me
echo startxwin.bat - Starting on Windows 95/98/Me
REM Windows NT/2000/XP
echo startxwin.bat - Starting on Windows NT/2000/XP
REM Startup the programs
REM Startup the X Server.
REM start XWin -multiwindow -clipboard
start XWin -multiwindow -nolisten tcp
REM Startup an xterm, using bash as the shell.
run xterm -sl 1024 -sb -font 9x15 -fg black -bg white
REM run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
REM Startup the twm window manager.
REM run twm
REM run openbox
REM Set a background color.
run xsetroot -solid aquamarine4
By the way, I am using Windows 2000, cygwin 1.3.19-1.
More information about the Cygwin-xfree