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]

Re: Cygwin 1.7.22 calls dumper when starting X


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
<?xml version="1.0" encoding="UTF-8"?>
<Run2Config
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";;
   xsi:noNamespaceSchemaLocation="run2.xsd">
   <SelfOptions />
   <Global>
     <Environment />
     <Target filename="/usr/bin/bash.exe" startin="/usr/bin">
       <Arg>-l -c 'rm -rf /tmp/{.X*,dbus*,orbit*,*}; XWin -nowgl
-multiwindow -clipboard -silent-dup-error 2>/dev/null &'</Arg>
     </Target>
   </Global>
</Run2Config>

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 '&amp;' 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

<?xml version="1.0" encoding="UTF-8"?>
<Run2Config
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:noNamespaceSchemaLocation="run2.xsd">
  <SelfOptions />
  <Global>
    <Environment />
    <Target filename="/usr/bin/bash.exe" startin="/usr/bin">
      <Arg>-l -c 'rm -rf /tmp/{.X*,dbus*,orbit*,*}; XWin -nowgl -multiwindow -clipboard -silent-dup-error 2>/dev/null &amp;'</Arg>
    </Target>
  </Global>
</Run2Config>


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