RE: startxwin/XWin won't start properly

2010-06-29 Thread Bradley, Mike
I don't see any difference if I set DISPLAY to :0.0 or 127.0.0.1:0.0.  However, 
in the past its only worked if I set to 127.0.0.1:0.0


-Original Message-
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On 
Behalf Of Markus Hoenicka
Sent: Tuesday, June 29, 2010 10:55 AM
To: cygwin-xfree@cygwin.com
Subject: RE: startxwin/XWin won't start properly

"Bradley, Mike"  was heard to say:

> Notice the value of $DISPLAY above, which does not match whats in  
> XWin.0.log (it has :0.0).  No idea how/why that happens. 
>

$DISPLAY is empty over here unless I manually set it. But then, I'm  
not sure if it has something to do with your problems, as  
127.0.0.1:0.0 points to the first display on localhost, which IMHO  
isn't all that wrong. What happens if you set $DISPLAY manually, e.g.  
to ":0.0". This always worked fine for me.

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/


--
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: startxwin/XWin won't start properly

2010-06-29 Thread Bradley, Mike

I just tried your procedure, but still get the same error messages from
startxwin.  Maybe there is some helpful information in the logfiles I
sent?


-Original Message-
From: cygwin-xfree-ow...@cygwin.com
[mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Markus Hoenicka
Sent: Tuesday, June 29, 2010 11:45 AM
To: cygwin-xfree@cygwin.com
Subject: RE: startxwin/XWin won't start properly

"Bradley, Mike"  was heard to say:

> I don't see any difference if I set DISPLAY to :0.0 or  
> 127.0.0.1:0.0.  However, in the past its only worked if I set to  
> 127.0.0.1:0.0
>

My current procedure to start X is as follows:

1. do not set $DISPLAY anywhere. It is just empty.
2. open MinTTY
3. type something like "startxwin /usr/bin/emacs"

That's about it.

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/


--
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: startxwin/XWin won't start properly

2010-06-29 Thread Bradley, Mike
Hi,

In the past I have not found a good way to "remember" which packages where 
installed (e.g. non-default packages).  Is there a file/way to run setup.exe so 
that a specified set of packages are installed?

I say this, because the only way I know to clean up the install is to delete 
it, and re-install.

(I have several times just run setup.exe, and it does seem to update some 
packages, but as you state, it is not completely clean)

Thanks,
-Mike

-Original Message-
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On 
Behalf Of Larry Hall (Cygwin X)
Sent: Tuesday, June 29, 2010 6:40 PM
To: cygwin-xfree@cygwin.com
Subject: Re: startxwin/XWin won't start properly

On 6/29/2010 10:50 AM, Bradley, Mike wrote:
> Hi,
>
> All was good, till a couple weeks ago when I added some packages to cygwin,
> and several packages where also upgraded.  Then xterm response time became
> very slow.  I tried a second upgrade yesterday, and now I cannot even start
> an xterm, nor will startxwin start properly.  This is a company computer
> which has Symantec anti-virus.  I tried disabling that as well.
>
> Here is the most obvious symptom:
>
> % echo $DISPLAY 127.0.0.1:0.0 % /usr/bin/startxwin.exe
>
>
> waiting for X server to begin accepting connections . .. giving up.
> /usr/bin/startxwin:  Socket type not supported (errno 124):  unable to
> connect to X server /usr/bin/startxwin:  No such process (errno 3):  Server
> error.
>
> Notice the value of $DISPLAY above, which does not match whats in XWin.0.log
> (it has :0.0).  No idea how/why that happens.

Remove the DISPLAY setting.  Update your installation (your cygwin package is
out-of-date).  You also have a couple of orphaned installations of Cygwin.
Make sure those are all cleaned up/out.

-- 
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: startxwin/XWin won't start properly

2010-06-29 Thread Bradley, Mike

> In the past I have not found a good way to "remember" which packages where
> installed (e.g. non-default packages).  Is there a file/way to run setup.exe
> so that a specified set of packages are installed?

OK, I removed my old cygwin installation (the directory which contains /usr, 
/bin/, etc.), and re-installed a new version.  I kept the "cygwin_package" 
directory, but setup.exe did not remember my previous installation.  In the 
past I have had to install cygwin on multiple machines, and it would be nice to 
learn a way to have a file which describes the packages I want to install, 
rather than having to recall them all.



> Actually, that's not what I meant at all.  Your cygcheck output showed that
> you had, at one time, installed Cygwin to C:\cygwin and C:\cygwin\cygdrive,
> both of which are now "ORPHANED", meaning that at least some (could be all)
> of the installation is now missing.  You should make sure that the entire
> installation has been deleted in both places.  
> ...

I did remove the orphaned directires, but it did not help.  The good news is a 
complete re-install of cygwin does work, so I am (almost) up and running :-)

Thanks,
-Mike



RE: startxwin/XWin won't start properly

2010-06-30 Thread Bradley, Mike


> It would be great to be able to have a file I can email them saying "Use 
> this, it'll load everything you need.".  And of 
> course have a copy for myself for when I get a new machine, or the OS has to 
> be reloaded, or I have cygwin problems 
> 
> Such a thing would be great for anyone who wants to test the bleeding edge.  
> If they knew rolling back was simple they'd be > encouraged to be daring.

Absolutely!  And I suspect a relatively easy modification/addition for 
setup.exe.  It already has the concept of what's loaded, it's just a matter of 
storing this off into a single file that is read on subsequent runs of 
setup.exe.  
Then when the new install is complete the file is written to.  

In practice setup.exe would ask if you want to use the default configuration 
file, or load a separate one.  The default
Would always be written to.  After install the user would then copy and store 
the default configuration file as a separate one for subsequent use.

-Mike


RE: startxwin/XWin won't start properly

2010-06-30 Thread Bradley, Mike

> So, after being told that Cygwin remembers your previous installation
> and to just run setup.exe, you removed your previous installation and
> are surprised that Cygwin doesn't remember it.

What I did was re-run setup.exe.  XWin would still not startup.  Then I
Deleted the cygwin install (except for the package directory).
Setup.exe
Did not recall/remember/read the package directory, it did a default
install.

The good news is XWin works now.  The bad news is I must
remember/find/set the
Various packages I need in addition to the default.

I'm confused as to why the notion of setup.exe to leave a
bread-crumb-trail of
what was installed for-the-purpose-of driving a subsequent installation
is such 
a controversial issue

> Here's some more advice for you to misunderstand/ignore:  Don't do
that.

Uh, I think we have a simple misunderstanding...


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