Xdmx and the Cygwin X server

2006-08-08 Thread Greg Frank

I saw a thread on this list discussing Xdmx in June of 2005 but there was no 
conclusion and it did not exactly apply to my circumstance.

I've been trying to get use an Xdmx server running on a Redhat box connected to 
a Cygwin X server on a laptop as a client.
It starts up and I see the root window, but the functionality is not there.  
For example, if I drag a window off of the redhat box and onto the Cygwin box I 
can see the dotted outline of the window appear but the content wont display.

Has anyone been using Xdmx and Cygwin together successfully and could you 
advise me on configuration issues? 
Also if you know of any reason why this is not going to work please let me know.


___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

--
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: glut (for X) cannot be compiled without -mno-cygwin

2006-08-08 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jens Seidel wrote:
 $ g++ -H -g -O2 -I/usr/X11R6/include main.cpp -lglut
 . /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/GL/glut.h
 
 The references to w32api/GL are probably wrong!
 Once I omit -I/usr/X11R6/include (or use -mno-cygwin) it works:

Is freeglut installed?  It appears not.

 $ g++ -H -g -O2 main.cpp -lglut
 . /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/GL/glut.h
 .. /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/GL/gl.h
 .. /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/GL/glu.h
 ... /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/stddef.h
 
 Since I want to build an X application I do not want to use w32api/GL or
 -mno-cygwin! Any idea?

g++ -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib main.cpp -lglut

You need to specify the -L/usr/X11R6/lib also, since that's where the
X11 glut library is found.


Yaakov
Cygwin Ports
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE2SHzpiWmPGlmQSMRAo+sAJ98vY/98a9VCaH0h+3S/nD4WkeH4ACcCjUM
qpUg2/gW+ny/gtLx9RMEUpQ=
=yydY
-END PGP SIGNATURE-

--
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: failure notice

2006-08-08 Thread James Supancic

   I've been trying to get use an Xdmx server running on a Redhat box connected 
to a Cygwin X server on a laptop as a client.
   It starts up and I see the root window, but the functionality is not there. For 
example, if I drag a window off of the redhat box and onto the Cygwin box I can 
see the dotted outline of the window appear but the content wont display.



So... you are using an Xdmx server with two backends, one of which is
on a Linux box, the other of which is on a Windows box? That really
sounds like you are running without Xinerama support? Without Xinerama
you can't move windows between screens. Try this
DISPLAY=DMXHOST:DMXNUM.0 xev  DISPLAY=DMXHOST:DMXNUM.1 xev . If you
don't have Xinerama support you will get a xev window on each screen,
but you won't be able to move them between screens.

Did you try starting Xdmx with the +xinerama option on the command
line? This will enable Xinerama and allow you to move windows from one
screen to the other.

If +xinerama doesn't work, please post the complete command you are
using to launch Xdmx.



   Has anyone been using Xdmx and Cygwin together successfully and could you 
advise me on configuration issues?
   Also if you know of any reason why this is not going to work please let me 
know.



It should work, but it will be a bit harder to configure than
identical Linux boxes.

Thank you for your time,
James Steven Supancic III

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