On 8/1/2013 7:19 AM, Angelo Graziosi wrote: > Charles Wilson wrote: >> Is there a way to test run-2.0? What is the syntax to replace: >> >> C:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe >> >> Sure: > > and how to replace > > C:\cygwin-2\bin\run.exe bash -l -c 'rm -rf /tmp/{.X*,dbus*,orbit*,*}; > XWin -nowgl -multiwindow -clipboard -silent-dup-error 2>/dev/null &' > > > (which works fine with run-1.2!) > > I have tried this: > > $ cat /home/angelo/XWinServer.xml > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:noNamespaceSchemaLocation="run2.xsd"> > > > > > -l -c 'rm -rf /tmp/{.X*,dbus*,orbit*,*}; XWin -nowgl > -multiwindow -clipboard -silent-dup-error 2>/dev/null &' > > > > > with this target in the link (.lnk): > > C:\cygwin-2\bin\run2.exe /home/angelo/XWinServer.xml Two errors: the extra semicolon after XMLSchema-instance, and you do need to use the '&' construction instead of '&'. See attached. (I'm not sure why you need & at all; unless it allows the bash shell to exit, where otherwise it would hang around?) FWIW, I've never tested run2 with multibyte UTF-8, so...you might be better off setting the encoding to us-ascii. -- Chuck