gpt4 book ai didi

tightvnc - 如何在网络浏览器中使用 TightVNC

转载 作者:行者123 更新时间:2023-12-02 00:32:47 27 4
gpt4 key购买 nike

TightVNC 提供了这个文件用于嵌入网页( Java Viewer ):

https://www.tightvnc.com/download/2.8.3/tvnjviewer-2.8.3-bin-gnugpl.zip

viewer-applet-example.html在文件中,提供了一个示例:

<applet>加载 jar( tightvnc-jviewer.jar ),object( com.glavsoft.viewer.Viewer )

<param>设置 ip( localhost ),端口( 5900 )...

<html>
<head>
<title>TightVNC desktop</title>
</head>
<body>
<applet archive="tightvnc-jviewer.jar"
code="com.glavsoft.viewer.Viewer"
width="100" height="100">
<param name="Host" value="localhost"/>
<!-- Host to connect. Default: the host from which the applet was loaded. -->
<param name="Port" value="5900"/>
<!-- Port number to connect. Default: 5900 -->
<!--param name="Password" value="" /--> <!-- Password to the server (not recommended to use this parameter here) -->
<param name="OpenNewWindow" value="yes"/>
<!-- yes/true or no/false. Default: yes/true -->
<param name="ShowControls" value="yes"/>
<!-- yes/true or no/false. Default: yes/true -->
<param name="ViewOnly" value="no"/>
<!-- yes/true or no/false. Default: no/false -->
<param name="AllowClipboardTransfer" value="yes"/>
<!-- yes/true or no/false. Default: yes/true -->
<param name="RemoteCharset" value="standard"/>
<!-- Charset encoding is used on remote system. Use this option to specify character encoding will be used for encoding clipboard text content to. Default value (when parameter is empty): local system default character encoding. Set the value to 'standard' for using 'Latin-1' charset which is only specified by rfb standard for clipboard transfers. -->

<param name="ShareDesktop" value="yes"/>
<!-- yes/true or no/false. Default: yes/true -->
<param name="AllowCopyRect" value="yes"/>
<!-- yes/true or no/false. Default: yes/true -->
<param name="Encoding" value="Tight"/>
<!-- Possible values: "Tight", "Hextile", "ZRLE", and "Raw". Default: Tight -->
<param name="CompressionLevel" value=""/>
<!-- 1-9 or empty. Empty means server default -->
<param name="JpegImageQuality" value=""/>
<!-- 1-9, Lossless or empty. When param is set to "Lossless" no jpeg compression used. Empty means server default -->
<param name="LocalPointer" value="On"/>
<!-- Possible values: on/yes/true (draw pointer locally), off/no/false (let server draw pointer), hide). Default: "On"-->
<param name="ConvertToASCII" value="no"/>
<!-- Whether to convert keyboard input to ASCII ignoring locale. Possible values: yes/true, no/false). Default: "No"-->

<param name="Tunneling" value="auto"/>
<!-- Tunneling. Possible values:
auto - allow viewer to choose tunneling mode,
none/no - no tunneling use,
SSL - choose SSL tunneling when available.
Default: "auto" -->

<param name="colorDepth" value=""/>
<!-- Reserved for future. Possible values: 6, 8, 16, 24, 32 (equals to 24). Only 24/32 is supported now -->
<param name="ScalingFactor" value="100"/>
<!-- Scale local representation of the remote desktop on startup. Default is 100 means 100% -->
<!--param name="showConnectionDialog" value="yes" /-->
<!-- Set to "No" if you want not to show initial connection dialog. Default: "Yes". -->
<param name="AppletGoodbyeURL" value="about:blank"/>
<!-- URL to be redirected on applet stopping. When blank or absent stop applet and do nothing. -->
<!-- SSH tunneling options -->
<param name="sshHost" value=""/>
<!-- SSH host name. -->
<param name="sshUser" value=""/>
<!-- SSH port number. When empty, standard SSH port number (22) is used -->
<param name="sshPort" value=""/>
<!-- SSH user name. -->

</applet>
<br/>
<a href="http://www.tightvnc.com/">TightVNC Web Site</a>
</body>
</html>

我不能用这个网页,网页是空白的,只显示<a href="http://www.tightvnc.com/">TightVNC Web Site</a>部分。

使用 Java Viewer ,我不需要安装服务器端( TightVNC for Windows (Version 2.8.11) )?如何设置服务器端?

最佳答案

一定要使用支持java applets的浏览器。否则,内置的 TightVNC-Client 将无法工作,您只会看到“www.TightVNC.com”这一行

请记住,许多浏览器不再支持 java applet (NPAPI)。 Chrome 停止支持版本 45(2015 年 9 月),Firefox 52(2017 年 3 月),Microsoft Edge 完全不支持 NPAPI。

尝试使用 Internet Explorer 检查您的安装是否正确。考虑一个基于 HTML5 的 VNC 客户端/查看器。

关于tightvnc - 如何在网络浏览器中使用 TightVNC,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51169783/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com