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: 'run xterm' fails to open a window


On 10/11/2009 23:44, Mike Ayers wrote:
On Behalf Of jean-luc malet
Sent: Monday, November 09, 2009 2:50 AM

no more result... gvim process is still started, appears in ps -a, but
nothing is displayed on screen, replacing gvim by xterm still work
with this solution...

To find out why this is, run gvim from an xterm:


[SNIP]
m-ayers-lap>  gvim

(gvim:1748): Pango-WARNING **: Error loading GSUB table 0x6EAD

(gvim:1748): Pango-WARNING **: Error loading GPOS table 0x6EAD

(gvim:1748): Pango-WARNING **: Error loading GSUB table 0x6EAD

(gvim:1748): Pango-WARNING **: Error loading GPOS table 0x6EAD
m-ayers-lap>
(gvim:1092): Pango-WARNING **: Error loading GPOS table 0x6EAD
[/SNIP]

Apparently, run.exe is not providing stdout/stderr to dump to. The workaround:

[SNIP]
C:\mike>C:\cygwin\bin\run.exe -p /usr/bin sh -c "gvim>/dev/null 2>&1"
C:\mike>
[/SNIP]

Wait, are you saying that the process that run starts is blocked if it tries to output anything?


Also, the suggestions that this has something to do with DISPLAY not being set correctly seem a little unlikely. If gvim or any other X application isn't able to determine which display to use, it should exit with an error, not hang around....


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