Re: startxwin/XWin won't start properly

2010-06-29 Thread Larry Hall (Cygwin X)

On 6/30/2010 1:07 AM, Bradley, Mike wrote:

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.


'setup.exe' doesn't remember your previous installations - ones you have
removed.  There'd be little call for that kind of functionality.  'setup.exe'
does allow you to install from a local directory though.  So if you keep
the directory that contained all the packages you've downloaded previously,
you can point 'setup.exe' at this directory and tell it to install everything.

--
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-29 Thread Larry Hall (Cygwin X)

On 6/29/2010 6:56 PM, Bradley, Mike wrote:

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


  Also, there's nothing to be
gained (and plenty to be lost) by including unneeded headers in your
reply.  Please consider removing them in future correspondences with the
list.





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.


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?


Not surprisingly, Chris got this right on the nose.  It would be ludicrous
for me to embellish. :-)




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


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.  Once that is true, you should
run 'cygcheck --delete-orphaned-installation-keys' so that cygcheck will not
report those directories anymore.  This is something completely different
from 'setup.exe' and its installation process.  'setup.exe' knows what it
has installed and where and will maintain those packages (updating them as
required and requested) whenever you run it.  It cannot, however, maintain
an installation if it has been removed or manipulated by other tools, which
is what seems to have happened to your two orphaned installations.  So you
need to finish cleaning these up as I described above.  It may simply be a
bookkeeping exercise or it might be more than that.  But it's worth checking
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 Christopher Faylor
On Tue, Jun 29, 2010 at 04:56:03PM -0600, Bradley, Mike wrote:
>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?

Every time you select a new package to install, it is added to the
remembered list of packages on your system.  So, the next time you run
setup.exe it will update anything that is out of date automatically.

cgf

--
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 Larry Hall (Cygwin X)

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: Slow response to keypresses in xorg-server-1.8.0-1

2010-06-29 Thread Robert Daasch

Wed, 02 Jun 2010 09:52:28 -0700

I have this problem too. I found a weird, non-code partial solution:
run some sort of constantly-updating graphical program in the
background, like ico or something like that.


This workaround is apparently avoiding the X 1.8.0 response problem.
I am running xeyes and the slow response problem is no longer getting in 
the way of using X on a Dell E6410.

I am using Version 1.8.0 with a build date of 2010-04-02

.

--
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: Problem when trying to use -nolock Option

2010-06-29 Thread Mathias Friesenbichler
Hi,

I posted this Problem 2 Weeks ago and no one answered yet.

Is there anyone who can help me?

Thanks,
Mathias

 Original-Nachricht 
Datum: Thu, 17 Jun 2010 08:24:03 +0200
Von: "Mathias Friesenbichler" 
An: cygwin-xfree@cygwin.com
Betreff: Problem when trying to use -nolock Option

Hi,

My CygwinX is installed on a server.
Several users are accessing this installation and therefore i want to use the 
"-nolock" option.

Although i have added this option, cygwinx creates the X1 File in 
"tmp/.X11-unix". So no other user can access cygwin while it is open.
The logbook output is then:


Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.8.0.0 (1080)
Build Date: 2010-04-02

Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:

/usr/bin/Xwin :1 -ac -query 10.8.248.101 -clipboard -logfile  
C:\DOKUME~1\fltplehr\LOKALE~1\Temp\xwin.fltplehr.1.log
 -nolock -dpi 75

ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - 
primary monitor w 1280 h 1024 winInitializeDefaultScreens - native DPI x 96 y 
96 winInitializeDefaultScreens - Returning [1061722.984] 
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 [1061722.984] 
_XSERVTransOpen: transport open failed for inet6/pc08309:1 [1061722.984] 
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 
[1061723.015] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() 
failed [1061723.015] _XSERVTransMakeAllCOTSServerListeners: server already 
running [1061723.015] Fatal server error:
[1061723.015] Cannot establish any listening sockets - Make sure an X server 
isn't already running


I am starting the program with the following code:
start O:\PLS_Faser\Cygwin_PLSStarter\cygwin_installed\bin\Xwin.exe :1 -ac 
-query IP -clipboard -logfile "%TEMP%\xwin.%USERNAME%.1.log" -nolock -dpi 75

Can you help me?

Thanks,
Mathias

-- 
GMX.at - Österreichs FreeMail-Dienst mit über 2 Mio Mitgliedern
E-Mail, SMS & mehr! Kostenlos: http://portal.gmx.net/de/go/atfreemail

--
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 Markus Hoenicka

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



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 Markus Hoenicka

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