public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
* problems starting xterm @ 2010-03-19 9:54 Markus Hoenicka 2010-03-19 13:06 ` Reid Thompson 2010-03-19 16:35 ` Jon TURNEY 0 siblings, 2 replies; 12+ messages in thread From: Markus Hoenicka @ 2010-03-19 9:54 UTC (permalink / raw) To: cygwin-xfree Hi, I've set up Cygwin 1.7.1 lately, along with X and some applications. The X server works ok and claims to be "Version 1.7.5 Build Date: 2010-02-05". I can run Emacs as an X application without hassles. However, when I start the X server, or when I try to run xterm from the X server systray icon, xterm apparently fails to find a shell to run, so it terminates (no pun intended) after a couple of seconds: xterm: Could not exec 4.90.2.20040617: No such file or directory I have plenty of shells installed (bash, ash, dash), and they work ok in MinTTY. I'm afraid I'm missing some simple but important setting somewhere. Any ideas? regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 9:54 problems starting xterm Markus Hoenicka @ 2010-03-19 13:06 ` Reid Thompson 2010-03-19 13:09 ` Markus Hoenicka 2010-03-19 16:35 ` Jon TURNEY 1 sibling, 1 reply; 12+ messages in thread From: Reid Thompson @ 2010-03-19 13:06 UTC (permalink / raw) To: cygwin-xfree; +Cc: reid.thompson On Fri, 2010-03-19 at 10:54 +0100, Markus Hoenicka wrote: > Hi, > I have plenty of shells installed (bash, ash, dash), and they work ok > in MinTTY. I'm afraid I'm missing some simple but important setting > somewhere. Any ideas? what happens when you call xterm from the mintty command line? -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 13:06 ` Reid Thompson @ 2010-03-19 13:09 ` Markus Hoenicka 2010-03-19 13:55 ` Larry Hall (Cygwin X) 0 siblings, 1 reply; 12+ messages in thread From: Markus Hoenicka @ 2010-03-19 13:09 UTC (permalink / raw) To: cygwin-xfree Reid Thompson <reid.thompson@ateb.com> was heard to say: > what happens when you call xterm from the mintty command line? > $ xterm Xt error: Can't open display: xterm: DISPLAY is not set Do I have to set DISPLAY manually? And if yes, what should it read? regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 13:09 ` Markus Hoenicka @ 2010-03-19 13:55 ` Larry Hall (Cygwin X) 2010-03-19 14:06 ` Markus Hoenicka 0 siblings, 1 reply; 12+ messages in thread From: Larry Hall (Cygwin X) @ 2010-03-19 13:55 UTC (permalink / raw) To: cygwin-xfree On 3/19/2010 9:09 AM, Markus Hoenicka wrote: > $ xterm Xt error: Can't open display: > xterm: DISPLAY is not set > > Do I have to set DISPLAY manually? And if yes, what should it read? For the mintty test case, yes, you need to set DISPLAY. Use this: export DISPLAY=:0.0 -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 13:55 ` Larry Hall (Cygwin X) @ 2010-03-19 14:06 ` Markus Hoenicka 2010-03-19 15:40 ` Markus Hoenicka 0 siblings, 1 reply; 12+ messages in thread From: Markus Hoenicka @ 2010-03-19 14:06 UTC (permalink / raw) To: cygwin-xfree "Larry Hall (Cygwin X)" <reply-to-list-only-lh-x@cygwin.com> was heard to say: > For the mintty test case, yes, you need to set DISPLAY. Use this: > > export DISPLAY=:0.0 Yep, that works, except for the following warning: Warning: Missing charsets in String to FontSet conversion As this method to start xterm seems to work, do I have to start the X server some other way than I do now? I just use the Win start menu entry Cygwin-X->XWin Server. thanks Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 14:06 ` Markus Hoenicka @ 2010-03-19 15:40 ` Markus Hoenicka 2010-03-19 15:46 ` Ken Brown 0 siblings, 1 reply; 12+ messages in thread From: Markus Hoenicka @ 2010-03-19 15:40 UTC (permalink / raw) To: cygwin-xfree Markus Hoenicka <markus.hoenicka@mhoenicka.de> mumbled: > As this method to start xterm seems to work, do I have to start the > X server some other way than I do now? I just use the Win start menu > entry Cygwin-X->XWin Server. > I can answer that one myself. Running startxwin from mintty works without a hitch. This is no big deal for me, but this still leaves me wondering why one of the officially recommended ways to start X (as per the docs, see http://x.cygwin.com/docs/ug/using.html#using-starting) fails on my system. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 15:40 ` Markus Hoenicka @ 2010-03-19 15:46 ` Ken Brown 2010-03-19 21:13 ` Markus Hoenicka 2010-03-21 13:54 ` Markus Hoenicka 0 siblings, 2 replies; 12+ messages in thread From: Ken Brown @ 2010-03-19 15:46 UTC (permalink / raw) To: cygwin-xfree On 3/19/2010 11:40 AM, Markus Hoenicka wrote: > Markus Hoenicka<markus.hoenicka@mhoenicka.de> mumbled: > >> As this method to start xterm seems to work, do I have to start the >> X server some other way than I do now? I just use the Win start menu >> entry Cygwin-X->XWin Server. >> > > I can answer that one myself. Running startxwin from mintty works > without a hitch. This is no big deal for me, but this still leaves me > wondering why one of the officially recommended ways to start X (as > per the docs, see > http://x.cygwin.com/docs/ug/using.html#using-starting) fails on my > system. Does your CYGWIN environment variable contain tty? http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-startxwin-no-windows -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 15:46 ` Ken Brown @ 2010-03-19 21:13 ` Markus Hoenicka 2010-03-21 13:54 ` Markus Hoenicka 1 sibling, 0 replies; 12+ messages in thread From: Markus Hoenicka @ 2010-03-19 21:13 UTC (permalink / raw) To: cygwin-xfree Ken Brown writes: > Does your CYGWIN environment variable contain tty? > > http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-startxwin-no-windows > Thanks for the hint. Will check on Monday. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 15:46 ` Ken Brown 2010-03-19 21:13 ` Markus Hoenicka @ 2010-03-21 13:54 ` Markus Hoenicka 1 sibling, 0 replies; 12+ messages in thread From: Markus Hoenicka @ 2010-03-21 13:54 UTC (permalink / raw) To: cygwin-xfree Ken Brown writes: > Does your CYGWIN environment variable contain tty? > > http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-startxwin-no-windows > Administrator@pc51997 ~ $ echo $CYGWIN server Which, in fact, is a leftover of 1.5. But no, there is no tty here. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 9:54 problems starting xterm Markus Hoenicka 2010-03-19 13:06 ` Reid Thompson @ 2010-03-19 16:35 ` Jon TURNEY 2010-03-19 21:12 ` Markus Hoenicka 1 sibling, 1 reply; 12+ messages in thread From: Jon TURNEY @ 2010-03-19 16:35 UTC (permalink / raw) To: cygwin-xfree On 19/03/2010 09:54, Markus Hoenicka wrote: > I've set up Cygwin 1.7.1 lately, along with X and some applications. The > X server works ok and claims to be "Version 1.7.5 Build Date: > 2010-02-05". I can run Emacs as an X application without hassles. > However, when I start the X server, or when I try to run xterm from the > X server systray icon, xterm apparently fails to find a shell to run, so > it terminates (no pun intended) after a couple of seconds: > > xterm: Could not exec 4.90.2.20040617: No such file or directory Google suggests '4.90.2.20040617' is a novell netware client version. So, erm... yeah. -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 16:35 ` Jon TURNEY @ 2010-03-19 21:12 ` Markus Hoenicka 2010-03-21 14:14 ` Andy Koppe 0 siblings, 1 reply; 12+ messages in thread From: Markus Hoenicka @ 2010-03-19 21:12 UTC (permalink / raw) To: cygwin-xfree Jon TURNEY writes: > Google suggests '4.90.2.20040617' is a novell netware client version. > Good catch. I use a Windoze client on a Netware network at work, so this client is likely to be installed. But then, why would xterm try to run that client??? regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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] 12+ messages in thread
* Re: problems starting xterm 2010-03-19 21:12 ` Markus Hoenicka @ 2010-03-21 14:14 ` Andy Koppe 0 siblings, 0 replies; 12+ messages in thread From: Andy Koppe @ 2010-03-21 14:14 UTC (permalink / raw) To: cygwin-xfree Markus Hoenicka: >>>xterm: Could not exec 4.90.2.20040617: No such file or directory > Jon TURNEY: >> Google suggests '4.90.2.20040617' is a novell netware client version. > > Good catch. I use a Windoze client on a Netware network at work, so > this client is likely to be installed. But then, why would xterm try > to run that client??? Actually it's trying to invoke that client's version number as a program, which is even more weird. There are only three places that could come from: the SHELL environment variable, the /etc/passwd file, and a -e option on xterm's command line. Andy -- 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] 12+ messages in thread
end of thread, other threads:[~2010-03-21 14:14 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-03-19 9:54 problems starting xterm Markus Hoenicka 2010-03-19 13:06 ` Reid Thompson 2010-03-19 13:09 ` Markus Hoenicka 2010-03-19 13:55 ` Larry Hall (Cygwin X) 2010-03-19 14:06 ` Markus Hoenicka 2010-03-19 15:40 ` Markus Hoenicka 2010-03-19 15:46 ` Ken Brown 2010-03-19 21:13 ` Markus Hoenicka 2010-03-21 13:54 ` Markus Hoenicka 2010-03-19 16:35 ` Jon TURNEY 2010-03-19 21:12 ` Markus Hoenicka 2010-03-21 14:14 ` Andy Koppe
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).