I had this problem. It was happening because PATH was not being set. The problem went away when I used /startxwin.bat instead of /bin/startxwin.exe.
On Thu, 31 Dec 2009, Jim Reisert AD1C wrote: > 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 > > > -- Hendrik Groeneveld +1 (425) 327-4506 +1 (425) 645-8027 Fax [email protected]
-- 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/
