public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Problem with new xinit - console window doesn't open (but bash starts)
@ 2009-11-20  3:58 Jim Reisert AD1C
  2009-11-20  4:08 ` Jim Reisert AD1C
  0 siblings, 1 reply; 13+ messages in thread
From: Jim Reisert AD1C @ 2009-11-20  3:58 UTC (permalink / raw)
  To: cygwin-xfree

I'm running the latest of everything Cygwin 1.7 (see below).

When I start the Xwin server from the Windows shortcut:

   D:\Cygwin\bin\run.exe /usr/bin/startxwin.bat

I see a bash.exe process running, but no X window comes up, as per:

REM Make sure XWin is ready to accept connections before proceeding
%RUN% checkX -wait -d %DISPLAY% -t 12

REM Startup an xterm, using bash as the shell.
%RUN% xterm -e /usr/bin/bash -l

Anyone else notice this?

The problem is the same on my laptop at work running WinXP, as well as 
my home system running Windows 7

- Jim

# cygcheck -c | egrep "cyg|x"

cygrunsrv            1.34-1              OK
cygutils             1.4.0-1             OK
cygwin               1.7.0-65            OK
cygwin-doc           1.5-1               OK
expat                2.0.1-1             OK
gettext              0.17-11             OK
libexpat1            2.0.1-1             OK
libexpat1-devel      2.0.1-1             OK
libpixman1_0         0.16.2-1            OK
libxcb1              1.4-2               OK
libXext6             1.1.1-1             OK
libxkbfile1          1.0.6-1             OK
libxml2              2.7.4-1             OK
lynx                 2.8.5-4             OK
texinfo              4.13-3              OK
util-linux           2.14.1-1            OK
xauth                1.0.4-1             OK
xcursor-themes       1.0.2-1             OK
xemacs-emacs-common  21.4.22-1           OK
xinit                1.2.0-1             OK
xkbcomp              1.1.1-1             OK
xkeyboard-config     1.7-1               OK
xmodmap              1.0.4-1             OK
xorg-server          1.7.1-3             OK
xrdb                 1.0.6-1             OK
xterm                250-1               OK

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


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Problem with new xinit - console window doesn't open (but bash  starts)
@ 2009-11-25 14:57 Charles Wilson
  2009-11-25 15:23 ` Ken Brown
  0 siblings, 1 reply; 13+ messages in thread
From: Charles Wilson @ 2009-11-25 14:57 UTC (permalink / raw)
  To: cygwin-xfree

Jon TURNEY wrote:
> This is typical of the current issue we have where 'run xterm' blocks when
> xterm tries to output 'Warning: Missing charsets in String to FontSet conversion'
>
> Any one of:
> - installing the CJK fonts
> - having 'tty' in the CYGWIN environment variable
> - having the LANG environment set to a non-UTF-8 locale
> should work around this problem
> 
> Note that the environment variable will have to be set via the system
> applet in the Windows control panel, as only that controls the environment
> for the startxwin.bat started from the start menu...

There's another option. In startxwin.bat, you could use run2.exe instead
of run.  Instead of:

%RUN% bash -l -c "XWin -multiwindow -clipboard -silent-dup-error"

Use

%RUNTWO% /usr/bin/XWin.xml

where XWin.xml is something like the following (untested):

<?xml version="1.0" encoding="us-ascii"?>
<Run2Config
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="run2.xsd">
  <SelfOptions />
  <Global>
    <Environment>
      <!-- either of these, or both, and modified as desired -->
      <Set var="LANG"  value="C.ASCII"/>
      <Append var="CYGWIN"  value=" tty"/>
    </Environment>
    <Target filename="/usr/bin/bash.exe" startin="~">
      <Arg>-l</Arg>
      <Arg>-c</Arg>
      <Arg>"XWin -multiwindow -clipboard -silent-dup-error"</Arg>
    </Target>
  </Global>
</Run2Config>

--
Chuck


--
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] 13+ messages in thread

end of thread, other threads:[~2009-12-16 20:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-20  3:58 Problem with new xinit - console window doesn't open (but bash starts) Jim Reisert AD1C
2009-11-20  4:08 ` Jim Reisert AD1C
2009-11-20  6:46   ` Eliot Moss
2009-11-20 12:49   ` Ken Brown
2009-11-20 15:06     ` Jim Reisert AD1C
2009-11-22 20:25       ` Jon TURNEY
2009-12-16 20:11         ` Jon TURNEY
2009-11-20 17:38     ` laxamar
2009-11-20 17:57       ` Mike Ayers
2009-11-22 16:16   ` Jon TURNEY
2009-11-22 16:22     ` Thomas Dickey
2009-11-25 14:57 Charles Wilson
2009-11-25 15:23 ` Ken Brown

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).