LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Compiling Xvnc with OpenGL support (https://www.linuxquestions.org/questions/red-hat-31/compiling-xvnc-with-opengl-support-333161/)

jasonM 06-13-2005 01:40 PM

Compiling Xvnc with OpenGL support
 
Hi,
I'm trying to compile Xvnc with OpenGL support in Red Hat
Enterprise Linux WS release 3 (Taroon Update 4). I've got the
following RPM : vnc-4.0-0.beta4.1.4.src.rpm. The README has the
following instructions :


Once you have a copy of the X source tree, make sure it is unpacked at
the top level of this distribution, so that the xc directory of the X
source tree matches the xc of this distribution. Then you must apply a
patch to some files
in the X source tree:


% patch -Np0 <xc.patch


If this works, you should be able to build the entire X tree, including
Xvnc:


% cd xc
% make World


This RPM contains the X source, so I copied the xc directory from X
source over the xc directory in the vnc-4.0b4-unixsrc directory,
applied the patch, set #define BuildGlxExt YES in vnc.def, compiled
eveything and it DIDN'T complain. However, Xvnc doesn't get built.
Can anyone tell me what I'm missing?


Thanks,


Jason Mazzotta

rkettle 06-13-2005 01:44 PM

vnc-4.0-0.beta4.1.4.src.rpm

you have downloaded the source code. Download the package without .scr in the name. Then just double click the package.

Regards
Richard

jasonM 06-13-2005 01:51 PM

Yes, but the reason I want to compile it myself is because OpenGL support isn't provided in the pre-compiled binary.

rkettle 06-13-2005 01:52 PM

OK, did not realise... have you tried older versions?

jasonM 06-13-2005 02:41 PM

I want to stick with the RPM that came with this distribution.

rkettle 06-13-2005 04:15 PM

which distro? and do you need vnc? why not NX or simply xserver forward? or shh forward x?

Regards
Richard

jasonM 06-13-2005 04:43 PM

Red Hat Enterprise Linux WS release 3 (Taroon Update 4)

I want to be able to view whats going on at a Linux workstation from a Windows computer so that I can capture the screen live.

Thanks,

Jason

rkettle 06-13-2005 04:50 PM

I have hundreds of windows boxes and linux boxes that I look after daily... so trust me

redhat comes with vncserver by default, if Xserver is running, so will vnc

install your server with yum and run it, then vnc from windows with the right session e.g.

open vnc in windows type 192.168.0.1:1

Regards
Richard

jasonM 06-13-2005 05:48 PM

Hi Richard,
Thanks for your answers, but the Xvnc in the binary RPM for Red Hat Enterprise Linux WS release 3 (Taroon Update 4)does not allow OpenGL to be exported. That's why I need to try to compile it myself. I want to use the RPMS that come with this particular distribution because I need to run tests with it and if I use a version that isn't part of the distribution then I have to rationalize why I used something else. I'd rather not have to do that.


Thanks,

Jason Mazzotta

rkettle 06-13-2005 05:52 PM

its richard :) but I get the point.

still don't get why you need vnc... if it to access windows boxes use rdesktop, if it is to access linux boxes xforward... vnc ain't worth the effort... and ain't worth yout time recompiling source code when you can use standard RHE tools.

Regards
Richard

jasonM 06-13-2005 08:03 PM

Sorry, fixed that. I like the "looking over your shoulder" sort of functionality that vnc provides. That way I can be conducting a software test on the Linux box, have the Windows box "watching" what's going on, and have a realtime screen capture utility running on the Windows box to record the results of the test.

rkettle 06-14-2005 04:08 AM

OK... good luck and let me know how it goes.


All times are GMT -5. The time now is 03:39 PM.