problems starting xterm
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/
Re: problems starting xterm
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/
Re: problems starting xterm
Reid Thompson reid.thomp...@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/
Re: problems starting xterm
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/
Re: problems starting xterm
Larry Hall (Cygwin X) reply-to-list-only-l...@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/
Re: problems starting xterm
Markus Hoenicka markus.hoeni...@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/
Re: problems starting xterm
On 3/19/2010 11:40 AM, Markus Hoenicka wrote: Markus Hoenickamarkus.hoeni...@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/
Re: problems starting xterm
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/
Re: problems starting xterm
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/
Re: problems starting xterm
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/