public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Mark Hansen <meh@Winfirst.Com>
To: cygwin-xfree@cygwin.com
Subject: Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64
Date: Wed, 19 Mar 2014 23:25:00 -0000	[thread overview]
Message-ID: <532A2778.8030606@Winfirst.Com> (raw)
In-Reply-To: <loom.20140319T230853-94@post.gmane.org>

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/


  reply	other threads:[~2014-03-19 23:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19 22:25 Jyhshyong
2014-03-19 23:25 ` Mark Hansen [this message]
2014-03-20  0:44   ` Thomas Dickey
2014-03-20 23:22     ` Thomas Dickey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=532A2778.8030606@Winfirst.Com \
    --to=meh@winfirst.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).