public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: Cygwin 1.7.22 calls dumper when starting X
@ 2013-08-01 21:34 Angelo Graziosi
  2013-08-01 22:06 ` Mark Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: Angelo Graziosi @ 2013-08-01 21:34 UTC (permalink / raw)
  To: XCygwin

Charles Wilson wrote:
> (I'm not sure why you need & at all; unless it allows the bash shell to exit, where otherwise it would hang around?)

Without the "&", there is an extra bash process running: I want just to 
start XWin...

> See attached.

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

I have copy/pasted it, but it doesn't work (I have also tried with us-ascii)

If I add the debug options you suggested, I got

opt_loglevel: 9
opt_nogui   : 0
opt_notty   : 1
opt_timeout : 0.50
opt_wait    : 0
opt_force   : auto

(run2_xml_stardocument) ctx=0x22aa8c
(run2_xml_enddocument) ctx=0x22aa8c
/home/angelo/XWinServer.xml: validation generated an internal error
There was an error parsing XWinServer.xml
exit status 1


Ciao,
Angelo.

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


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Cygwin 1.7.22 calls dumper when starting X
@ 2013-08-01 11:20 Angelo Graziosi
  2013-08-01 13:09 ` Charles Wilson
  0 siblings, 1 reply; 10+ messages in thread
From: Angelo Graziosi @ 2013-08-01 11:20 UTC (permalink / raw)
  To: XCygwin

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


but it doesn't work...


Ciao,
  Angelo.

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


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Cygwin 1.7.22 calls dumper when starting X
@ 2013-07-30 17:33 Jim Reisert AD1C
  2013-07-30 18:37 ` Jim Reisert AD1C
  2013-07-31 11:58 ` Jon TURNEY
  0 siblings, 2 replies; 10+ messages in thread
From: Jim Reisert AD1C @ 2013-07-30 17:33 UTC (permalink / raw)
  To: cygwin-xfree

I have the latest version of Cygwin (using setup-x86). I see the same
problem on both 32-bit and 64-bit Windows 7 systems.

CYGWIN_NT-6.1 LTDEN-REISERT 1.7.22(0.268/5/3) 2013-07-22 17:06 i686 Cygwin

Here is how I am starting X:

C:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

When I run this command, a dumper console window pops up with this error:

"failed to open file: No such file or directory"

I had not seen this before updating setup to setup-x86 and installing
the latest code.  The console window goes away by itself, and XWin
seems to have started normally, I.e. I get the 'X' in my system tray
and can launch programs from it.

- Jim

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-08-01 22:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-01 21:34 Cygwin 1.7.22 calls dumper when starting X Angelo Graziosi
2013-08-01 22:06 ` Mark Hansen
  -- strict thread matches above, loose matches on Subject: below --
2013-08-01 11:20 Angelo Graziosi
2013-08-01 13:09 ` Charles Wilson
2013-07-30 17:33 Jim Reisert AD1C
2013-07-30 18:37 ` Jim Reisert AD1C
2013-07-31 11:58 ` Jon TURNEY
2013-07-31 13:41   ` Jim Reisert AD1C
2013-07-31 16:10     ` Jim Reisert AD1C
2013-07-31 19:22     ` Charles Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).