Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. VNC 4.0 Source Distribution for Unix platforms
  2. ==============================================
  3. Copyright (C) 2002-2004 RealVNC Ltd. All Rights Reserved.
  4. This software is distributed under the GNU General Public Licence as published
  5. by the Free Software Foundation. See the file LICENCE.TXT for the conditions
  6. under which this software is made available. VNC also contains code from other
  7. sources. See the Acknowledgements section below, and the individual files for
  8. details of the conditions under which they are made available.
  9. There are six programs here:
  10. vncviewer - this is the VNC viewer, or client, program for X.
  11. Xvnc - this is the X VNC server - it is both a VNC server and an X server
  12. with a "virtual" framebuffer. You normally use the vncserver script
  13. to start Xvnc.
  14. vncserver - this is a wrapper script which makes starting an X VNC server
  15. (i.e. desktop) more convenient. It is written in Perl, so to use
  16. the script you need that.
  17. vncpasswd - this program allows you to change the password used to access
  18. your X VNC desktops. The vncserver script uses this program when
  19. you first start a VNC server.
  20. vncconfig - this program is used to configure and control a running instance
  21. of Xvnc.
  22. x0vncserver - this is an inefficient VNC server which continuously polls any
  23. X display, allowing it to be controlled via VNC. It is
  24. intended mainly as a demonstration of a simple VNC server.
  25. In addition to these standalone programs, this distribution can also be used to
  26. turn the native X server for a platform into a VNC server. For XFree86 version
  27. 4 servers, this is done using a module loaded at run-time. For other X servers
  28. it requires replacing the native X server binary.
  29. To build this distribution you need a C++ compiler as well as a C compiler.
  30. You also need a reasonably recent version of the X window system installed.
  31. This comes as standard with most unix machines. If you don't have it
  32. installed, see http://www.xfree86.org or http://www.x.org
  33. To build everything but Xvnc, do:
  34. % ./configure
  35. % make
  36. This should build first some libraries - zlib, rdr, network, Xregion, rfb and
  37. tx - then vncviewer, vncconfig and vncpasswd. If you already have zlib
  38. installed on your system you can run "./configure --with-installed-zlib" if you
  39. prefer (this is strongly advised on FreeBSD, since we've been told there are
  40. problems otherwise).
  41. Building Xvnc
  42. =============
  43. Building Xvnc and the VNC support for native X servers is much more complex.
  44. If you don't need to build it, skip to the section below on installing.
  45. Xvnc differs from the other programs in that it is built inside the X source
  46. tree. Unlike previous versions of Xvnc, we do not provide an X source tree
  47. with this distribution. We have designed the distribution to be as independent
  48. as possible of the X tree used.
  49. We have successfully used XFree86 version 4.3.0, 4.2.0 and 3.3.6 (available
  50. from http://www.xfree86.org). You could also try the original X.org tree
  51. available from http://www.x.org but this does not build as easily because of
  52. lack of support for C++, no support for building server only, and other issues.
  53. Note that the X tree is enormous and notoriously difficult to deal with -
  54. building it is not for the faint-hearted!
  55. Once you have a copy of the X source tree, make sure it is unpacked at the top
  56. level of this distribution, so that the xc directory of the X source tree
  57. matches the xc of this distribution, for example:
  58. % tar xzf X420src-1.tgz
  59. Then you must apply a patch to some files in the X source tree:
  60. % patch -Np0 <xc.patch
  61. If this works, you should be able to build the entire X tree, including Xvnc:
  62. % cd xc
  63. % make World
  64. This will take a long time, and will quite probably fail for one reason or
  65. another! If you are having trouble, we suggest you try to build the X tree in
  66. isolation first before attempting it with the VNC additions.
  67. If successful, in the xc/programs/Xserver directory you should find an Xvnc
  68. binary, plus the native X server binary(ies) for your platform with VNC support
  69. compiled in. If you are building from an XFree86 version 4 tree on a supported
  70. platform, you should also find a vnc.so module in
  71. xc/programs/Xserver/vnc/modules.
  72. Exactly which X extensions and features are built into Xvnc and the native X
  73. server binary is determined by the settings in xc/config/cf. The file vnc.def
  74. contains the settings we use to build our binary distributions. You may need
  75. to edit this and the other files as appropriate.
  76. Installing
  77. ==========
  78. Different unix platforms have different conventions for where software should
  79. be installed. To copy the programs to some directory which is in your PATH
  80. environment variable, such as /usr/local/bin, there is a script called
  81. vncinstall which you can use:
  82. % cd ..
  83. % ./vncinstall /usr/local/bin
  84. This will also attempt to install the manual pages in an appropriate directory.
  85. You can specify an alternative directory as a second argument to vncinstall:
  86. % ./vncinstall /usr/local/bin /usr/local/man
  87. It will also try to install the vnc.so XFree86 version 4 module if appropriate.
  88. This will be copied to the /usr/X11R6/lib/modules/extensions directory and can
  89. be enabled like any other module by adding a Load "vnc" line to the Module
  90. section of XF86Config. The parameters listed in the Xvnc manual page can be
  91. set as options in XF86Config e.g. Option "passwordFile" "/root/.vnc/passwd".
  92. Note that for some reason options cannot be set in the Module section of
  93. XF86Config - try the Screen section.
  94. If you want to use the Java VNC viewer, you should copy the files from
  95. the java directory to some suitable installation directory such as
  96. /usr/local/vnc/classes:
  97. % mkdir -p /usr/local/vnc/classes
  98. % cp java/* /usr/local/vnc/classes
  99. We recommend that you use the vncserver script to run Xvnc for you. You can
  100. edit the script as appropriate for your site. Things you may need to change
  101. include:
  102. * The location of Perl - if Perl is not installed in /usr/bin you'll need
  103. to edit the "#!/usr/bin/perl" first line of vncserver.
  104. * Xvnc's font path and color database. If you have an installation of
  105. X which is not in the standard place you may need to add arguments to the
  106. Xvnc command line to set these. These should be appended to the $cmd
  107. variable at the comment "# Add font path and color database...".
  108. * $vncJavaFiles - this specifies the location of the files for
  109. the VNC viewer Java applet. The default is /usr/local/vnc/classes.
  110. ACKNOWLEDGEMENTS
  111. ================
  112. This distribution contains public domain DES software by Richard Outerbridge.
  113. This is:
  114. Copyright (c) 1988,1989,1990,1991,1992 by Richard Outerbridge.
  115. (GEnie : OUTER; CIS : [71755,204]) Graven Imagery, 1992.
  116. This distribution contains software from the X Window System. This is:
  117. Copyright 1987, 1988, 1998 The Open Group
  118. Permission to use, copy, modify, distribute, and sell this software and its
  119. documentation for any purpose is hereby granted without fee, provided that
  120. the above copyright notice appear in all copies and that both that
  121. copyright notice and this permission notice appear in supporting
  122. documentation.
  123. The above copyright notice and this permission notice shall be included in
  124. all copies or substantial portions of the Software.
  125. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  126. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  127. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  128. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  129. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  130. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  131. Except as contained in this notice, the name of The Open Group shall not be
  132. used in advertising or otherwise to promote the sale, use or other dealings
  133. in this Software without prior written authorization from The Open Group.
  134. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
  135. All Rights Reserved
  136. Permission to use, copy, modify, and distribute this software and its
  137. documentation for any purpose and without fee is hereby granted,
  138. provided that the above copyright notice appear in all copies and that
  139. both that copyright notice and this permission notice appear in
  140. supporting documentation, and that the name of Digital not be
  141. used in advertising or publicity pertaining to distribution of the
  142. software without specific, written prior permission.
  143. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  144. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  145. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  146. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  147. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  148. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  149. SOFTWARE.
  150. This distribution contains zlib compression software. This is:
  151. Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler
  152. This software is provided 'as-is', without any express or implied
  153. warranty. In no event will the authors be held liable for any damages
  154. arising from the use of this software.
  155. Permission is granted to anyone to use this software for any purpose,
  156. including commercial applications, and to alter it and redistribute it
  157. freely, subject to the following restrictions:
  158. 1. The origin of this software must not be misrepresented; you must not
  159. claim that you wrote the original software. If you use this software
  160. in a product, an acknowledgment in the product documentation would be
  161. appreciated but is not required.
  162. 2. Altered source versions must be plainly marked as such, and must not be
  163. misrepresented as being the original software.
  164. 3. This notice may not be removed or altered from any source distribution.
  165. Jean-loup Gailly Mark Adler
  166. jloup@gzip.org madler@alumni.caltech.edu
  167. This distribution contains Java DES software by Dave Zimmerman
  168. <dzimm@widget.com> and Jef Poskanzer <jef@acme.com>. This is:
  169. Copyright (c) 1996 Widget Workshop, Inc. All Rights Reserved.
  170. Permission to use, copy, modify, and distribute this software and its
  171. documentation for NON-COMMERCIAL or COMMERCIAL purposes and without fee
  172. is hereby granted, provided that this copyright notice is kept intact.
  173. WIDGET WORKSHOP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE
  174. SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT
  175. NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
  176. PARTICULAR PURPOSE, OR NON-INFRINGEMENT. WIDGET WORKSHOP SHALL NOT BE
  177. LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,
  178. MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
  179. THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE
  180. CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE
  181. PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT
  182. NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE
  183. SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE
  184. SOFTWARE COULD LEAD DIRECTLY TO DEATH, PERSONAL INJURY, OR SEVERE
  185. PHYSICAL OR ENVIRONMENTAL DAMAGE ("HIGH RISK ACTIVITIES"). WIDGET
  186. WORKSHOP SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF
  187. FITNESS FOR HIGH RISK ACTIVITIES.
  188. Copyright (C) 1996 by Jef Poskanzer <jef@acme.com>. All rights
  189. reserved.
  190. Redistribution and use in source and binary forms, with or without
  191. modification, are permitted provided that the following conditions
  192. are met:
  193. 1. Redistributions of source code must retain the above copyright
  194. notice, this list of conditions and the following disclaimer.
  195. 2. Redistributions in binary form must reproduce the above copyright
  196. notice, this list of conditions and the following disclaimer in the
  197. documentation and/or other materials provided with the distribution.
  198. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
  199. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  200. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  201. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
  202. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  203. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  204. SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
  205. BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  206. WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  207. OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  208. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  209. Visit the ACME Labs Java page for up-to-date versions of this and other
  210. fine Java utilities: http://www.acme.com/java/