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



Have you tried just starting the XWin server first and the the xterm? it looks like the X server doesn't recognize that line command.


 
> Date: Tue, 3 Nov 2009 09:27:23 -0500
> From: kbrown@cornell.edu
> To: cygwin-xfree@cygwin.com
> Subject: 'run xterm' fails to open a window
> 
> 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
> 
>  		 	   		  
_________________________________________________________________
Date una vuelta por Sietes y conoce el pueblo de los expertos en Windows 7
http://www.sietesunpueblodeexpertos.com/

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