Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64

Mark Hansen meh@Winfirst.Com
Wed Mar 19 23:25:00 GMT 2014


On 3/19/2014 3:21 PM, Jyhshyong wrote:
> Hi
> 
> I just installed Cygwin 64 on my 64-bit Cygein 64 PC, and found that 
> the Xterm in the system tray icon is no longer working.  
> 
> The Xwin server system tray icon has the following target
> 
> C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe
> 
> It works fine as the 32-bit version, click on the icon, I can start X 
> server and open a small Xterm window.
> 
> However, the Xterm system tray icon with the target defined as
> 
> C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 -
> geometry 120x40  -fn -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-*  
> -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0'
> 
> failed to open an xterm window.
> 
> The 32 bit version of the Xterm short icon with the target defined as
> 
> C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 -
> geometry 120x40  -fn -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-*  
> -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0'
> 
> is still working, but only open to the 32-bit Cygwin environment.
> 
> Any idea on solving this problem?
> 
> Thanks for any suggestion.
> 
> Jyhshyong
> 

I would start by removing arguments and trying to determine which are causing the
problem. Note that (I believe) what shows up in the system try is not the XTerm,
but the XServer (XWin). While the XServer is running, you can run a client, like
XTerm and it will display on the XServer display.

Here is the shortcut I'm using to launch an XTerm under 64-bit cygwin:

C:\Apps\cygwin\bin\run.exe -p /usr/X11R6/bin xterm +tb -sb -sl 5000 -display 127.0.0.1:0.0 -ls

This is working fine for me.

You can also check the /var/log/xwin/XWin<whatever>.log file to see if there are any
errors being written there when you try to launch the XTerm.

Good luck.

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