From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28491 invoked by alias); 19 Mar 2014 23:25:57 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 28481 invoked by uid 89); 19 Mar 2014 23:25:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: stargate.mehconsulting.com Received: from stargate.mehconsulting.com (HELO stargate.mehconsulting.com) (65.78.188.61) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 19 Mar 2014 23:25:44 +0000 Received: from [10.1.1.70] (Atlantis.mehconsulting.com [10.1.1.70]) (authenticated bits=0) by stargate.mehconsulting.com (8.13.8/8.13.8) with ESMTP id s2JNPgaW016949 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 19 Mar 2014 16:25:42 -0700 Message-ID: <532A2778.8030606@Winfirst.Com> Date: Wed, 19 Mar 2014 23:25:00 -0000 From: Mark Hansen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-03/txt/msg00016.txt.bz2 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.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/