标签: tightvnc

TightVNC 中带有十字光标的灰色屏幕

我正在尝试从 Windows 10 VNC 到 Ununtu 16.04。我得到一个带十字光标的带纹理的灰色屏幕。在此处输入图片说明

下面是我的日志文件:

Xvnc Free Edition 4.1.1 - built Feb 25 2015 23:02:21
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc


Wed Aug 17 14:42:46 2016
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5902
 vncext:      created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not …
Run Code Online (Sandbox Code Playgroud)

vnc-server tightvnc

5
推荐指数
0
解决办法
3664
查看次数

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

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),对象(com.glavsoft.viewer.Viewer )

设置<param>ip( localhost),port( 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" …
Run Code Online (Sandbox Code Playgroud)

tightvnc

2
推荐指数
1
解决办法
2万
查看次数

用BASH以编程方式设置TightVNC

我正在编写一个脚本来在许多基于debian的设备上设置VNC(以及其他内容).我想在这个设置中包含VNC(特别是如果可能的话,包括tightVNC)并让它设置一个给定的密码(由脚本随机生成).问题是,我发现的每一个指南似乎都假设一个人正在做这个,并准备好坐下来输入密码然后按回车键.我似乎无法让Bash向VNC回复密码(它总是说'密码太短')也不能让'期望'正常工作.

我发现的示例指南如下所示:http: //www.penguintutor.com/linux/tightvnc

我正在寻找类似的东西:

#!/bin/bash
echo "Going to configure VNC"
#turn on vnc server
tightvncserver
#spit out password to vnc server for first run only
echo $password
#confirm the pw
echo $password
Run Code Online (Sandbox Code Playgroud)

但是,在每个virginal运行的tightvncserver它总是要求手动输入密码:

Going to configure VNC

You will require a password to access your desktops.

Password: Password too short
Run Code Online (Sandbox Code Playgroud)

我怎么能#1绕过这个,或者#2使用bash/expect给它一个密码让它开心?

bash debian expect vnc-server tightvnc

1
推荐指数
1
解决办法
2170
查看次数

标签 统计

tightvnc ×3

vnc-server ×2

bash ×1

debian ×1

expect ×1