'run xterm' fails to open a window

Ken Brown kbrown@cornell.edu
Tue Nov 3 14:27:00 GMT 2009


I don't know if this is a problem with run, or xterm, or something else. 
  If I start the X server and then type 'run xterm' in an xterm window, 
the xterm process starts but does not open a window.  Here's what 'ps' 
shows before and after 'run xterm':

$ ps
       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
       780       1     780        780    ? 1006 08:50:17 /usr/bin/mintty
I    2932     780    2932       1480    0 1006 08:50:17 /usr/bin/bash
       384       1    1708       2740    0 1006 08:50:32 /usr/bin/XWin
      2648     384    2648       3064    ? 1006 08:51:07 /usr/bin/xterm
       528    2648     528       3016    1 1006 08:51:11 /usr/bin/bash
      3144     528    3144       1464    1 1006 09:05:28 /usr/bin/ps

$ run xterm

$ ps
       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
       780       1     780        780    ? 1006 08:50:17 /usr/bin/mintty
I    2932     780    2932       1480    0 1006 08:50:17 /usr/bin/bash
       384       1    1708       2740    0 1006 08:50:32 /usr/bin/XWin
      2648     384    2648       3064    ? 1006 08:51:07 /usr/bin/xterm
       528    2648     528       3016    1 1006 08:51:11 /usr/bin/bash
      3452       1    3452       3452  con 1006 09:05:57 /usr/bin/xterm
      4088     528    4088       3664    1 1006 09:06:01 /usr/bin/ps

Obviously I have no good reason to want to start an xterm via 'run 
xterm' in an xterm window, but this issue is causing problems in a 
script I'm writing.  [Briefly, I have a desktop shortcut with target 
'\path\to\run.exe bash -c foo.sh'.  The script foo.sh calls xterm, which 
starts with no visible window, exactly as above.]

I've attached cygcheck output and the XWin log.

Ken


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20091103/b2f700d5/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: XWin.0.log
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20091103/b2f700d5/attachment.log>
-------------- next part --------------
--
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/


More information about the Cygwin-xfree mailing list