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: Can't start xterm from Cygwin/X icon in system tray


On Thu, Dec 31, 2009 at 6:33 AM, dahaiou wrote:
>
>
> Jim Reisert AD1C wrote:
>>
>> I am unable to start an xterm from the Cygwin/X icon in the system tray
>> (right-click, select xterm). ?Both setups have the same line in .XWinrc:
>> ? ? ? ? "xterm" ? ? ?EXEC ?"xterm"
>> As ?a work-around, I created a shortcut on my desktop to start an xterm:
>> ? ? D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0
>> That works perfectly,
>
> What exact command is mapped to the "xterm" label in the right-click tray
> menu? It's configured in an init file somewhere though I can't remember the
> filename right now.

"which" points to /usr/bin/xterm

> Can you check whether the DISPLAY variable is set in the xterm process
> started from the tray menu? If it isn't, that would explain it.

I tried this explicitly:

         "xterm"      EXEC  "xterm -display localhost:0"

That didn't make a difference.

One other piece of data:  I modifed ~/.XWinrc and then clicked "Reload
.xwinrc" from the menu in the system tray. This KILLED the X server!

- Jim


-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

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