Angelo Graziosi | 1 Dec 11:23 2008
Picon

Re: X, backingstore and opengl

Angelo Graziosi ha scritto:
> Jon TURNEY wrote:
> 
>> Ok, I've tried this and a few other things an I can't reproduce this, 
>> so I'd like your help to get a backtrace if you are willing:
>>
>> 1. Download http://www.dronecode.org.uk/cygwin/XWin.exe.bz2
>> (this is a build of XWin with debugging symbols)
>> 2. bunzip2.exe XWin.exe.bz2
>> 3. export CYGWIN="$CYGWIN error_start=gdb -nw %1 %2"
>> 4. ./XWin.exe -multiwindow -clipboard +bs
>> 5. Do what ever you do to reproduce the problem
>> 6. When a gdb window pops up, wait for the (gdb) prompt, then "thread 
>> apply all bt full"
>> 7. Mail me the output
> 
> I have done the above, but the 'XWin.exe' you propose DOES NOT segfault!
> 
> However I note:
> 
> 1. it has the icon of X11R6.99, not that of X11R7.4
> 
> 2. with it, I have the keyboard layout problem described here [1], and
>    rebasing does not solve
> 
> 3. with it not only ROOT, hsimple.C etc. work but the OpenGL demos work
>    without the workaround described here [2] (remember the OpenGL
>    problems here [3]).

4. When I R-click on systray icon, mine 'XWin.exe', which comes from
(Continue reading)

James Ferguson | 2 Dec 15:56 2008
Picon

X11 apps failing after upgrade


All help gratefully received!  I haven't found this problem through
searches, apologies if I've been searching for the wrong terms.

In my first update in a few months I picked up the major upgrade to the
X server.  XWin -version now reports 1.5.3.0.  After having the problems
below I did a full reinstall of Cygwin, with no success.

My symptoms look similar to tunneling via `ssh -X`, but it happens with
both `ssh -Y`, and when I do `xhost +` and display directly to
<server>:0 without ssh tunneling.  

My client machine is Solaris.  Everything worked fine before the update.
I'm running the installed startxwin.bat startup (with xterm REM'd out).

I can display xclock fine.  xterm appears up, but as soon as I hit a key
it crashes with:

>>>>
  $ xterm
xterm:  warning, error event received:
X Error of failed request:  BadAlloc (insufficient resources for
operation)
  Major opcode of failed request:  136 (XKEYBOARD)
  Minor opcode of failed request:  16 (XkbSetNamedIndicator)
  Serial number of failed request:  117
  Current serial number in output stream:  130
<<<<

During which, my /var/log/XWin.0.log gets 8 lines of:
(Continue reading)

RICHARD RASO | 2 Dec 19:03 2008
Picon

Installed CygwinX and xhost not found

Hi,

I have just installed CygwinX on my new laptop which is running MS XP Pro version 2002 service pack 2. I used
install options All User and Unix mode. I also took the default of downloading all packages. I am trying to
setup a X window environment so I can run the Oracle Universal Installer to load Oracle onto my zOS
mainframe environment.

The first time I started Cygwin from the desktop short cut, I issue the command xhost + , I then received the
error message 'bash: xhost not found'. So I have searched the FAQs and found a note that says to add a path
statement to correct this problem. Next, I remembered the installation said I could customize the
C:\cygwin\home\rraso\.bash_profile by adding this statement 

PATH="/usr/local/bin:/usr/bin:/bin:$PATH".So I customized the profile and retried the shortcut,
followed by xhost +, same resulting error message. After removing the change, I tried inserting the path
statement into the Cygwin.BAT file, both before the change directory command and after the bash logon
command. Both tests produced the same results 'xhost + not found'.

Next, I reinstalled the software but I installed the CygwinX support. I checked the CygwinX documentation
and in chapter 4, it talks about starting CygwinX with either startwxin.bat, or startxwin.sh or startx. I
have searched my Cygwin files for this members and do not find them. I was expecting to find one or more of
them. 

Do I create a startxwin file? If not, did my installation not work correctly? 

So at this point, I am not sure where to insert the path statement or even if I have the right statement to
insert into someplace the Cygwin files.

Any suggestion will be greatly appreciated.

--
(Continue reading)

Brian Keener | 2 Dec 19:07 2008

Recent X11 upgrade and getting _gl?? Undefined references compiling another package

I periodically do test compile for OpenSceneGraph in Cygwin and up 
until I recently accidentally updated to the latest X11 stuff the 
compiles had been working fine.  With the recent change I now getting a 
lot of undefined references for various _gl?? References.  I posted 
this to the OpenSceneGraph list and they suggested I also post here.  

The package uses ccmake/cmake and from the settings in ccmake when I 
review them it seems to be properly finding OpenGl according to cmake 
as:

 OPENGL_INCLUDE_DIR               /usr/include
 OPENGL_gl_LIBRARY                /usr/lib/w32api/libopengl32.a
 OPENGL_glu_LIBRARY               /usr/lib/w32api/libglu32.a 

the following is the errors and I have include the output from cygcheck 
-a -r -v.  Is this related to the upgrade or something else - any and 
all suggestion or answers greatly appreciated.

Bk

CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x1f3
8): undef
ined reference to `_glTexImage2D'
CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x1f8
7): undef
ined reference to `_glPixelStorei'
CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x209
a): undef
ined reference to `_glPixelStorei'
CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x224
(Continue reading)

James Ferguson | 2 Dec 19:15 2008
Picon

RE: Installed CygwinX and xhost not found

Lots of apps have moved into their own packages.  xhost can be found in
the X11 group, to be installed on its own.  However, it's generally a
good option to connect to your client with "ssh -Y" and then you can
display directly, without using xhost. 

I have a Cygwin-X menu item, with "XWin server" option in it.  I think
that's a default install...  It runs /usr/bin/startxwin.bat (which was
created/installed automatically).  If you don't have that it must have
been one of the X11 items I selected - not sure which.

HTH,

James.

-----Original Message-----
From: cygwin-xfree-owner <at> cygwin.com
[mailto:cygwin-xfree-owner <at> cygwin.com] On Behalf Of RICHARD RASO
Sent: Tuesday, December 02, 2008 1:03 PM
To: cygwin-xfree <at> cygwin.com
Subject: Installed CygwinX and xhost not found

Hi,

I have just installed CygwinX on my new laptop which is running MS XP
Pro version 2002 service pack 2. I used install options All User and
Unix mode. I also took the default of downloading all packages. I am
trying to setup a X window environment so I can run the Oracle Universal
Installer to load Oracle onto my zOS mainframe environment.

The first time I started Cygwin from the desktop short cut, I issue the
(Continue reading)

Jon TURNEY | 2 Dec 21:28 2008
Picon

Re: Installed CygwinX and xhost not found

RICHARD RASO wrote:
> So I have searched the FAQs and found a note that says to add a path statement to correct this problem.

for missing xhost, the correct FAQ is 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-where-is-xxyzy

If it's the Cygwin/X FAQ which has given you the wrong advice to adjust your 
path, can you please give me a reference so I can correct it

> Next, I reinstalled the software but I installed the CygwinX support. I checked the CygwinX
documentation and in chapter 4, it talks about starting CygwinX with either startwxin.bat, or
startxwin.sh or startx. I have searched my Cygwin files for this members and do not find them. I was
expecting to find one or more of them. 
> 
> Do I create a startxwin file? If not, did my installation not work correctly? 

http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html

See point 15.

For the startup scripts you need to install the xinit package.

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

Jon TURNEY | 2 Dec 21:37 2008
Picon

Re: PATCH: Fix mwextwm mode to build again

Colin Harrison wrote:
> Hi,
> 
>> Jon TURNEY wrote
>> Based on somebody else's patch, I'm can't remember who's...
> 
> I'll give you one guess.

Sorry.  I managed to confuse myself somehow.

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

Jon TURNEY | 2 Dec 21:56 2008
Picon

Re: Recent X11 upgrade and getting _gl?? Undefined references compiling another package

Brian Keener wrote:
> I periodically do test compile for OpenSceneGraph in Cygwin and up 
> until I recently accidentally updated to the latest X11 stuff the 
> compiles had been working fine.  With the recent change I now getting a 
> lot of undefined references for various _gl?? References.  I posted 
> this to the OpenSceneGraph list and they suggested I also post here.  
> 
> The package uses ccmake/cmake and from the settings in ccmake when I 
> review them it seems to be properly finding OpenGl according to cmake 
> as:
> 
>  OPENGL_INCLUDE_DIR               /usr/include
>  OPENGL_gl_LIBRARY                /usr/lib/w32api/libopengl32.a
>  OPENGL_glu_LIBRARY               /usr/lib/w32api/libglu32.a

I suspect you might have the problem discussed here:
http://cygwin.com/ml/cygwin-apps/2008-11/msg00036.html

> libglut-devel                   2.4.0-1
> opengl                          1.1.0-8

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

Pascal A. Dupuis | 2 Dec 22:09 2008
Picon

WMaker compile

Hello,

let first start by introducing myself: I'm a long time linux user, and tired
of rebooting the home machine because childrens can't play Zoo Tycon under
linux. I've just fiddled a bit with WindowMaker, and finally compiled the
latest version, 0.92. It ran out of the box, configured as

CC=gcc-4 CPP=cpp-4 CXX=g++-4 ../configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin
--localstatedir=/var --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --with-gnustepdir=/usr/lib/GNUstep/System

Two explanations:
1) the path reflect the way there are setup in the corresponding debian package
2) I compiled it under gcc-4

In order to make it run:
1) create a ~/.xserverrc file with
export CYGWIN=server
exec X :0

This ensures the X server starts with the MIT-SHM ewtension enabled, run 
'cygserver-config' once to have the required service enabled under Windows

2) launch wmaker at the end of .xinitrc as
exec env CYGWIN=server LANG=fr_BE.UTF-8 wmaker 

This ensures that wmaker can access shared memory from the client side
So ... it works. I used it with Belgian french locales. 

I would like to share the new wmaker package. To this
end I tried to install it locally as
(Continue reading)

Jon TURNEY | 2 Dec 22:33 2008
Picon

Re: X11 apps failing after upgrade

James Ferguson wrote:
> My client machine is Solaris.  Everything worked fine before the update.
> I'm running the installed startxwin.bat startup (with xterm REM'd out).
> 
> I can display xclock fine.  xterm appears up, but as soon as I hit a key
> it crashes with:
> 
>   $ xterm
> xterm:  warning, error event received:
> X Error of failed request:  BadAlloc (insufficient resources for
> operation)
>   Major opcode of failed request:  136 (XKEYBOARD)
>   Minor opcode of failed request:  16 (XkbSetNamedIndicator)
>   Serial number of failed request:  117
>   Current serial number in output stream:  130

This appears to be an issue with connecting to the Cygwin/X server from X 
clients from older X versions running on Solaris

See the thread at [1]

This thread references [2] (and it can also be found at [3]), which would 
suggest this is not a cygwin specific issue, but seems to be something that 
has changed in the X.Org 1.5.x server.

Those bugs reference some Solaris patches, which, as far as I can tell, 
upgrade X to a later version.  Applying those is the only solution I know of 
at this time.

I did some searching, but I can't find a X server patch for this issue.  If 
(Continue reading)


Gmane