public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64
@ 2014-03-19 22:25 Jyhshyong
  2014-03-19 23:25 ` Mark Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Jyhshyong @ 2014-03-19 22:25 UTC (permalink / raw)
  To: cygwin-xfree

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


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64
  2014-03-19 22:25 Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64 Jyhshyong
@ 2014-03-19 23:25 ` Mark Hansen
  2014-03-20  0:44   ` Thomas Dickey
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Hansen @ 2014-03-19 23:25 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64
  2014-03-19 23:25 ` Mark Hansen
@ 2014-03-20  0:44   ` Thomas Dickey
  2014-03-20 23:22     ` Thomas Dickey
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Dickey @ 2014-03-20  0:44 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

On Wed, Mar 19, 2014 at 04:25:44PM -0700, Mark Hansen wrote:
> 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'

I don't see anything wrong with the command-line, but it's been a while
since I updated Cygwin packages (and I'm not in the middle of a release
cycle), so I'll do that to see if it breaks for me.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64
  2014-03-20  0:44   ` Thomas Dickey
@ 2014-03-20 23:22     ` Thomas Dickey
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Dickey @ 2014-03-20 23:22 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]

On Wed, Mar 19, 2014 at 08:44:29PM -0400, Thomas Dickey wrote:
> On Wed, Mar 19, 2014 at 04:25:44PM -0700, Mark Hansen wrote:
> > 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'
> 
> I don't see anything wrong with the command-line, but it's been a while
> since I updated Cygwin packages (and I'm not in the middle of a release
> cycle), so I'll do that to see if it breaks for me.

hmm:

	a) I'm uncertain how to configure the system tray to match the
	   reported configuration (a sample .XWinrc might help).

	b) the latest xterm I find from mirrors is still #302 (should not
	   be a problem with the given command-line).

	c) xterm comes up on my machine (which is 64-bits).

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-20 23:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-19 22:25 Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64 Jyhshyong
2014-03-19 23:25 ` Mark Hansen
2014-03-20  0:44   ` Thomas Dickey
2014-03-20 23:22     ` Thomas Dickey

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