Re: Cannot type in xterm

2008-12-17 Thread Larry Hall (Cygwin X)

Lee S Parsons wrote:
Never mind, I found a solution.  I found that, just as the FAQ says, the 
file

/usr/X11R6/lib/X11/XKeysymDB
Does not exist.  However, as the file
/usr/share/X11/XKeysymDB
does, I created a symbolic link pointing from the inexistent file to the 
one that does now exist, and life is good.


For reasons I cannot explain, the updated startxwin.bat file did not 
resolve this situation on its own, nor did startxwin.sh.


Did you read the entire FAQ entry?

If you are (perhaps unintentionally) using a copy of the old startxwin.bat 
(perhaps under another name) to start the X server, remove the environment 
variables XAPPLRESDIR, XCMSDB, XNLSPATH and XKEYSYMDB from it, or 
(preferrably) use the updated startxwin.bat.


So you're apparently using an old startxwin.bat/.sh.  While you can
certainly tweak things to make these work in the new environment, if
it's all the same to you, things will go easier for you if you use the
new scripts with the new environment.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: cygwin and cygwin-xfree lists to merge

2008-12-11 Thread Larry Hall (Cygwin X)

Christopher Faylor wrote:

On Thu, Dec 11, 2008 at 04:00:43AM -0600, Gary R. Van Sickle wrote:

From: Christopher Faylor

The historical reasons for [un?]merging the cygwin and cygwin-xfree
lists no longer seems to exist so I am contemplating merging the two
lists.

For us old-timers, what were the historical reasons again, and why/how
did they go away?


Good question.  My email records don't go back far enough to know for
sure and I don't see anything telling in the mailing list archives.

I think that one of the early maintainers (maybe Suhaib Siddiqi) didn't
want to read the cygwin list to look for cygwin-xfree questions.


Yes, I remember that.


I believe I was actually somewhat reluctant to do the split because (I
know this will be hard to believe) I thought there would be end-user
confusion that would require a lot of use the other list shuttling.

OTOH, maybe I was actively insisting on it and relishing the chance to
tell people they were off-topic.

I'm just proposing this now because Yaakov asked about it and Jon
indicated that he would be ok with it.  Yaakov obviously reads both
lists and he has observed that the lines are sometimes blurred between
what's a X question and what isn't.

Do you have an opinion either way, Gary?

Another thing that occurred to me is that we could keep the two lists
and stop telling people that they *had* to ask questions about X here.


True.  The downside there is there would exist an artificial split
where some discussion would happen only on Cygwin-X while others
would happen on the main list.  This would be tough to keep track
of and be a stumblling block for newbies who might actually look in
the archives for answers.  If there is a goal to maintain the idea
of two lists while really having only one, what about having the
Cygwin-X list exist as a head only.  It would be similar to the
announce lists in that it would forward all email to the main list
but would be different in that there would be no separate list archive.
I'm not sure how easy it would be to set something like this up but it
would address the concerns some have expressed about filtering out the
main Cygwin list info.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: cygwin and cygwin-xfree lists to merge

2008-12-11 Thread Larry Hall (Cygwin X)

Christopher Faylor wrote:

On Thu, Dec 11, 2008 at 02:33:21PM -0500, Larry Hall (Cygwin X) wrote:

Christopher Faylor wrote:

On Thu, Dec 11, 2008 at 04:00:43AM -0600, Gary R. Van Sickle wrote:

From: Christopher Faylor

The historical reasons for [un?]merging the cygwin and cygwin-xfree
lists no longer seems to exist so I am contemplating merging the two
lists.

For us old-timers, what were the historical reasons again, and why/how
did they go away?

Good question.  My email records don't go back far enough to know for
sure and I don't see anything telling in the mailing list archives.  I
think that one of the early maintainers (maybe Suhaib Siddiqi) didn't
want to read the cygwin list to look for cygwin-xfree questions.

Yes, I remember that.


I believe I was actually somewhat reluctant to do the split because (I
know this will be hard to believe) I thought there would be end-user
confusion that would require a lot of use the other list shuttling.

OTOH, maybe I was actively insisting on it and relishing the chance to
tell people they were off-topic.



I'm just proposing this now because Yaakov asked about it and Jon
indicated that he would be ok with it.  Yaakov obviously reads both
lists and he has observed that the lines are sometimes blurred between
what's a X question and what isn't.

Another thing that occurred to me is that we could keep the two lists
and stop telling people that they *had* to ask questions about X here.

True.  The downside there is there would exist an artificial split
where some discussion would happen only on Cygwin-X while others would
happen on the main list.  This would be tough to keep track of and be a
stumblling block for newbies who might actually look in the archives
for answers.  If there is a goal to maintain the idea of two lists
while really having only one, what about having the Cygwin-X list exist
as a head only.  It would be similar to the announce lists in that it
would forward all email to the main list but would be different in that
there would be no separate list archive.  I'm not sure how easy it
would be to set something like this up but it would address the
concerns some have expressed about filtering out the main Cygwin list
info.


I could do the cygwin-xfree - cygwin mirroring fairly easily and even
prepend a [X11] to the subject.  Going in the other direction would
require more work.  And, it seems like that would start to make things
more complicated.

We could adopt a convention of prepending [X11] or [Xorg] in front of
X-related messages but I'm sure that people who don't want to see
traffic wouldn't consider that an acceptable alternative to a separate
mailing list.


Yep, good point.  On thinking about this again, I realize that my
suggestion doesn't really address the I only want to see the X
messages crowd, since people could still (and maybe would feel
encouraged to) just send email to the main list and thereby
bypass those only on the X list (which I believe was the point
you were trying to address with the mention of mirroring from
the main list to the X list.)  So, in retrospect, it's a dumb
idea!  Sorry for the noise.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Help with startxwin.bat (I did read the FAQ)

2008-11-24 Thread Larry Hall (Cygwin X)

Srinath Avadhanula wrote:

Hi Yakov,

On Mon, Nov 24, 2008 at 5:51 PM, Yaakov (Cygwin/X)
[EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Srinath Avadhanula wrote:

I suddenly began getting the error message:

A fatal error has occured and Cygwin/X will now exit. Please open
/tmp/XWin.log for more information. The trailing part of /tmp/XWin.log
mentions the following:

Please upgrade to the latest xorg-server.



Thanks for the reply. I did upgrade to the latest xorg-server. (It is
now at 1.5.3-2). In fact, as I mentioned previously, I tried
reinstalling all packages under the X11 category. However, this
doesn't seem to fix things.

I have a suspicion that my /usr/X11R6/lib/X11 directory is somehow
corrupted. An ls there shows fewer directories that on another
machine where this seems to work. On my (problem) machine:

$ ls /usr/X11R6/lib/X11/
app-defaults  lbxproxy   rstart  xdmxkb  xsm
fsproxymngr  twm xinit  xserver

Strangely, no fonts/ directory! On another machine which I use where X
seems to be working fine, I see a whole bunch of other directories...


The current version doesn't have/use /usr/X11R6  It uses just plain
/usr for X stuff now, along with a modular X installation.  See the
anouncements.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Multiple Monitors issue with Xterm

2008-11-20 Thread Larry Hall (Cygwin X)

Jet Wilda wrote:

Hi,

 I just installed cygwin with X on WindowsXP and after making the
change to have it starup in C:\cygwin\bin the Xserver starts.  I have
3 monitors and even with the multimonitors setting set in the
startxwin.bat when I start Xterm it is not reachable unless I right
click and have it maximize (which brings it  to my main screen).  I
need to be able to have it not maximized and be able to move it to one
of my other screens.  If I disconnect my 2 extra monitors and only
have 1 monitor it does work.  Any and all help is greatly appreciated.


Did you check the meail archives?

http://cygwin.com/ml/cygwin-xfree/2008-11/msg00145.html


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Multiple Monitors issue with Xterm

2008-11-20 Thread Larry Hall (Cygwin X)

Jet Wilda wrote:

I did do some googling but must not of had the right keywords (thanks
for the link :-).  In either case I read that thread and there is only
work arounds no solutions.  Correct me if I'm wrong but the work
arounds are, I can either move my main monitor to the top and left or
I can user the arrow keys to move it into a visible location.  Is
there any known solutions to this issue?


Jon is working on it.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Upgrade woes.

2008-11-19 Thread Larry Hall (Cygwin X)

Back, Michael wrote:

Christopher Faylor did utter a clarion call of great frustration unto the 
heavens:

On Wed, Nov 19, 2008 at 03:16:05PM -0800, Back, Michael wrote:

Chuck wrote:

I think the frustration on some people's behalf is that this question
has been asked (and answered) maybe 50 times already on the list.

Perhaps because people can't find the info.  they need in any other way
than posting to this list?

You seem to be missing the point that if it was discussed in the list
you can use the list archive as a resource.  You don't have to just
blindly send email assuming that no one else would ever have asked the
same question.


My point is that relying on a user to have the forethought, time, and
patience to scour through a mailing list archive is probably not the most
effective or convenient form of communicating common upgrade problems and
solutions.


Probably not surprisingly, this idea is not new.  It's been discussed
before and only remains as a topic for discussion because of a lack of
resources to help make the situation better.  If anyone would like to
research, monitor, and dig in to help make the documentation or
install tools better and more helpful, I expect that would be welcome.
Keep in mind that where Cygwin/X is concerned, there has been no
maintainer for _years_ so I think we can all anticipate the amount of
work to get all the packages upgraded, documented, and spiffy is
significant.  And there will be some bumps along the way...


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: excuse this test

2008-11-13 Thread Larry Hall (Cygwin X)

Matt Wozniski wrote:

On Thu, Nov 13, 2008 at 1:52 PM, Paul McFerrin wrote:

excuse this test, it *should* get rejected


The cygwin lists are public, anyone can post to them even if not
subscribed.  This wasn't a useful test to see if your unsubscribe
worked.


Indeed!  There is also no reason to spam the list with this kind of
test.  The mailing lists have many portals that can be used to see
messages coming to them.  The Cygwin site itself has access at
http://cygwin.com/lists.html.  If you need to see if email is
going to the list and not to you, just check the list in question
before and after subscribing.  This is a better way to double-check
your efforts than spamming the list.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: fonts broken in xemacs with latest x server update

2008-11-12 Thread Larry Hall (Cygwin X)

hazen wrote:

Given the latest X server update, what should I do to get a working xemacs?

I've tried installing cygwin from scratch with the new x server release and
xemacs, but the fonts are broken on my system:

http://www.nabble.com/file/p20471230/emacs-fonts-buggered.jpeg 


Are there specific font packages I should install? How about emacs font
configuration?


You must be psychic.  Others are having this same problem  Wait a
minute.  If you were psychic, you would have had to report this problem
_before_ the others. ;-)

See if this helps: http://cygwin.com/ml/cygwin-xfree/2008-11/msg00014.html


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Regarding installation of X11 server in my Laptop with Windows Vista home basic OS

2008-10-15 Thread Larry Hall (Cygwin X)

Phil Betts wrote:

mallikarjun reddy wrote on Wednesday, October 15, 2008 1:02 PM::


Dear Sir,
  I,G Mallikarjun Reddy, am a student of B.Tech final year
studying in National Institute of Technology,Warangal.I want to
install Magic VLSI design tool in my Laptop which has Windows Vista
Home Basic as its Operating System.So I installed Cygwin by following
the instructions as given in the following site
  http://opencircuitdesign.com/cygwin/tcltk.html
But I couldn't get X11 server installed though I followed the steps
perfectly. Please give me a solution regarding this.

Thanking you,in anticipation.
Yours faithfully,
Mallikarjun


You haven't given us anywhere near enough information to let us work
out what your problem is.

What follows is a general procedure to follow to get X working.


If you installed cygwin with DOS line endings, you would be better off
cutting your losses and uninstall cygwin.  Then start again using UNIX 
line endings.  DOS line endings just cause more trouble than they are 
worth, and there is no good reason to use them. (The option is being 
removed from setup for cygwin 1.7)


Next, read these links (even if X is now working):

Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/


Implicit in this is a pointer to the instructions for installing
Cygwin/X as recommended by the Cygwin community.  If you need help
from the Cygwin community, it's best to use the resources that are
maintained by the community.  We can't vouch for or support other
sources.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: broken install - font fixed

2008-10-09 Thread Larry Hall (Cygwin X)

Jason Yee wrote:




From: Jason Yee
Sent: Thursday, October 09, 2008 12:28 PM
To: 'cygwin-xfree at cygwin dot com'

  ^^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Actually, there's no reason
to quote header lines at all.  Avoid this and you don't need to do anything
else.


Subject: RE: broken install - font fixed


resend.


Yeah, I think that's obvious given the headers you included above.


So i had cygwin installed on my system with Unix line endings. I wanted
to  change to dos line endings, so i did a reinstall using the same locally
downloaded package with dos line endings. 


Did you have a _really_ good reason for doing this?  Did you know for
sure that doing this was going to address a need you had?  Are you
willing to accept the consequences of installing this way?  If not,
I'd recommend wiping your installation again and reinstalling with
UNIX line endings.  Installing with DOS line endings is highly
discouraged (the 'setup.exe' that will be used for the upcoming 1.7
version doesn't offer the option at all because it is such a bad
idea for the uninformed user.)


installed version was downloaded
to a local directory from the xmissions site on a windows xp system.



http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

I tried the steps laid out in your faq.

$ mount
C:\cygwin\bin on /usr/bin type system (textmode)
C:\cygwin\lib on /usr/lib type system (textmode)
C:\cygwin on / type system (textmode)
c: on /cygdrive/c type system (textmode,noumount)
p: on /cygdrive/p type system (textmode,noumount)
z: on /cygdrive/z type system (textmode,noumount)

$ umount /usr/X11R6/lib/X11/fonts/
umount: /usr/X11R6/lib/X11/fonts/: No such file or directory

And then reinstalling the x11 packages from setup.exe.


Actually, your reinstallation with DOS line endings has pretty
much doomed the recommended process to failure.  But it wasn't
really needed anyway if you were wiping your installation and
reinstalling.  But then you chose DOS line endings...

I still get the same error.  Any ideas?  


Yep.  Try reinstalling from scratch with UNIX line endings.
You won't need to fiddle around with the process described in FAQ
entry then

If you _absolutely_need_ DOS line endings for some files,
mount a particular directory(s) as DOS afterwards.  Don't
remount the default mount entries though.  You'll just get
yourself back into a state that will bring you a world of
hurt.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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 doesn't launch anymore

2008-09-19 Thread Larry Hall (Cygwin X)

Ludovic Hoyet wrote:

  Hello !
  I have got some trouble lately with my cygwin X server. I was 
perfectly working before, but now when I try to launch startXwin, the X 
icon appear in the systray bar and then desappear.


What have you recently installed that may impact X?  Sounds like it could
be a case of http://cygwin.com/acronyms/#BLODA to me.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: how to start windows applications

2008-09-17 Thread Larry Hall (Cygwin X)

thetrystero wrote:

i've just installed cygwin and am noticing some inconsistencies between
executing commands from the command line versus executing them through a
batch file. for example when I try to do

start excel a.xls

I get bash: start: command not found

but if I put this in a batch file, a.bat say, and the subsequently executing
a.bat the the cmd line, it works fine.
Another one is changing directories. Say I'm in C: and I'd like to change to
U:\temp. The following sequence works in the batch file but not at the
command line:

U:
cd \temp

Any help will be much appreciated!


Cygwin is not DOS.  That's really the crux of your problem.  You've already
been given one alternative way of doing what you want with start in a
Cygwin/POSIX/Linux way.  For the cd, cd /cygdrive/u/temp will do what
you want.  If you plan to use Cygwin tools and shells, you should try to
work with the environment rather than against it.  A read through the Cygwin
User's Guide http://cygwin.com/cygwin-ug-net/ should help some.
Linux/Unix guides and tutorials should help too.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Empty screen when opening X Terminal

2008-09-10 Thread Larry Hall (Cygwin X)

Sandra Sandra wrote:

Hi, I am relatively new to Cygwin, I've tried to search through the
archive but couldn't quite find exactly what i'm looking for.

I've installed Cygwin few months ago, then recently when I try to open
XTerminal, I am getting a blank screen. I've tried opening it
throughstartx, startwinx.bat, startwinx.sh,  however, still nothing
inside the Xterminal screen.


If this has worked and recently stopped, the question would be what changed?
Could it be the result of http://cygwin.com/acronyms/#BLODA?

Nothing in your log jumped out at me as being related to your problem,
though I'm no X expert.  Perhaps looking at your 'cygcheck' output
would provide some other hints.  See http://cygwin.com/problems.html
for more details on running 'cygcheck' and guidelines for submitting
problem reports.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Fatal Error on start up

2008-08-26 Thread Larry Hall (Cygwin X)

Nadia Dimitrova wrote:

Dear Cygwin,


One copy of a request is more than enough BTW.

I am trying to install FontForge on my Windows Vista laptop and I need 
Cygwin shell to run it. To set environmental variables they suggest I 
run a BAT file.  It looks like it succeeds with the variables but it 
cannot execute XWin at the end.


Could you please help me figure out what is wrong with my Cygwin 
installation.


I get a message


snip


Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress
--

See starxwin.BAT file at the end of this message.

I appreciate your help.


See the FAQ entry:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Running a simple GUI app

2008-08-22 Thread Larry Hall (Cygwin X)

John Emmas wrote:

Thanks Phil,

As it turns out, a lot of my problems have been solved by doing something
called a rebase (I needed to start 'ash' and then type 'rebaseall').

There's very little information about this on the internet.  Can anyone 
explain what exactly I've done and why it's improved things so much?


Did you read '/usr/share/doc/Cygwin/rebase-2.4.3.README'?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: ioctl in cygwin

2008-08-18 Thread Larry Hall (Cygwin X)

Lihong Chen wrote:

Hi,
Can anyone tell me if ioctl works the same like linux or not?
If they work differently, how to do the ioctl call in cygwin environment?


The idea is that it's the same as Linux.  If you're having a problem, report
it to the main Cygwin list unless it's intricately tied to X.  You'll get
better visibility to general issues there.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Window icons in multi-window mode

2008-08-01 Thread Larry Hall (Cygwin X)

Raul Acevedo wrote:

I asked about this a few days ago and got no response so I thought I'd try
again...

When in multi-window mode, all X windows iconify to the Windows taskbar
using the same generic X icon.  Is there a way to get Windows to use the
X11 icon that would normally be used if you were in root window mode with
a window manager?  E.g. Emacs would iconify using its normal X11 icon,
XTerm would iconify with its icon, etc.


I think the lack of an answer can be interpreted as a no, not that we know
of.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Window icons in multi-window mode

2008-08-01 Thread Larry Hall (Cygwin X)

John J. McDonough, WB8RCR wrote:


- Original Message - From: Larry Hall (Cygwin X) 
I think the lack of an answer can be interpreted as a no, not that we 
know

of.


Seems as if there is a way since sometimes, some of the apps DO use 
their X11 icons.  In fact, emacs is a case in point.   See:


http://www.mi-nts.org/sl/icons.jpg


Someone will correct me if I'm wrong but I believe the intent of the
OP was to ask Is there a configuration switch that one can throw to
see the X11 icons on the Windows frames?  The answer to that is no,
not that we know of.  If the question is instead Can individual apps
be built and/or configured provide icons to be shown by the Windows
manager?, the answer is yes.  But these are vastly difference questions
with very different scopes and presumed levels of technical expertise.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: unable to use x forwading from cygwin shell

2008-07-30 Thread Larry Hall (Cygwin X)

mnedai wrote:

1. installed cygwin on xp sp2
2. started shell
3. ssh -Y -p 22 [EMAIL PROTECTED]
4. export DISPLAY=localhost:0.0

 
Don't do this.  'ssh -X' and 'ssh -Y' set DISPLAY properly if the X-server
is running on your local system.


5. no error (just exit code) application did not start
6. $ net helpmsg 53

The network path was not found.


Sounds like the classic symptom of a missing needed DLL.  Run
'cygcheck ssh' on your local system to find the DLL(s) that's missing.
Then install the package(s) with the needed DLL(s).

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: unable to use x forwading from cygwin shell

2008-07-30 Thread Larry Hall (Cygwin X)

mnedai wrote:

other thing, I use yout method and set up DISPLAY on my local xserver:
$ ssh -X -p 22 [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Tue Jul 29 14:44:10 2008 from ciber-2863399a4.dcciber.com

sandbox1*sand1-/home/oracle
1001$ xclock 
[1] 30439

sandbox1*sand1-/home/oracle
1002$ connect localhost port 6000: Connection refused
X connection to localhost:10.0 broken (explicit kill or server shutdown).


Sounds like you have a firewall blocking port 6000.


[1]+  Exit 1  xclock

sandbox1*sand1-/home/oracle
1002$

ote author=mnedai
Larry, thanks a lot. I read your answers to the other similar posting, and
this is the reason I collected the information below.
I'm trying to figure out how to map dlls to the packages, but this is what
what I got when runnning:
[EMAIL PROTECTED] ~
$ cygcheck ssh
Found: C:\cygwin\bin\ssh.exe
C:\cygwin\bin\ssh.exe
  C:\cygwin\bin\cygcrypto-0.9.8.dll
C:\cygwin\bin\cygwin1.dll
  C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\RPCRT4.dll
  C:\WINDOWS\system32\Secur32.dll
  C:\cygwin\bin\cygminires.dll
  C:\cygwin\bin\cygz.dll


Actually, this looks fine.  Given that you got further with your attempt
above, I'm assuming that the original complaint was related to the setting
of DISPLAY before.  If you were missing a DLL here, 'cygcheck' would
complain about the one(s) it wanted but couldn't find.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: unable to use x forwading from cygwin shell

2008-07-30 Thread Larry Hall (Cygwin X)

On 07/30/2008, mnedai wrote:
I've installed all the x packages again. xterm and xclock from the bash 
cygwin gviving error: $ Error: Can't open display: localhost:10.0 [1]+ Exit 
1 xclock


Again, I think the question is, have you started the Cygwin-X server?
Without it running on your local machine, you're likely to see allot
of the problems you've been reporting.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Question about repository structure

2008-07-24 Thread Larry Hall (Cygwin X)

Robert G. (Doc) Savage wrote:

Some time ago a second directory structure appeared in Cygwin mirrors.
They now have 'release' and 'release-2' folders, along with
corresponding 'setup' and 'setup-2' .ini, .bz2, and .sig files.

Both appear to contain the same subfolders. The contents of the
'release' subfolders look like all release versions of GNU utilities,
both current and archival, going back to 2002. Those in 'release-2' look
like only the most current versions.

Are my interpretations correct? If so, which does the 'setup.exe'
installer use? Can one of those two 'release' folders be deleted to
allow the rest to fit on a DVD?


You can delete release-2/setup-2 for now.  These are the upcoming
1.7 series packages.  Unless you're a package maintainer, you don't
want these.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Cygwin and vista 64 bit

2008-07-02 Thread Larry Hall (Cygwin X)

yu xuesheng wrote:

Hi, all:

I don't sure if Cygwin can run under Vista 64 bit. I can't find the
information on Cygwin.com.


From the main Cygwin project page:

  The Cygwin DLL currently works with all recent, commercially released x86
  32 bit and 64 bit versions of Windows, with the exception of Windows CE.


I installed it under my Vista 64bit. But when I tried to build a .dll
file  under bash, got following errors:

3 main collect2 48460 c:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\collect2.exe:*** 
fatal error - fork:
can't reserve memory for stack 0x28c990-9x29, win32 error 487


Do you know how to fix this? Thank you!


Sure.  There's allot of talk about this in the email archives.  It's
typically either a problem with DLL base load addresses colliding or
http://cygwin.com/acronyms/#BLODA.  The former is fixed by installing
the rebase package and reading its readme.  The latter has a link
that should help you.  It seems to be the more common cause of this
problem of late. ;-)


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: New Maintainer

2008-03-27 Thread Larry Hall (Cygwin X)

DRC wrote:

It's pretty simple.  You have to package new new releases of X.org for
Cygwin and support people on this mailing list.


Well, I'm willing to give it a try at least.  I know nothing about Cygwin
packaging, but I have experience building X.org on Windows.  My project
(VirtualGL) needs Cygwin/X because of its support of the MIT-SHM extension,
and we have access to plenty of build machines.


Sounds terrific! :-)


Is there a spec for which files go in which packages, etc.?  Any other
advice to get started, or should I just start downloading and tinkering?


You can find a bunch of info about packaging here:

http://cygwin.com/setup.html

The one thing that's somewhat dated is the use of gbs as the packaging
method.  I haven't looked but I expect the current X packages use that.
While it's still possible to use, 'cygport' is preferred.  But it's still
the choice of the maintainer.  It is best to stick with one of the existing
options though since there's some familiarity with them in the community.


I assume that part of the duties are to also feed back patches into the
master X.org repository to fix the Cygwin build, etc.


Yes, definitely.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: how to install sql into cygwin ?

2008-03-06 Thread Larry Hall (Cygwin X)

bh_hensem wrote:

Hi..

Could somebody help me how to install the mysql database on cygwin and where
i can got the installer ?

Thank you..



This is really not X-specific so the main Cygwin list would be the more
appropriate place to ask this.  In any case:

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=mysql%5C.exe

As you can see, there is no mysql in the Cygwin distribution.  If you google
around, you can find a mysql package for Cygwin's setup.exe at
http://cygwinports.dotsrc.org/ at least.  But if you have problems with
this package or any others you might find on the web, please direct them
to the providers of the package, not the Cygwin lists.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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 debugging xset command inside batch script (revised)

2008-02-19 Thread Larry Hall (Cygwin X)

jjo wrote:

Allen, Matthew MAllen at utcretail.com writes:


You should be able to simply set the DISPLAY variable and get xset to
work that way. The other option I'd think you should be able to do is
use a -display option to xset. But I haven't confirmed xset has it.



Thanks, Allen. Indeed, xset does have a '-display' option and using it with
'localhost:0.0' fixed the problem with my Windows/DOS script.


The next question is this:

At the end of my script I start Mathematica on the remote computer and display
its front end in a local X window with this command

   rxvt -e ssh -Y remote_computer_name mathematica

This works but leaves behind a superfluous RXVTerm that I'd rather not see.

This should work without the extra RXVTerm, but doesn't

   ssh -Y remote_computer_name mathematica

Why?


Again, DISPLAY not set?  But your alternative will leave you with a
console window, or at least briefly.  If this is not tolerable, check
out 'run'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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 debugging xset command inside batch script (revised)

2008-02-19 Thread Larry Hall (Cygwin X)

jjo wrote:

Larry Hall (Cygwin X reply-to-list-only-lh-x at cygwin.com writes:


Again, DISPLAY not set?  But your alternative will leave you with a
console window, or at least briefly.  If this is not tolerable, check
out 'run'.



I have to admit that adding the line
   set DISPLAY=localhost:0.0
before 
  ssh -Y remote_computer_name mathematica

solved the problem of the superfluous rxvterm (Thanks!).

However, why then does the man page for ssh admonish users against setting the
DISPLAY variable manually?


You should not set the DISPLAY variable manually on the _remote_ system.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: fatal error

2008-02-05 Thread Larry Hall (Cygwin X)

Carlos Moran Tejeda wrote:

Dear Cygwin staff:
Im a new user of Cygwin. I was trying to run Grass under Cygwin but when 
I type startx in the comand console a fatal error occurs. The 
description is


snip


Fatal server error:
could not open default font 'fixed'

Please, could you let me know how to fix it?


Have you looked in the Cygwin-X FAQ?  Here's one hit that seems relevant:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

Other troubleshooting entries may prove helpful to you as well.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Use remote graphical program

2007-12-26 Thread Larry Hall (Cygwin X)

horacioemilio wrote:

Hi,

I am trying to use a remote program which is installed on a remote linux
machine. In these situations I usually do;

0) on my windows machine I start cygwin and afterwards use startxwin.sh

1) ssh -X name-of-the-gateway-machine

2) ssh -X name-of-the-linux-machine-inside-the-remote-network

3) program-name 

and programs like emacs or firefox appear on my desktop.

But for some other program which uses more advanced graphics it does not
work, I get the following error message;

[EMAIL PROTECTED]:~ Xlib:  extension GLX missing on display localhost:10.0 
.

Xlib:  extension GLX missing on display localhost:10.0.


snip



Do you know how could I overcome this situation ?


This is more appropriately directed to the Cygwin X list.  I've reset the
Reply-To there.  Please send any follow-up the the Cygwin X list.

From the above, it's clear the application you're trying to use wants
to access the underlying hardware (via OpenGL).  This is not supported
in the current Cygwin X server.  I believe there is a MinGW version which
has some support for this though.  You may want to investigate that.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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 with installing the X environment

2007-12-26 Thread Larry Hall (Cygwin X)

On 12/26/2007, David Garber wrote:
When I run it with xwin, I got the window, but if I try to run xterm  or 
anything else, I got exit 53 immediately afterwards. 


NET HELPMSG 53 Returns: The network path was not found.

This means you're missing a required DLL.  Run 'cygcheck xterm' to find out
what's missing and then 'cygcheck -f full path to DLL' to find out what
package you need to install to fulfill this requirement.  Then re-run
'setup.exe' and install that package.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Fwd: ForwardX11 not working

2007-12-13 Thread Larry Hall (Cygwin X)

Mirko Vukovic wrote:

Hi,

I have cygwin installed as a server on my desktop.  I can log into it
from my linux box using ssh, but I cannot open displays on the linux
box.

By that I mean that if I login in using ssh, and invoke a command that
should open a window (like gnuplot), it opens the plot on the server,
and not on the client.

Here is my setup (the cygwin distribution is a few days old).

On the desktop (server),

 - I have ran ssh-host-config and set CYGWIN=ntsec server.  I said yes
to privilege separation, and I have an sshd user in /etc/passwd
 - I have set DISPLAY=localhost:0.0 in .bash_profile

^^
Don't do this.


On my linux box (client), I have an ~/.ssh/config file with the lines
in the section refering to the server: ForwardX11 yes and
ForwardX11Trusted yes

I can login to the server from both the linux box and my laptop (where
I also have cygwin), and can run unison (which requires ssh).

I read the various doc's and searched mails (does not mean I
understood everything), which resulted in the above setup.  I am
including the output of cygcheck.

Any suggestions as to what I may have missed, or what server/client
setting I can look at?


See above.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Cygwin installation on windows server2003

2007-12-11 Thread Larry Hall (Cygwin X)

Pradnya Vairagare wrote:

Hi,

I'm facing problem in installing cygwin on windows
server 2003. Installation doesn't proceed after 10% or
so.

Can someone suggest what is missing to install cywin
successfully? What are the steps need to follow or
some settings need to do?



This can be caused by http://cygwin.com/acronyms/#BLODA.
Check into this or other AV/firewall/anti-spam software you
have installed.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: FW: Problem starting xwin in windows domain

2007-11-29 Thread Larry Hall (Cygwin X)

Paul Mulcahy wrote:

Hi,

I recently started migrating users to a Windows domain. We have all been
using Cygwin for some time but now in the domain I am experiencing problems.
Worse still I can not revert to a working version.

I have tried reinstalling and uninstalling but the same problems persist.


If you're going to reinstall, why not bring yourself up-to-date.  Your
cygwin package is years out-of-date.  I expect others, with the likely
exception of all things X, are in a similar state.


I am probably missing something but I see no reason it won't start and have
been unable to find a solution on the web.

We are completely unable to start XServer, it errors out. I got an error
message saying to contact here.


And the message is?

snip




Cygwin Configuration Diagnostics
Current System Time: Wed Nov 28 16:16:34 2007


.
.
.


We prefer that you attach rather than append your cygcheck output.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: FW: Problem starting xwin in windows domain

2007-11-29 Thread Larry Hall (Cygwin X)

Paul Mulcahy wrote:

Maybe you have a problem with ntfs file permissions.
The domain users must have at least write access to tmp and their home

directory, and read access to most of the rest. The domain Administrator
usually  is in the local Administrators group and will have access
(depending on your domain setup).

I suspect it is somewhere in permissions but I have allowed the user and
group full access to the C: drive (my machine and test machine). None of
this has helped.


Did you use mkpasswd to add the domain accounts to cygwins passwd file?


Yes I've done this too but it has made little difference. The warning
message at the start is gone but it is still the same error message.

Are there any registry files that Cygwin needs? I suspect there is something
that it can not access that it needs but I am unsure what.


If you can run cygwin.bat from a command prompt (or just click on it) and
you get a command prompt running bash, I think you can eliminate any
possibility of incidental registry keys that Cygwin uses (or may not use,
going forward).

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Can start xeyes but not xclock

2007-11-25 Thread Larry Hall (Cygwin X)

Michael Defoin Platel wrote:

Hi,
I just installed a cygwin/x environment on a mahcine with XP running.

Everything seems to be okay. The X server starts smoothly and I can
run some programs such as xeyes, xemacs or display.
However  some others such as xterm, xclock, xload fail without any
error message.

For example:


xterm



echo $?

53

The TERM variable is set to cygwin and DISPLAY to localhost:0.0

Does anybody get what's going on ?


# net helpmsg 53

The network path was not found.

This means one of the DLLs the failing application needs can't be found.
'cygcheck xterm' will give you a list of DLLs required and complain about
those that are missing.  Make sure the packages with the missing DLLs are
are installed.  Repeat for other apps.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Workaround for foreign keyboard problem to be entered in FAQ section 4.1.6

2007-11-16 Thread Larry Hall (Cygwin X)

[EMAIL PROTECTED] wrote:

Hi all:
 
I recently hit the foreign keyboard problem described in section 4.1.6

of the Cygwin/X FAQ. That is, I started with:

 $ setxkbmap.exe de -model pc105
  
 Couldn't interpret _XKB_RULES_NAMES property

 [...]
 
and then I tried what the FAQ said, but I got the following error:


  $ xkbcomp -w 3 -xkm -m de /etc/X11/xkb/keymap/xfree86 localhost:0.0
  Error:Can't find file xfree86 for keycodes include
Exiting
Abandoning keycodes file it

I googled for it, and after a while, I found the solution:

   I had the same problem...
   By copying the /etc/X11/xkb directory
   into /usr/X11R6/lib/X11/xkb
   It seems to work pretty well now...

(just in case, I renamed the existing file
C:\cygwin\usr\X11R6\lib\X11\xkb.lnk beforehand to xkb.bak.lnk before
copying over)

I don't know enough about Cygwin to realise how and why that is; all I
know is, when I copy that directory, my German keyboard works fine in
my X apps.


http://cygwin.com/acronyms/#WJFFM


I'm not sure if it's a bug that could be fixed, but the FAQ entry could
be updated to help people like me. Who's maintaining the FAQ?


No one at the moment. :-(  Would you be interested in taking it up?


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Eliminating dead keys under X

2007-11-07 Thread Larry Hall (Cygwin X)

Torsten Bronger wrote:

Hallöchen!

I use X applications that run on a remote Linux server on my local
Windows system.  I use PuTTY and Cygwin's X server for this.
Unfortunately, ~, ', ` etc are dead keys in this configuration.  How
can I change this?



Is something like:

http://groups.google.com/group/comp.windows.x.i386unix/browse_thread/thread/8a39afff9456db76/6d72de4d298cf37c?lnk=raot

not the answer?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: stopping the cygwin X Server

2007-11-07 Thread Larry Hall (Cygwin X)

John Windberg wrote:

There's a nifty startxwin.bat file for starting the x server, but I
was wondering how to stop it. So I went searching and found:

http://x.cygwin.com/docs/ug/using-stopping.html

When you are done using Cygwin/X, press Alt-F4 to shutdown the X
Server; this is the default key combination to shutdown the X Server.

As far as I can tell, this is quite wrong. Alt-F4 will close any open
window, but not the server, but if you are rootless, and there are no
X apps open, alt-f4 simply closes whichever windows app you have open.
the xwin.exe process continues to run.

You cannot switch to the xwin process to bring it forward to then
close it. There is no way to send an alt-f4 to it.

Should there be a stopxwin.bat?



Why not stop it with Exit on the context menu of the X icon in the
status bar?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Cannot open X

2007-11-05 Thread Larry Hall (Cygwin X)

Arnaud Madur wrote:

Hi,



I am a new Cygwin (1.5.24-2) user and  I am not able to start X. 



You will find enclosed :

1) cygcheck.out = comments from cygcheck

2) startx.out comments from startx bug report
(generated with startx  startx.out)

3) Xterm.out comments from Xterm bug report (generated with Xterm  Xterm.out)
4) mount.out comments from mount bug report (generated with mount  mount.out)

I tried to fix the fixed fonts bug by following this FAQ
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof but nothing
worked.

Let me know what I could do.


Remove 'cygwin1.dll' from 'C:\WINDOWS\SYSTEM\cygwin1.dll'.
Use 'startxwin.bat' or 'startxwin.sh', depending on whether you're
starting it from a DOS shell or bash.
Text mode mounts are not recommended.  Text mode mounts for '/usr/bin' and
'/usr/lib' are asking for trouble.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Cannot open X

2007-11-05 Thread Larry Hall (Cygwin X)

Arnaud Madur wrote:

I removed cygwin1.dll.
Mounts are now in bin mode.
It is not working.

I launched startxwin.sh, see starxwin.out for the bug report.
You'll also find attached the new status through mount2.out, and cygcheck2.out.


Try removing '/tmp/.X11-unix'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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 in X

2007-10-09 Thread Larry Hall (Cygwin X)

fermin selvin wrote:

Dear Sir/Madam,
   I have installed cygwin in my IBM intellistation with windows xp
professional Operating system (64 bit edition). I am experiencing some
difficulties in using the graphical windows which can be invoked
through cygwin terminal. Could you please clarify since i am new to
linux environment?
   when i typed emacs in the terminal, i got the emacs window, but
none of the menu options worked. i was not able to close it even with
C-x C-c. I closed the cygwin terminal instead of getting out of emacs.
when I type 'edit' in bash or csh, it shows 'command not found'.
I had given the command 'init 0' in the terminal and got the
following message from the syatem:
  A fatal error has occurred and Cygwin/X will now exit.
Please open /tmp/XWin.log for more information.
vendor: the cygwin/X project
release 6.8.99.901-4
  contact: cygwin-xfree@cygwin.com
  XWin was started with the following command line:
/usr/X11R6/bin/XWin -multiwindow -clipboard -silent -dup -error


 Kindly suggest me what to do to make my cygwin work well with emacs
and X window.



Please read and follow the problem reporting guidelines found here:


Problem reports:   http://cygwin.com/problems.html


Other questions:

  o What is the cygwin terminal you're using?
  o Does your CYGWIN environment variable contain 'tty'?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: xterm

2007-08-31 Thread Larry Hall (Cygwin X)

Ronald Fischer wrote:

Cole Radcliffe wrote:
When I try to run xterm -e /usr/bin/bash -l from the 

cygwin shell I
get an error that says xterm Xt error: Can't open 

display DISPLAY

is not set


Make sure the X server is running first (run 'startxwin').


This might not sufficient - at least it is not in my system: 
Even when you start the X server (in my case in multiwindow

mode), but then try to start xterm from a CMD Cygwin shell
(such as from the shell you get when opening the Cygwin
icon which is created by default when you setup Cygwin initially),
you get the above error message.

The trick is that in your startxwin, you have to create at
least one xterm (or rxvt) initially. From this, you can then 
open others.


I don't know about your copy but te stock startxwin does this already.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: emacs does not work, emacs-nox works

2007-08-31 Thread Larry Hall (Cygwin X)

Fredrik Staxeng wrote:

Larry Hall (Cygwin X) [EMAIL PROTECTED] writes:


Fredrik Staxeng wrote:

Xwin works, xterm works, but when I try to run emacs it just silently exits.

Run 'cygcheck emacs' and see if it reports any missing DLLs.  If so, find
this missing package(s) you need to install via 'cygcheck -p missing DLL
name'.  Rerun 'setup.exe' and install those packages.  Try again.


Thank you for your help, it wprks now.  Turns out the missing dll was
cygtiff4.dll, which is in the libtiff4 package. 


Is setup.exe supposed to handle dependencies? Should I file a bug
report?  



Thanks for the feedback.  Believe it or not, you've already implicitly
filed a bug report. ;-)  The normal procedure is to report all packaging
problems to the cygwin-apps list.  Chris Faylor has done this for you
already in this case so you needn't do so yourself.

'setup.exe' does handle dependencies as they are defined in 'hint'
files provided by Cygwin package maintainers.  Your sleuthing has uncovered
a missing package from the hint's dependency list for emacs.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: xterm

2007-08-31 Thread Larry Hall (Cygwin X)

Mark J. Reed wrote:

  Make sure the X server is running first (run 'startxwin').

This might not sufficient - at least it is not in my system:
Even when you start the X server (in my case in multiwindow
mode), but then try to start xterm from a CMD Cygwin shell
(such as from the shell you get when opening the Cygwin
icon which is created by default when you setup Cygwin initially),
you get the above error message.


Well, sure.

X allows individual programs running on one computer to display
selectively on a different one over the network, which is quite handy.
 You can also have multiple X servers running on the same host, thanks
to things like virtual consoles, Xnest,  Xvnc, etc.

But that means that an X client can't safely make assumptions about
where the X server is.  So you have to tell it.

.
.
.
snip


While this is technically true, if the Cygwin X server has been started
with startxwin in the installed configuration, none of this is necessary.
Unless the OP reports that the X server has been started in this way but
still has a problem, I believe the most obvious cause of the problem
is that the X server is not running.  But since the OP also implied that
he may not be reading the list, I'm not sure we'll know for sure what
specifically is causing the problem.  So it's probably not worth speculating
about the multiple complicated ways that one can get this same message,
unless there's some follow-up from the OP that suggests doing so would be
worthwhile.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: xterm

2007-08-30 Thread Larry Hall (Cygwin X)

Cole Radcliffe wrote:

When I try to run xterm -e /usr/bin/bash -l from the cygwin shell I
get an error that says xterm Xt error: Can't open display DISPLAY
is not set



Make sure the X server is running first (run 'startxwin').



Also, how can I get the replies to this message e-mailed to me?



If you want to guarantee it, subscribe to the list.  If you want to
depend on the charity of others, make the request to be cc'd on all
replies.  This usually breaks down after more than one iteration but
it can be acceptable for some people and short threads. :-)


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Two issues with Xwin

2007-08-27 Thread Larry Hall (Cygwin X)

On 08/25/2007, Thorsten Kampe wrote:
* I regularly lose the mouse pointer and I'm unable to the the cursor 
anymore in applications like Konsole (either natively or running as X 
client on a Linux host). The mouse still works if I blindly click 
somewhere, just the cursor is gone. This happens with -lesspointer or 
without. Any ideas?


Known issue.  Use the option off the context menu of the X icon in your
status bar to show the cursor again.  That's the current work-around.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Two issues with Xwin

2007-08-27 Thread Larry Hall (Cygwin X)

Thorsten Kampe wrote:

* Larry Hall (Cygwin X) (Mon, 27 Aug 2007 09:10:28 -0400)

On 08/25/2007, Thorsten Kampe wrote:
* I regularly lose the mouse pointer and I'm unable to the the cursor 
anymore in applications like Konsole (either natively or running as X 
client on a Linux host). The mouse still works if I blindly click 
somewhere, just the cursor is gone. This happens with -lesspointer or 
without. Any ideas?

Known issue.  Use the option off the context menu of the X icon in your
status bar to show the cursor again.  That's the current work-around.


Okay, thanks, worked. Do you have some background information why this 
happens and when? Because I have the feeling that sometime it happens 
after a few minutes and sometimes after hours or not at all.



No, I don't.  You can check the email archives for more, though I don't
recall if there was more in the way of specific details or not.  It is
definitely a random occurrence.  I don't see it very much myself but I
do use the Xming server more regularly than the Cygwin version.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: FW: X forward question

2007-08-20 Thread Larry Hall (Cygwin X)

http://cygwin.com/acronyms/#TOFU.  Reformatted.

liang wrote:

-Original Message-

Subject: Re: FW: X forward question

liang wrote:
From: liang [mailto:swang2000ATgmailDOTcom] 

^^^

Sent: Sunday, August 19, 2007 3:40 PM
To: 'cygwin-xfreeATcygwinDOTcom'

 ^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Yes, I know gmail doesn't do
this kind of thing automatically but it never hurts to ask.  In the meantime
you're left with manual editing.  A pain, I know.  But it's better than
opening yourself and others up to spamming.



I think you're looking at the wrong software to solve your problem.  If you
just want to run Windows programs on other machines, you can always
try connecting to a shared drive on the server and running the installed
program from the client.  But you're not going to find Cygwin X helps you
do this.


 Thanks for reply.
 So, do you think that windows 2003 server is the solution for my goal?
 Or any other options I have. Please give me some suggestion.
 Basically I need to set up a super computer which allows several clients
 to run applications for computing simultaneously. I think the windows are
 the best environments since most of users are familiar windows systems.


If you want users to be able to log into your machine and run Windows GUI
(and command line) programs from that machine, you're probably best off
setting it up as a Windows server machine, yes.  Users can connect through
Terminal Services to run a desktop on the server and invoke programs from
there.

Discussion of things other than Cygwin-X is really off-topic for this list
though.  I'd suggest if you have more questions about setting up a machine
to act as a server for stock Windows applications, you should take them to
the proper Windows forum.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: FW: X forward question

2007-08-19 Thread Larry Hall (Cygwin X)

liang wrote:


From: liang [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 19, 2007 3:40 PM

To: 'cygwin-xfree@cygwin.com'
Subject: X forward question

Hi, 


1. I just to subscribe the mailing list, so I can reply the email now. Sorry
to start a new thread.
2. I start x server with double click startxwin.bat under /etc/x11r/bin, a
window starts and X show in the system tray.
3. I typed xterm and start a new window
4. In new window, I typed ssh –Y –v –l  ZwLi 192.168.1.101  (internal
network, wireless)
  $ssh -Y -v -l ZwLi 192.168.1.101
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Connecting to 192.168.1.101 [192.168.1.101] port 22.
debug1: Connection established.
debug1: identity file /home/swang/.ssh/identity type -1
debug1: identity file /home/swang/.ssh/id_rsa type -1
debug1: identity file /home/swang/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.6
debug1: match: OpenSSH_4.6 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.6
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.1.101' is known and matches the RSA host key.
debug1: Found key in /home/swang/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/swang/.ssh/identity
debug1: Trying private key: /home/swang/.ssh/id_rsa
debug1: Trying private key: /home/swang/.ssh/id_dsa
debug1: Next authentication method: password
[EMAIL PROTECTED]'s password: 
debug1: Authentication succeeded (password).

debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
Last login: Sun Aug 19 15:05:49 2007 from unc-zofo4lkabzt

[EMAIL PROTECTED] ~
$
5. I believe that I logged on the sshd server on ZwLi computer.
6. Typed cd /cygdrive/c/program\ files/picasa2 to change folder on the
server
7. Typed ./picasa2.exe and tried to run picasa to test if X forwarding is
working
8. I can see the picasa2.exe running on my sshd server since I can see a
process running in the windows task manager on the server. But there is
nothing happened in my ssh client end.
Do I suppose to see a picasa2 window opened in ssh client end? 


No.  You're running a MS Windows program that knows nothing about X.
Cygwin's X server will not magically transform the output of Windows
programs into X windows locally or otherwise.

9. Before I started my ssh session, I typed display=localhost:0.0
   Export display after I

started X server


Don't do this.  It's not needed and it's not correct.


10. My sshd server and client are both running on XP professional
11. I desparately need to run Rgui on my sshd server from ssh client. I
didn’t install X server on the computer running sshd server.

Do I miss something? Or I am totally wrong. My goal is to run windows
application on the sshd server from every ssh client (both sshd server and
ssh client installed XP).


See above.


12. I replaced “#X11forward no” with “X11forward yes” in the file
sshd_config on sshd server. But I didn’t revise ssh_config  on the ssh
client machine since I cannot find the file ssh_config under /etc/ folder.
Please give me some helps. And thank everybody who replyed my email before.


I think you're looking at the wrong software to solve your problem.  If you
just want to run Windows programs on other machines, you can always
try connecting to a shared drive on the server and running the installed
program from the client.  But you're not going to find Cygwin X helps you
do this.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: XWin starts but hangs as soon as I start an X-application

2007-08-18 Thread Larry Hall (Cygwin X)

Jay Abel wrote:

I'm having similar trouble, starting yesterday.  xterm and xclock both
hang as described, but xeyes, xfig and rxvt all work.


And have you installed any dodgy app recently?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: XWin too slow to start

2007-08-13 Thread Larry Hall (Cygwin X)

Stephen More wrote:

For years I have been using fvwm2 and cygwin, but today it stopped working.

The only way I could get it to work again was to insert a 'sleep 15' between:

XWin -clipboard -rootless -silent-dup-error 

sleep 15

fvwm2 



Without the sleep, fvwm2 actually executes first but has no X server
to connect to.
What is causing XWin to startup so slow ?



Good question.  What did you change recently?  Certainly nothing in the
X packages has changed for years, so you've either updated another Cygwin
package which is causing you trouble or you've introduced an external
change.  But of course you realize that you're providing no mechanism
that synchronizes X and fvwm, right?  Regardless of how slow or fast
the X server startup is, you've still got a potential problem there.

That said, submitting a problem report may shed some light on your problem:


Problem reports:   http://cygwin.com/problems.html


My WAG is that you've changed some network/firewall settings that are
slowing down the X server startup.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: XWin too slow to start

2007-08-13 Thread Larry Hall (Cygwin X)

Stephen More wrote:

On 8/13/07, Larry Hall (Cygwin X) reply-to-list-only-lh-x AT cygwin DOT 
com wrote:

 ^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.



Stephen More wrote:

What is causing XWin to startup so slow ?


Good question.  What did you change recently?


Like all users would sayI did not change a thing.
( Could it have been an automatic update for XP ? )
I even re-installed cygwin from scratch to debug this issue.



As I mentioned, the X stuff hasn't changed in years (as there is no
maintainer - you want to be it?) so I would expect much help here.
As for whether the auto update of XP could have an effect, the answer
is of course!






My WAG is that you've changed some network/firewall settings that are
slowing down the X server startup.


What type of network traffic is the X server trying ? Is it trying to
do DNS lookups ? Is it trying to connect to a website ?



X uses TCP by default for it's connections.  6000 is the common default
port.  You can change and/or disable that of course if you want (see
the X server documentation).



After a strace -o /tmp/strace XWin  followed by sort -n /tmp/strace
I see 2 large pauses:

   21   20702 [sig] XWin 972 wait_sig: signalling pack.wakeup 0x6E8
   43   20745 [main] XWin 972 sig_send: returning 0x0 from sending signal -34
   44   20789 [main] XWin 972 writev: writev (3, 0x22C780, 1)
   32   20821 [main] XWin 972 fhandler_base::write: binary write
   34   20855 [main] XWin 972 writev: 34 = write (3, 0x22C780, 1), errno 2
20775776 20796631 [main] XWin 972 sig_send: sendsig 0x6E4, pid 972,
signal -34, its_me 1
   57 20796688 [main] XWin 972 sig_send: wakeup 0x6D8
  108 20796796 [main] XWin 972 sig_send: Waiting for pack.wakeup 0x6D8
   28 20796824 [sig] XWin 972 wait_sig: signalling pack.wakeup 0x6D8


29 235 [main] XWin 2844 set_myself: myself-dwProcessId 2844
   58 293 [main] XWin 2844 child_copy: dll data - hp 0x5AC low
0x6110, high 0x61104BA0, res 1
24014688 24014981 [main] XWin 2844 child_copy: dll bss - hp 0x5AC low
0x6113F000, high 0x611483D0, res 1
  272 24015253 [main] XWin 2844 child_copy: user heap - hp 0x5AC low
0x100F, high 0x1013, res 1
   28 24015281 [main] XWin 2844 child_copy: done
  574 24015855 [main] XWin 2844 child_copy: data - hp 0x5AC low
0x733000, high 0x77EDD0, res 1
  298 24016153 [main] XWin 2844 child_copy: bss - hp 0x5AC low
0x7D9000, high 0x80B3F0, res 1
   29 24016182 [main] XWin 2844 child_copy: done


Does this info help at all ?



Not really no.  However, if you had not changed any Cygwin piece prior to
noticing the problem, I think it's safe to assume that the delay is
introduced by some external change, which is why I mentioned network and
firewall possibilities.  Depending on your source for A/V software, this
is a possible culprit too.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Cannot Start X

2007-08-08 Thread Larry Hall (Cygwin X)

Marco Schuler wrote:

snip



I installed cygwin again using UNIX mounts. X works now :-)

Thank you both for your help!



You're welcome.  Thanks for the feedback.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Simple patch to enable stereo visuals in XWin_GL

2007-08-06 Thread Larry Hall (Cygwin X)

On 08/05/2007, DRC wrote:
Hmmm... Well, one of the main reasons why I wanted to pursue integrating 
with Cygwin/X was because I thought it was being actively maintained (I 
guess I was wrong.) I don't think our project has the cycles to maintain an 
X server ourselves, or else I'd volunteer. But just out of curiosity, what 
would be involved?


The packaging guidelines can be found here: http://cygwin.com/setup.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Help: X don't start

2007-08-06 Thread Larry Hall (Cygwin X)

José Cláudio Faria wrote:

Dear members,

I'm new with Cygwin and I've been trying to start X from my cygwin in
the latest week.
I read a lot in FAQ, Google, list of discussion and all documentation
I found, but without success.
So, I'm needing a help!

OS: XP SP2 and my main hardware is:
Proc: AMD Athlon (TM) XP 2000+
Video: NVDIA GeForce4 MX 400

###
Below my XWin.log file
###
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to
lack of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0416 (0416)
(--) Using preset keyboard for Portuguese (Brazil, ABNT) (416), type 4
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!

Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress



Have you tried the FAQ?

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof


cygwin  1.6.9-6


Looks like you're not running the net release of Cygwin.  You may want
to contact Red Hat for support.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: unable to open display 6 times when I try to run any X apps from xterm

2007-06-27 Thread Larry Hall (Cygwin X)

[EMAIL PROTECTED] wrote:

I have uninstalled window's firewall (which was disabled before) and
uninstalled the virus software (AVG).  Still not working.  Can't use xhost
or any X program except xterm without getting 6 errors of - Can't open
display.

I'm a little confused about the response since the output I showed was
from an xterm started using startxwin.bat which launches X before starting
xterm which is an X app?  I have been using this configuration for over 2
years on this box and it suddenly stopped working.



Sounds like this is the key.  What's new to the system since it stopped
working.

You mentioned initially that you have DISPLAY set in your startxwin.bat.
Don't recall off-hand whether that's in there by default (and I'm not at
a machine that has Cygwin-X installed).  If you added this, I suggest
removing it.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Windowmaker not open bash properly

2007-06-26 Thread Larry Hall (Cygwin X)

Scott Mohnkern wrote:
I had Cygwin with Windowmaker running just beautifully, then another 
application came in and installed another xserver (which I've since 
disabled) but now inside windowmaker, whenever I try to open up an Xterm 
window the window opens but I get no bash prompt.


I can type an ls and get a file listing, and a ps gives me processes.

However whenever I try to ssh -Y to another machine, it tells me

Pseudo-terminal will not be allocated because stdin is not a terminal.


Anyone ever seen this before, and a solution?



I'd suggest reading the problem reporting guidelines outlined at the link
below:


Problem reports:   http://cygwin.com/problems.html


You've given us some information about how the problem manifests itself
but it would be helpful to know what other Xserver you installed as well
as basic boot-strap information (i.e. cygcheck output - *attached* not
included/inlined).

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Windowmaker not open bash properly

2007-06-26 Thread Larry Hall (Cygwin X)

Scott Mohnkern wrote:

Apologies, I was following the format of other questions I'd seen here.

Attached is cygcheck.out

The other server was Xvision, which was part of an automatic install of 
Cradle 5.5.x





You (no longer?) have Cygwin in your path.  You're picking up the
Nutcracker/MKS tools now.  Fix your path and give a quick run through of
the rest of your environment to clean up any issues.  Two that caught my
eye are $HOME and $TERM are now incorrectly set.  If you can find where
Nutcracker/MKS sets these and remove/avoid them, you'll have better luck
working with Cygwin.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Windowmaker not open bash properly

2007-06-26 Thread Larry Hall (Cygwin X)

Scott Mohnkern wrote:



Larry Hall (Cygwin X) wrote:

Scott Mohnkern wrote:

Apologies, I was following the format of other questions I'd seen here.

Attached is cygcheck.out

The other server was Xvision, which was part of an automatic install 
of Cradle 5.5.x





You (no longer?) have Cygwin in your path.  You're picking up the
Nutcracker/MKS tools now.  Fix your path and give a quick run through of
the rest of your environment to clean up any issues.  Two that caught my
eye are $HOME and $TERM are now incorrectly set.  If you can find where
Nutcracker/MKS sets these and remove/avoid them, you'll have better luck
working with Cygwin.




That appears to have solved most of it.  Removing the nutcracker entries 
and putting cygwin and cygwin bin in the path got me up and running.  It 
doesn't appear to be pulling my profile up correctly when I open up bash 
(It's defaulting to a different $HOME but I can probably figure out 
where that is set)



It's probably in your system-level environment, which you can access from
the Windows control panel System applet.  Good luck.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: unable to open display 6 times when I try to run any X apps from xterm

2007-06-24 Thread Larry Hall (Cygwin X)

On 06/23/2007, cygwin wrote:
When I try to start any X application, from an xterm, I get the following 
errors. This used to always work but is broke for some reason. I would like 
some direction on how to troubleshoot this. I think this is some kind of 
program running that is getting in the way but can't find which one. Both 
virus and firewall are disabled. Any help will be greatly appreciated. 


Start the X server first (xstartwin).  If that doesn't work, then your
firewall and/or virus scanner are likely to blame, disabled or not.
Uninstall them and try again.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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 losing mouse pointer visibility

2007-06-22 Thread Larry Hall (Cygwin X)

On 06/22/2007, Damien Cymbal wrote:
I am looking for any ideas on how to either resolve or debug this problem 
to the next level.  I am currently using 6.8.99.901-4 of XWin, although I 
have had the following problem through several cygwin updates now.


I am using XWin to start an XDMCP session to an Ubuntu box running a GNOME 
desktop via gdm.  The current version of Ubuntu is 7.04 although I have had 
this problem going against 6.10 and 6.06 as well.


Everything runs fine for me for some intermittent amount of time and then I 
inevitably wind up losing the visibility of the mouse pointer in the X 
server. 


snip

This is a known problem.  The current work-around is to go to the X icon
in the task bar, right click on it, and select the option to restore the
cursor (I forget the precise wording).

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: error message

2007-06-20 Thread Larry Hall (Cygwin X)

[EMAIL PROTECTED] wrote:


The program I am trying to run is over secure ssh and requires the ability to
run emacs in a separate window from the terminal.  I ran it, but it was unable
to generate the separate window.  So I tried using the -multiwindow thing like
in the user guide (which I don't understand at all, probably because I have
about five weeks of experience with linux), and this is what I got:

A fatal error has occurred and Cygwin/X will now exit.  Please open
/tmp/XWin.log for more information.
Release 6.8.99.901-4
...
XWin was started with the following command line:
X :0 -multiwindow -clipboard
Fatal server error: cannot open log file /tmp/XWin.log

I tried fixing it by reinstalling everything, but that didn't work.  What do I
do?



Please read and follow the problem reporting guidelines found at the link
below:


Problem reports:   http://cygwin.com/problems.html



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: a question about setup cygwin in windows xp

2007-06-17 Thread Larry Hall (Cygwin X)

xie xie wrote:

Hello,
I have downloaded the setup file of cygwin from HONGKONG mirror
website,I choose the reinforce way to download the file,but when I
have finished  setup cygwin ,the system shows that the sysytem
cann't find cygwin1.dll,you should re-setup the software.but after I
have done it .the system shows the same.what is the reason.how to
solve the problem .thank you


Please read and follow the problem reporting guidelines described at the
link below:

http://cygwin.com/problems.html

Please send any follow-ups on this issue to the cygwin list since this is
not an Cygwin-X specific issue.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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.sh crashing on XP pro

2007-05-18 Thread Larry Hall (Cygwin X)
Jim Marshall wrote:
 Larry Hall (Cygwin X) wrote:
 Jim Marshall wrote:
 My co-worker just installed cygwin, when he tries to run startxwin.sh it
 crashes.

 A fatal error has occurred and Cygwin/X will now exit.
 Please open /tmp/XWin.log for more information

 Vendor: The Cygwin/X Project
 Release: 6.8.99.901-4
 Contact: xxx
 XWin was started with the following command line

 XWin -multiwindow -clipboard -silent-dup-error


 I've read a few posts on this and tried the solutions (setting XWin :2,
 the font mount problem) to no avail. Can you suggest any other options
 to get it to work on his machine?


 I'd suggest the easiest solution to a working install would be to wipe
 the
 existing and reinstall choosing Unix/binary instead of DOS/text.

 Thank you - that fixed his problem!

Glad I could help. :-)

-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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.sh crashing on XP pro

2007-05-17 Thread Larry Hall (Cygwin X)
Jim Marshall wrote:
 My co-worker just installed cygwin, when he tries to run startxwin.sh it
 crashes.
 
 A fatal error has occurred and Cygwin/X will now exit.
 Please open /tmp/XWin.log for more information
 
 Vendor: The Cygwin/X Project
 Release: 6.8.99.901-4
 Contact: xxx
 XWin was started with the following command line
 
 XWin -multiwindow -clipboard -silent-dup-error
 
 
 I've read a few posts on this and tried the solutions (setting XWin :2,
 the font mount problem) to no avail. Can you suggest any other options
 to get it to work on his machine?


I'd suggest the easiest solution to a working install would be to wipe the
existing and reinstall choosing Unix/binary instead of DOS/text.

-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: glXChooseVisual does not handle GLX_RGBA correctly

2007-05-16 Thread Larry Hall (Cygwin X)
Geoff Levner wrote:
 Larry Hall (Cygwin X) wrote:
 Geoff Levner wrote:
 
 I have an OpenGL-based application executing on a Sun, but displaying
 on a PC running Windows XP and an X server. The app requires a
 TrueColor visual, so when it calls glXChooseVisual, it passes
 GLX_RGBA in the attribute list. This works fine with another X server
 (Exceed), but when using Cygwin/X, glXChooseVisual fails to return a
 visual.
 
 Running xdpyinfo would seem to indicate that the server has *only* 
 TrueColor visuals (see the output below). And in fact if I remove 
 GLX_RGBA from the attribute list, glXChooseVisual does return one of 
 those visuals. If I ask for information about the visual with 
 glXGetConfig, it responds that color buffers store color indices 
 (GLX_RGBA is false), yet the application works correctly.
 
 Anybody have a clue what is going on here?
 
 
 
 Looks to me like you're app is looking for 32 bits while Cygwin-X is 
 only providing 24 bits.  Unless you know you absolutely need 
 transparency, I think you'll find everything works fine with the
 visuals you can get. Just ask for GLX_RGB instead.
 
 
 That sounds reasonable, but GLX_RGB is not defined, and I can't find any 
 reference to it in the GLX 1.4 specifications. According to the 
 documentation, GLX_RGBA just means you want TrueColor or DirectColor 
 visuals; it says nothing about alpha. And we do not ask for any alpha 
 bits...


Yup, you're right.  I was thinking of something else.

Perhaps it's just your combination of attributes.  You might check that.
The combination below has worked for me before, albeit from a Linux
machine to Cygwin/X:

int visual_attributes[] =
{
GLX_DOUBLEBUFFER,
GLX_RGBA,
GLX_RED_SIZE,  1,
GLX_GREEN_SIZE,1,
GLX_BLUE_SIZE, 1,
GLX_DEPTH_SIZE,1,
GLX_STENCIL_SIZE,  1,
GLX_ACCUM_RED_SIZE,1,
GLX_ACCUM_GREEN_SIZE,  1,
GLX_ACCUM_BLUE_SIZE,   1,
None
};




-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: glXChooseVisual does not handle GLX_RGBA correctly

2007-05-14 Thread Larry Hall (Cygwin X)
Geoff Levner wrote:
 I have an OpenGL-based application executing on a Sun, but displaying on
 a PC running Windows XP and an X server. The app requires a TrueColor
 visual, so when it calls glXChooseVisual, it passes GLX_RGBA in the
 attribute list. This works fine with another X server (Exceed), but when
 using Cygwin/X, glXChooseVisual fails to return a visual.
 
 Running xdpyinfo would seem to indicate that the server has *only*
 TrueColor visuals (see the output below). And in fact if I remove
 GLX_RGBA from the attribute list, glXChooseVisual does return one of
 those visuals. If I ask for information about the visual with
 glXGetConfig, it responds that color buffers store color indices
 (GLX_RGBA is false), yet the application works correctly.
 
 Anybody have a clue what is going on here?


Looks to me like you're app is looking for 32 bits while Cygwin-X is
only providing 24 bits.  Unless you know you absolutely need transparency,
I think you'll find everything works fine with the visuals you can get.
Just ask for GLX_RGB instead.

-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: deleted by mistake .bashrc file in C:\cygwin\home\setup after install

2007-04-29 Thread Larry Hall (Cygwin X)
On 04/29/2007, Matt Wozniski wrote:
 Obviously not cygwin-specific, and I don't have a cygwin computer in
 front of me at the moment, so I'm not even positive that this applies
 on cygwin - but on most UNIX systems, you could run
 cp /etc/skel/.bashrc ~/.bashrc
 
 Again, I'm not positive that cygwin even has a /etc/skel, but most
 UNIX systems copy the files in /etc/skel/ into every new user's home
 folder when it's created.  Running that command would be the
 equivalent of the copy that the system did behind-the-scenes when
 setting up your home folder. 

Right.  This will work as specified above.  Cygwin has this and uses
it.

-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: help :- startx doesn't work on Cygwin.

2007-04-26 Thread Larry Hall (Cygwin X)
Nisha wrote:
 Hello,
 
 I installed cygwin on my WinXP system and accoording
 to the further instructions given, i try to run
 startx. I am getting the following error. 
 Please help.
 
 The extract of the last error is as below (I am
 attaching the full error with this email.)
 
 6 [main] xterm 144 child_copy: linked dll
 data write copy failed, 0x3EB000
 ..0x3EB440, done 0, windows pid 2452, Win32 error 487
 xterm: Error 29, errno 11: Resource temporarily
 unavailable
 Reason: spawn: fork() failed
 xinit:  Resource temporarily unavailable (errno 11): 
 can't send HUP to process
 group 144
 


Rerun 'setup.exe' and install the 'rebase' package.  Read it's README in
/usr/share/doc/Cygwin and follow those instructions for how to run
'rebaseall'.



-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Windows Vista

2007-04-23 Thread Larry Hall (Cygwin X)
Mariana Silva wrote:
 Hello
 
 I am trying to install cygwin/X in Windows Vista and I get a message
 saying that the installation could not be completed. Is there a new version
 of cygwin/X for this operational system?


No.  The error you got is unlikely to be as a result of Vista.  Try a
different mirror.



-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Cygwin/x fails to run on WinXP

2007-04-06 Thread Larry Hall (Cygwin X)

wei wrote:

snip


Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress



Check the FAQ and the email archives.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: error

2007-03-30 Thread Larry Hall (Cygwin X)

Varga Imre wrote:

Dear Cygwin,

I started XWin under cygwin using startx. Then I got a fatal error

Could not open font 'fixed'. Before that the following message appeared: 
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
list!


What shall I do?


Look in the FAQ for solutions.
Look in the email archives for solutions.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Plese help me to solve my problem

2007-03-27 Thread Larry Hall (Cygwin X)

M. Tampo wrote:

Dear sir

Hi, I have troubled in use of Cygwin/X.

When I start the Cygwin/X by using a command startx, Error comments 
are shown as

follower,
This is error message-
(WW) /tmp mounted int textmode
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 960 
depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 
bpp 32

null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel

(--) Setting autorepeat to delay=500, rate=31
(II) Loading US keyboard layout.
(--) winConfigKeyboard - Layout: E0010411 (0411)
(--) Using preset keyboard for Japanese (411), type 7
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!


Fatal server error:
could not open default font 'fixed'

End of error messages-

If you know where is appropriate explanation how to solve this problem,
Please tell me the site.


PCYMTSTAFABP*

http://www.cygwin.com/ml/cygwin-xfree/2007-01/msg00043.html

* Please configure your mailer to search the archives for answers before
  posting. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: XWin 100% CPU usage for Java applications on Vista

2007-03-24 Thread Larry Hall (Cygwin X)

Vladimir Nicolici wrote:

I wonder why RedHat doesn't include this X server instead of Cygwin/X
in the cygwin distribution, especially since, according to the
Cygwin/X home page, the project lost its maintainer 2 years ago.



Chris has already sufficiently responded to correct your misconception about
the relationship between Red Hat and Cygwin.  I'll only say that your
musings on why the Cygwin distribution doesn't include Xming starts with
one major roadblock - we'd need a maintainer to contribute and maintain
the package.  I can't say whether Xming would make it through the ITP
phase but if it won't have a maintainer, it would suffer the same fate as
Cygwin/X right now so there's little clear value to going that route.
Packages don't get into the distribution without someone willing to
maintain it.  Now, if you're suggesting that you would be willing to
become a maintainer for an Xming package in Cygwin, then consult
http://cygwin.com/contrib.html and send an ITP notice when you have
a package available.  You'd need to take into account an upgrade path
from the current Cygwin/X package if your intent would be to replace the
existing offering.  Then again, maybe this turns out to be the same
amount of work overall as maintaining the existing package so perhaps
it would be better to just take over maintainer-ship of the current
package.  In any case, if you've gathered from all this that the important
part of the equation here is the maintainer, I think you got the point. :-)


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Looking for a way to start XWin -auth option without modifying startxwin.bat

2007-03-07 Thread Larry Hall (Cygwin X)

Grant Mills wrote:

Background:
Switched from Exceed yesterday.  Quickly realized that remote hosts
couldn't contact local x server.  xhost remote_mach solved that
problem.  Learned that if I shutdown the X server and restarted, xhost
settings didn't persist.

Spent half a day researching and experimenting xauth.  My remote host
was failing with the MIT-MAGIC-COOKIE-1 error message.  Eventually, I
added -auth ~/.Xauthority to the command line that starts XWin.exe
in startxwin.bat.  That did the trick.

Question:
My question is this... Is there a way to add -auth ~/.Xauthority
option to the startup of XWin.exe without modifying any of the
provided files?  Something like the ~/.cvsrc file.  I'd like to make
sure that the next time X-startup-scripts gets updated, I won't have
to remember what I modified and go back and do it again.

I tried using ~/.xserverrc but I'd prefer to be able to use
startxwin.bat in my startup folder.

I could submit a patch that would check for .Xauthority's existence
and add the option when detected.  If this is a suitable option, let
me know and I'll submit it.


~/.xserverrc sounds like a perfectly good spot to me.  It won't get changed
out from under you in the next upgrade (whenever that is) like
startxwin.bat.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Error 29 on Vista

2007-03-06 Thread Larry Hall (Cygwin X)

http://cygwin.com/acronyms/#TOFU

William Bierman wrote:

On 3/6/07, thebigcheeze thebigcheeze at gmail dot com wrote:

   ^
http://cygwin.com/acronyms/#PCYMTNQREAIYR  Don't to feed the spammers.



I installed Cygwin with the default packages with added ssh and the 
entire

x11 package.  when I attempt to run xwindows using this batch file:

@echo off

C:
chdir C:\cygwin\bin

bash --login -i startx

It gives the following error:

 45 [main] xterm 2240 child_copy: linked dll data write copy failed,
0x3AB0
0..0x3AB440, done 0, windows pid 2356, Win32 error 487
xterm: Error 29, errno 11: Resource temporarily unavailable
Reason: spawn: fork() failed

followed by:

winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT
message,
winClipboardProc - XDestroyWindow succeeded.

winClipboardIOErrorHandler!

FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, 
should be

1; f
ixing.
winDeinitMultiWindowWM - Noting shutdown in progress

then it kicks me back to the command prompt.  anyone know a work 
around or

perhaps a fix for this?

I'm running on an Administrator account as well.




 I get the 'resource temporarily unavailable' error quite often, as
 well.  For me it's usually when I'm attempting to perform some remote
 function with SVN.

 If I just keep trying, it usually works by the fourth try.

 I would also be very interested in a solution.


Fork failures are typically caused by one of two issues:

  1. Buggy firewalls, virus-scanners, spyware proggies, etc.
  2. DLL address space collisions

The former can be solved by uninstalling all such junkware (no, you can't
generally just disable this stuff) and trying again.  If it works, then
you know you need to report a bug (to the junkware provider, not to Cygwin).
 The latter can be solved by installing the 'rebase' package, reading
'/usr/share/doc/Cygwin/rebase-2.4.3.README', and following the instructions.

Win32 error 487 is a classic indicator of problem 2 above.  I'd recommend
starting there.  You can check the main list for lots of back-story to the
rebase issue if you're interested.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Error 29 on Vista

2007-03-06 Thread Larry Hall (Cygwin X)

Larry Hall (Cygwin X) wrote:


Fork failures are typically caused by one of two issues:

  1. Buggy firewalls, virus-scanners, spyware proggies, etc.
  2. DLL address space collisions

The former can be solved by uninstalling all such junkware (no, you can't
generally just disable this stuff) and trying again.  If it works, then
you know you need to report a bug (to the junkware provider, not to 
Cygwin).

 The latter can be solved by installing the 'rebase' package, reading
'/usr/share/doc/Cygwin/rebase-2.4.3.README', and following the 
instructions.


Win32 error 487 is a classic indicator of problem 2 above.  I'd recommend
starting there.  You can check the main list for lots of back-story to the
rebase issue if you're interested.



I somehow missed that you were working on Vista.  You'll also want to
see:

http://cygwin.com/ml/cygwin/2006-11/msg00059.html

You can ignore references to snapshots.  If you're running the latest
Cygwin release via 'setup.exe', you're at the same level as the snapshots
at the time the message was sent.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: XWin 100% CPU usage (Remote Desktop)

2007-02-20 Thread Larry Hall (Cygwin X)

David Raila wrote:

I worked on this for a long time since trying vista and here's my solution
CYGWIN=title server itty binmode glob tty

I believe that some arrangement of CYGWIN args cause troubles, but I can't
verify which, and I also believe I had ntsec in there before.
It would run for a while, althouhg process explorer would show 9-10 thousand
context switches per second for XWin.exe, then eventually it would go to
XWin.exe running full blast an unresponsive until I killed it.


'binmode' and 'glob' are on by default so you don't need to set these.  The
same is true for 'ntsec'.  There is no 'itty' option for CYGWIN.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: ssh -x

2007-02-06 Thread Larry Hall (Cygwin X)

Holger Krull wrote:

Marco Meoni schrieb:

hi, I'm new with cygwin. I've mainly installed it to connect to a linux
server running GUI applications. In fact, I've read that with X11
forwarding (ssh -X) I can run remote applications and display the GUI
on my pc running cygwin.

Unfortunately I get errors like can't open display. Does anybody know
what do I have to setup before? (i guess start X11 server on my local
pc)


Your guess is right. You have to start a local X11 server (startx). And
set DISPLAY before you start ssh. 


Setting DISPLAY is not necessary with 'ssh -X' or 'ssh -Y'.  More than that,
setting DISPLAY will likely cause the X forwarding to not work as expected.
For more info, read the X11 FORWARDING section of the 'ssh' man page.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: XWin.exe-unable to locate component

2007-01-31 Thread Larry Hall (Cygwin X)

Lisa Losito wrote:

I downloaded and installed Cygwin, but when I tried to run XWin.bat
from C:\cygwin\usr\X11R6\bin I get the error message 'This application
has failed to start because cygwin1.dll was not found. Re-installing
the application may fix this problem.' I tried reinstalling but I
still get the same error.



Something is keeping you from seeing your installed cygwin1.dll then.  Try
rebooting if you have not.  Otherwise, please read and follow the problem
reporting guidelines found at the link below for any follow-up.


Problem reports:   http://cygwin.com/problems.html


Also, since this particular issue is more of an installation/non-X one,
you may want to post to the main list for that follow-up.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: error when starting X-Win

2007-01-31 Thread Larry Hall (Cygwin X)

Gmane User wrote:

snip


Which made me think wouldn't it be nice if mounting didn't have
to be done for each user account?.  I install cygwin on whatever
machine (of several) that I happen to work on, so such a global
fix would make life easier.  And there is a solution.
With a bit of refresher from the unix shell newsgroup, I was
prompted into realizing that startxwin.sh launches XWin in the
background, which allows the PID to be captured with $!.  So
if one really wanted to, startxwin could use wait with XWin's
PID to wait for XWin to finish, after which it deletes
/tmp/.X11-unix.  No need to maintain user-specific /tmp mounts.
One could probably create a start-menu shortcut that invokes
startxwin.sh with the run command, similar to the way it is used
in startxwin.bat.


If memory serves me correctly, this was talked about before and perhaps
even implemented.  If the latter is actually true, then it got lost at
some point (perhaps about the time that the Cygwin-X maintainer was
lost ;-) ).

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: error when starting X-Win

2007-01-30 Thread Larry Hall (Cygwin X)

Gmane User wrote:

Martin Bartak wrote:

Hello,

How to delete /tmp/.X11-unix/X0 automatically when closing
X-session or,
how to prevent its emergence when starting X-sesion or,
how to make it re-writable by 'non-Administrator' user?

I've got Cygwin 1.5.23-2 (full installation) on WinXP with two
user accounts. I use 'startx' command to invoke X-Win
with default parameters or options.
When starting X-Win, a file named 'X0' is placed into /tmp/.X11-unix/
and it probably locks the X-server for current user (?)
This file persists after exiting from X-Win and also after exiting
from Cygwin. No problem if I start Cygwin and X-Win again
as the same user, but when I login as another user (different from
Administrator) X-Win cannot be started unless the previous X0 file
is deleted.


I have sshd installed, so I ssh into the account that owns /tmp/.X11
and remove it.  Better yet, I simply have the same account starting
Xwin all the time.  For example, if user1 is the Xwin account and I am
logged in as user2, I can ssh into user1 to start Xwin.  Or simply do
Start-run, then use the runas command to run startxwin.bat as user1
(full program path required).  The user2 login session hasn't been
interrupted; you just need to export DISPLAY=:0.0 and then start
launching X applications.


The standard way this has been handled in the past is to set up a mount
point for '/tmp/' to a unique location.  In a default Windows
installation, the following should work (untested):

mount -b -u $TEMP /tmp

This keeps things unique for each user anyway.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: error when starting X-Win

2007-01-30 Thread Larry Hall (Cygwin X)

Gmane User wrote:

Larry Hall (Cygwin X) wrote:

Gmane User wrote:

Martin Bartak wrote:

Hello,

How to delete /tmp/.X11-unix/X0 automatically when closing
X-session or,
how to prevent its emergence when starting X-sesion or,
how to make it re-writable by 'non-Administrator' user?

I've got Cygwin 1.5.23-2 (full installation) on WinXP with two
user accounts. I use 'startx' command to invoke X-Win
with default parameters or options.
When starting X-Win, a file named 'X0' is placed into /tmp/.X11-unix/
and it probably locks the X-server for current user (?)
This file persists after exiting from X-Win and also after exiting
from Cygwin. No problem if I start Cygwin and X-Win again
as the same user, but when I login as another user (different from
Administrator) X-Win cannot be started unless the previous X0 file
is deleted.

I have sshd installed, so I ssh into the account that owns /tmp/.X11
and remove it.  Better yet, I simply have the same account starting
Xwin all the time.  For example, if user1 is the Xwin account and I am
logged in as user2, I can ssh into user1 to start Xwin.  Or simply do
Start-run, then use the runas command to run startxwin.bat as user1
(full program path required).  The user2 login session hasn't been
interrupted; you just need to export DISPLAY=:0.0 and then start
launching X applications.

The standard way this has been handled in the past is to set up a mount
point for '/tmp/' to a unique location.  In a default Windows
installation, the following should work (untested):

mount -b -u $TEMP /tmp

This keeps things unique for each user anyway.



That's quite cool.  I decorated it a bit to keep it all within my cygwin
file space.  Specifically, in my all-purpose ~/Temp directory:

mkdir -p ~/Temp/tmp
mount -b -u c:/cygwin/home/${USER}/Temp/tmp /tmp

Thanks!



You're welcome.  Glad I could help.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: error when starting X-Win

2007-01-30 Thread Larry Hall (Cygwin X)

Chris Sutcliffe wrote:
 The standard way this has been handled in the past is to set up a 
mount

 point for '/tmp/' to a unique location.  In a default Windows
 installation, the following should work (untested):

 mount -b -u $TEMP /tmp

 This keeps things unique for each user anyway.

 That's quite cool.  I decorated it a bit to keep it all within my 
cygwin

 file space.  Specifically, in my all-purpose ~/Temp directory:

   mkdir -p ~/Temp/tmp
   mount -b -u c:/cygwin/home/${USER}/Temp/tmp /tmp


When I try to execute the mount, I get:

$ mount -b -u $TEMP /tmp
mount: /tmp: Invalid argument

Is there something I'm missing?


No, not really.  It's shame on me for not trying the syntax I was
offering first.  If you're doing this from inside a Cygwin shell,
use:

mount -b -u $(cygpath -ma $TEMP) /tmp


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: New Repositories: XWin Error!

2007-01-25 Thread Larry Hall (Cygwin X)

Sante Scuro wrote:

 Dear Sir,

most new repositories ftp/http (I did not check all of them) have a
problem when you come across to start the X-Windows Server. The error
and log files are attached! I tested packages for two weeks on over 5
machines getting exactly the same error. But re-installing Cygwin from
the old local repository (Jun 2006) makes no complain and it works
fine!

Thanks and please let me know what this problem is about!
I really appreciate!


The log file reports:

Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress

Looking at the FAQ, you'll find:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

Try that.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: 1.5.23 on vista: difficulties launching X

2007-01-10 Thread Larry Hall (Cygwin X)

Dick Repasky wrote:

On Tue, 9 Jan 2007, Larry Hall (Cygwin X) wrote:


Dick Repasky wrote:



 I'm experiencing difficulty starting X on a fresh install of cygwin 
on a
 fresh install of Windows Vista.  I've tried both startxwin.sh and 
startx.

 startxwin.sh always fails, and startx sometimes succeeds. A copy of
 cygcheck
 output is attached.

 startxwin.sh fails in three ways.


snip

 Unlike the previous poster who reported a similar error, there 
is no
 logitech camera or virus program running on the system. It is 
indeed a

 fresh install.



Have you tried the suggestions mentioned in this thread?

http://sourceware.org/ml/cygwin/2006-11/msg00059.html



Yes. Using the latest snapshot changes things, but doesn't clearly 
improve them.


For both startxwin.sh and startx, the snapshot eliminates the popup that 
states that sh.exe has exited.


Startxwin.sh still fails every time with the child_copy: linked dll data
write copy failed error that I originally reported.

startx fails more than it works. It worked in only 2 of ten runs.  For 7 
of the 8 failures, it ended with the usual child copy error. The odd 
failure was one in which it hung with processor use at 100%, and windows 
reported cat.exe as the process that was burning up the cycles.


Did you try rebasing?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: 1.5.23 on vista: difficulties launching X

2007-01-09 Thread Larry Hall (Cygwin X)

Dick Repasky wrote:



I'm experiencing difficulty starting X on a fresh install of cygwin on a 
fresh install of Windows Vista.  I've tried both startxwin.sh and 
startx. startxwin.sh always fails, and startx sometimes succeeds. A copy 
of cygcheck

output is attached.

startxwin.sh fails in three ways.

  1) Immediately after the system has been booted, a popup appears to 
notify

 me that sh.exe has exited, and X seems to be stalled.  An X appears
 in the toolbar, and both xterm and XWin are in the cygwin process 
table

 (ps -aux).  No xterm appears. A copy of the combined standard output
 and standard input are provided in startxwin.sh-outerr-postreboot.

 The xterm in the process table can be killed with kill -TERM.

 Attempts to launch an xterm fail. (I open a new cygwin window, set
 and export DISPLAY, and run xterm).

 XWin cannot be killed with kill -TERM.  It can be killed with kill -9.

 All of the above is repeatable if the system is rebooted.

 I have seen the previous post of sh.exe exit that turned out not to
 be repeatable. Maybe the above will provide some insight on getting it
 to repeat.

 Without rebooting, what happens on subsequent runs of startxwin.sh
 depends on how I clean up from the first failed run.

 2)  If I clean up from a first failed run by killing the xterm and
 Xwin, subsequent runs of startxwin fail with a popup stating that
 Cygwin X has failed.

 The cause seems to be a lingering sh.exe process in the table.

 3) If I clean up from a first failed run by dismissing the cygwin terminal
window by clicking on the window-close button, the sh.exe process goes
away, and startxwin.sh fails with a message like xterm 3228 
child_copy:

linked dll data write copy failed,   Full output is attached as
startxwin.sh-outerr.

Unlike the previous poster who reported a similar error, there is no
logitech camera or virus program running on the system. It is indeed a
fresh install.



Have you tried the suggestions mentioned in this thread?

http://sourceware.org/ml/cygwin/2006-11/msg00059.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: XWin.exe will not exit gracefully on Vista

2006-12-29 Thread Larry Hall (Cygwin X)

Dr. Franz Fehringer wrote:

did not come through last time (are there known problems with this list?)?!


Actually, it came through fine:

http://cygwin.com/ml/cygwin-xfree/2006-12/msg00093.html

If you're having trouble getting email from this list, you may want to
check that things on your end aren't getting in the way.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Java SDK version available with latest version of cygwin/X?

2006-12-17 Thread Larry Hall (Cygwin X)

Daniel Newhouse wrote:

The title says it all.  I don't want to download a new
version unless I get Java 1.5 or better.



There is neither a dependency of Cygwin on Java nor a Java package
for Cygwin.  If neither of these is what you're looking for, please
clarify your inquiry.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Java SDK version available with latest version of cygwin/X?

2006-12-17 Thread Larry Hall (Cygwin X)

Daniel Newhouse wrote:

--- Larry Hall (Cygwin X)
reply-to-list-only-lh-x AT cygwin DOT com wrote:



http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.





Daniel Newhouse wrote:

I can compile and run java from the command line

in

cygwin.  I assumed that meant that cygwin must

have a

Java SDK package.


Now you know better. ;-)


What does it have?


Nothing.  You're using the Window version most likely.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: -silent-dup-error command line parameter not working?

2006-12-07 Thread Larry Hall (Cygwin X)

http://cygwin.com/acronyms/#TOFU.  Reformatted.
Randy Brown wrote:

Sergei Pachkov wrote:

Can you shortly describe start xserver as service?

Running it as a service basically does not require starting, or 
attempting to start, an Xserver each time you open a window.  The 
service runs continually in the background and listens for connections.  
The procedure is relatively simple:


Create an environment variable:
CYGWIN = server
 From a cygwin terminal window run:
/usr/bin/cygserver-config  (Answer yes to the prompt and reboot)
Then you can add Startxwin.bat, for example, to your startup folder so 
The Xserver starts at boot.



For anyone out there that might be unsure, the procedure described above
does *not* start Cygwin's X-server as a service.  It starts Cygwin's
'cygserver' http://cygwin.com/cygwin-ug-net/using-cygserver.html as
a service.  This service is not required to run the X-server.

The Cygwin X-server is started just as one would manually but automates
it by putting it in the startup folder.  Things started from this folder
are not services, though it is a perfectly good way to start the X-server
automatically.

For those that don't care about the distinction or the details, please
forget what I just said. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: sending keys to cygwin (X)

2006-11-16 Thread Larry Hall (Cygwin X)

Bjoern wrote:

Hello NG,

I use cygwin to connect via 'X -query IP' from my ordinary PC to a Linux
server. This works really fine. But on that server the vmwareplayer is running.
In this vmwareplayer i have to log on a virtual Windows maschine and therefor i
have to hit the CONTROL+OPTION+DELETE keys. But this will just open the task
manager of the local Windows-PC. Is there a possibilty to send a combination of
keys to the cygwin/X session?? And there is another question: is it possible to
connect via cygwin/X to an existing session so that I could close cygwin and
connect later again to this session? Thanks.



Why doesn't the standard VMWare alternative CTRL-ALT-INSERT work?


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: X11 forwarding

2006-11-12 Thread Larry Hall (Cygwin X)

Max Pfeiffer wrote:

Dear cygwin- Team
i am training to connect my linux system from my windows XP system. I do 
it with  putty and  cygwin .

but if i want start my x11 server. I get allways this error message:
[EMAIL PROTECTED] /etc/X11
$ startx  
Welcome to the XWin X Server

Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winCheckDisplayNumber - Cygwin/X is already running on display 0

Fatal server error:
InitOutput - Duplicate invocation on display number: 0.  Exiting.

winDeinitMultiWindowWM - Noting shutdown in progress
giving up.
xinit:  Connection reset by peer (errno 104):  unable to connect to X 
server

xinit:  No such process (errno 3):  Server error.

It would be nice if you can help me.



The FAQ can help you:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#duplicate-invocation

The FAQ - a powerful force.  Learn it.  Know it.  Live it. ;-)


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Using X via ssh from one windows machine to another

2006-11-09 Thread Larry Hall (Cygwin X)

Brian Keener wrote:
hmm no hints - keep googling I guess.  I'm sure it must be a security/config 
issue - xhost or xauth issue somewhere - just haven't found the magic key yet 
since it works from Windows to my two linux machines.


Maybe wrong group - maybe should have been cygwin-apps for ssh even though I 
thought it was an X issue and belonged here? hmmm



I believe you have the proper group.  cygwin-apps is for packaging issues and
'setup.exe' problems.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: ERROR: Cannot open X display

2006-11-02 Thread Larry Hall (Cygwin X)

http://cygwin.com/acronyms/#TOFU.  Reformatted.

Luis G. Rivera wrote:

 Original message 

Date: Tue, 31 Oct 2006 15:02:18 -0600
From: René Berber r.berber AT computer DOT org  
Subject: Re: ERROR: Cannot open X display  
To: cygwin-xfree AT cygwin DOT com



http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.




Luis G. Rivera wrote:


I have used Cygwin/X on two computer in my office and it works
with no problems.  There are several users who cannot use the
softwared.  One in particular gets the following error messages:

ERROR: Cannot open X display.  Check display name/server
access authorization.

[snip]

This is the steps that I use in my office to run Cygwin/X:

1.  Execute “startxwin.bat”.
2.  On the window that opens I type: xhost +
hostname.temple.edu.  Then I type: ssh –X
[EMAIL PROTECTED]  
3.	I type my password and get in with no problem.  Then I

type: setenv DISPLAY myipaddress:0.0.

This is wrong, if you used ssh -X then DISPLAY is already set (by ssh) and it
has a different value, usually localhost:10.0 for the first connection.

The idea is that ssh will tunnel the X connection through itself (thus
localhost) and it uses a configurable display number (the 10.0).

The reason it works from some computers and not from others is that even if the
X server exists at myipaddress:0.0 it could be blocked by any firewall between
computers; the ssh tunnel is the way to avoid being blocked.

 Thank you for your response.  Now, the question is what are the exact
 steps (if there are any) to actually get this to work?


Try skipping the setenv DISPLAY myipaddress:0.0 step.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: update cygwin and now X wont start!

2006-11-02 Thread Larry Hall (Cygwin X)

On 11/02/2006, Rafael Tapia wrote:
   Today I decided to update my cygwin (probably had not done it in about 3 
months) but now it just crashes on me when I try to start X.  I did check 
out mailing list archives and google but no dice.  I can't seem to get it 
to work again.


I am trying to run this on WinXP SP2,on an IBM ThinkPad.  Again I want to 
make it clear that it was working this morning.  I did not change any 
network/firewall settings.  I do have a firewall up but it was working fine 
before the update.


Here is the message I am getting:

--

[EMAIL PROTECTED] /tmp
$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

(WW) /tmp mounted int textmode
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't 
already run
ning 


What about this?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Cygwin X fails to start

2006-10-12 Thread Larry Hall (Cygwin X)

On 10/12/2006, mgoh wrote:
I had this problem as well. Oddly, I had a mount of 
/usr/X11R6/lib/X11/fonts that was a user mount in textmode -- and I 
cound't use umount to remove it (it would complain about invalid path, or 
something). I searched the registry for the mount, but didn't find it (I 
found all the others). To fix the problem, I first quit any running cygwin 
programs, then from a CMD shell, I mounted another user mount over the top 
of the old one, which I was THEN able to umount. After THAT, I remounted 
/usr/X11R6/lib/X11/fonts in binmode (system mount), THEN I reinstalled all 
the fonts (as mentioned here: 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof). THAT, 
FINALLY fixed my problem. This all started when I ran the cygwin setup 
program to update various versions of things (that's what killed it). I was 
suprised that not more people had reported this, as I'm running a pretty 
stock install.


See the '-f' flag for 'mount'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: GNOME Please Help

2006-10-06 Thread Larry Hall (Cygwin X)

John Breslin wrote:

I got it from ftp://sunsite.dk via setup.exe


http://cygwin.com/cgi-bin2/package-grep.cgi?grep=startgnome.bat

Pointing 'setup.exe' at some 3rd party's site and installing packages
from there does not mean that this list supports that package.  Please
take this question to the maintainer of this software.  It's off-topic
here.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: XWin

2006-09-28 Thread Larry Hall (Cygwin X)

Alan James Caruana wrote:

Hi,

I have thoroughly searched through the FAQ and could not find any
solution to my problem.  First, can XWin run directly in Windows (not
through Cygxwin) ? If it can, obviously it would have to be compiled
again.



That's Xming.  Different project.  See http://freedesktop.org/wiki/Xming



Secondly, my main problem is that I have compiled XWin under Windows.
but it is not starting due to a fonts problem.  It is giving the
problem I saw in many posts of this list i.e.

Fatal server error:
could not open default font 'fixed'

Although I saw this error in many posts, none of the posts I saw said
that someone was trying to compile it and/or run it directly from
windows.



You mean you're not using Cygwin?  If that's the case, you're off-topic
for this list.  Try Xming.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

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



<    1   2   3   >