Carolina Biasetti Pompeu | 1 Aug 2008 16:47
Picon

Problem with Cygwin - command "startx"

Good morning;

I'm brazilian, so... sorry my mistakes. I'll try to be objective:

I tried to execute the comand "startx" at Cygwin but it didn't work
correctly. 

First, appeared a box with an error and after I saw the log.
I couldn't attach the error/log because they're greater than 500000 bytes,
but follow the error that appeared at the log.

winClipboardWindowProc - WM_DRAWCLIPBOARD - Nested calls detected.  Bailing.
winClipboardWindowProc - WM_DRAWCLIPBOARD - Nested calls detected.  Bailing.

Can you explain me the problem and what i can do to solve it?

Thank you.
Carolina Biasetti

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

Michael Rogers | 1 Aug 2008 18:52
Picon
Favicon

cygwin-x newbie trying compile a library that uses xwindows.

I'm trying to see if I can compile the plasma physics code xoopic (the non-commericial verion) on my
personal laptop using cygwin-x. They have their own library of graphing routines called xgrafix which
uses xwindows. In their pub directory they also have tar files that are just xgrafics distributions
with test code. I do scientific programming on unix systems for a living, so I figured that if I could
get xgrafix to compile and execute its test programs on cygwin-x, then, I should be able get the full
xoopic distribution to compile, perhaps with a little extra work. 
I ran the default unix configuration file just to see what it needs.  The only show stoppers were that it was
looking for libX11.a, libXpm.a, libtcl.8.4.a and libtk.8.4.a.  The last two it pieced together from
info in their respective confxxx.sh scripts.   I quickly located the corresponding import libs for
the standard cygwin-x system (I'm fine with the standard dynamic linking, this is for my personal use
recompiling a static distribution is just too much like work for my purposes).  
I believe the correct import libs for me would be:  libX11.dll.a, libXpm.dll.a, libtcl84.dll.a and
libtk84.dll.a.  I seem to recall a couple of other libraries that started with libtcl and libtk so
correct me if I'm wrong.  When I just stuck in the absolute path name variables to those import libs in
the configure file, which overrides the tests, it found the import libs and made Makefiles that
actually compiled, including the test.c program. Note that I checked the Makefiles and they had the
right "-l" switches for everything.  (The fortran test didn't compile but I can beat that into
submission by myself, later.)  But the c test hangs when it runs, probably because the
resulting Makefile didn't link think the libraries correctly.  I tried a couple of variations
editing the Makefiles, even using the actuall DLL.s as the libraries but get the same result.
I've gotten spoiled by having a support person for scripts and makefiles and the like for the last
several years and we don't generally use gnu compilers anyway so I'm not sure of the best way to proceed at
this point. So here are my questions:
Question 1.) Currently it is building static archive - xgrafix.a. Since I'm building a graphics library
that links to the X11, Xpm, Tcl and Tk DLLs, do I need to compile it (xgraphics) as a DLL?  It might work
either way but I'm fine with whatever works best. To wit, I found the following useful entry in the cygwin
user's guide under "Building and Using DLLs.
-------------------------------------------------------------------------------------------------------------------------------------------------------
However, if you are building a dll as an export library, you will probably want to use the complete syntax:
gcc -shared -o cyg${module}.dll \
(Continue reading)

Sylvain RICHARD | 1 Aug 2008 19:03
Favicon

Re: Problem with Cygwin - command "startx"

Carolina Biasetti Pompeu wrote:
> winClipboardWindowProc - WM_DRAWCLIPBOARD - Nested calls detected.  Bailing.
> winClipboardWindowProc - WM_DRAWCLIPBOARD - Nested calls detected.  Bailing.
>
> Can you explain me the problem and what i can do to solve it?

Hi,

No solution, but just out of curiosity,

If you try simpler commands, does it work? I mean:
XWin (you should get an X icon in the system tray and an ugly gray 
background)
XWin -multiwindow (just the icon)
XWin -clipboard

Note that you can kill the X server with a right click on the X icon in 
the system tray or Ctrl+C

Also, attaching the results of cygcheck -s -v -r may help. See 
http://cygwin.com/problems.html#cygcheck

Best of luck,

    Sylvain

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
(Continue reading)

Sylvain RICHARD | 1 Aug 2008 19:03
Picon
Favicon

Re: Problem with Cygwin - command "startx"

Carolina Biasetti Pompeu wrote:
> winClipboardWindowProc - WM_DRAWCLIPBOARD - Nested calls detected.  Bailing.
> winClipboardWindowProc - WM_DRAWCLIPBOARD - Nested calls detected.  Bailing.
>
> Can you explain me the problem and what i can do to solve it?

Hi,

No solution, but just out of curiosity,

If you try simpler commands, does it work? I mean:
XWin (you should get an X icon in the system tray and an ugly gray
background)
XWin -multiwindow (just the icon)
XWin -clipboard

Note that you can kill the X server with a right click on the X icon in
the system tray or Ctrl+C

Also, attaching the results of cygcheck -s -v -r may help. See
http://cygwin.com/problems.html#cygcheck

Best of luck,

    Sylvain

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
(Continue reading)

Raul Acevedo | 1 Aug 2008 19:29
Favicon

Window icons in multi-window mode

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.

Thanks,

Raul Acevedo
http://www.cantara.com

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

Larry Hall (Cygwin X | 1 Aug 2008 19:36
Favicon

Re: Window icons in multi-window mode

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/

Raul Acevedo | 1 Aug 2008 20:00
Favicon

Re: Window icons in multi-window mode

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

Fair enough.  :)  Good to hear it explicitly though.  Thanks,

Raul

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

John J. McDonough, WB8RCR | 1 Aug 2008 20:15

Re: Window icons in multi-window mode


----- Original Message ----- 
From: "Larry Hall (Cygwin X)" <reply-to-list-only-lh-x <at> cygwin.com>
To: <cygwin-xfree <at> cygwin.com>
Sent: Friday, August 01, 2008 1:36 PM
Subject: Re: Window icons in multi-window mode

> 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

--McD

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

Raul Acevedo | 1 Aug 2008 20:17
Favicon

Re: Window icons in multi-window mode

> 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

How did that happen?  When I start emacs, it uses the stock "X" icon.

Raul

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

Larry Hall (Cygwin X | 1 Aug 2008 20:24
Favicon

Re: Window icons in multi-window mode

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/
(Continue reading)


Gmane