问候。我在 ubuntu 16.04 LTS 上。这是一个亚马逊 EC2 实例我在安装和启动 vncserver 时出现灰屏我尝试了很多关于这个问题的建议,但仍然无法让它工作......谢谢你的帮助
我的日志文件:
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
Tue Jul 19 03:03:37 2016
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
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! …Run Code Online (Sandbox Code Playgroud) 我安装了 VNC,使用
sudo apt-get install xfce4 xfce4-goodies tightvncserver
Run Code Online (Sandbox Code Playgroud)
但是我不能启动它,当我进入
vncserver
Run Code Online (Sandbox Code Playgroud)
我收到错误消息
Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xtightvnc process.
15/07/15 18:59:34 Xvnc version TightVNC-1.3.9
15/07/15 18:59:34 Copyright (C) 2000-2007 TightVNC Group
15/07/15 18:59:34 Copyright (C) 1999 AT&T Laboratories Cambridge
15/07/15 18:59:34 All Rights Reserved.
15/07/15 18:59:34 See http://www.tightvnc.com/ for information on TightVNC
15/07/15 18:59:34 Desktop name 'X' (vultr.guest:1)
15/07/15 18:59:34 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
15/07/15 …Run Code Online (Sandbox Code Playgroud) 我正在使用 TightVNC 从我的 Windows 7 机器连接到我的 Lubuntu 14.04 服务器。除了远程鼠标光标仅显示为“X”外,一切都按预期工作。

我的./vnc/xstartup文件配置如下:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
autocutsel -fork
lxsession -s Lubuntu -e LXDE
Run Code Online (Sandbox Code Playgroud)
为了在服务器上设置 TightVNC,我安装了以下软件包:
使用 TightVNC 时,我是否需要安装软件包才能使远程鼠标光标显示更正?我需要在我的xstartup文件中添加命令吗?
在 Ubuntu 18.04 上,我运行了sudo apt-get install tightvncserver. 然后我运行vncserver它给出
New 'X' desktop is user:1
Starting applications specified in /etc/X11/Xvnc-session
Log file is /home/user/.vnc/user:1.log
Run Code Online (Sandbox Code Playgroud)
作为输出。当我跑步时,more /home/user/.vnc/user:1.log我得到
23/10/18 00:27:27 Xvnc version TightVNC-1.3.10
23/10/18 00:27:27 Copyright (C) 2000-2009 TightVNC Group
23/10/18 00:27:27 Copyright (C) 1999 AT&T Laboratories Cambridge
23/10/18 00:27:27 All Rights Reserved.
23/10/18 00:27:27 See http://www.tightvnc.com/ for information on TightVNC
23/10/18 00:27:27 Desktop name 'X' (user:1)
23/10/18 00:27:27 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
23/10/18 …Run Code Online (Sandbox Code Playgroud) 我有一台运行 Ubuntu Gnome 16.10 的家庭服务器。我安装了桌面环境以更好地配置我的服务器,我选择 Gnome 是因为它足够轻量级并且具有用于备份的 Google 驱动器集成(有点)。
我想通过 VNC 访问并具有相同的界面。我说的是这个。
我配置了 VNC,~/.vnc/xstartup看起来像:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
gnome-session & #this line has been added based on some comments found online, but no effect …Run Code Online (Sandbox Code Playgroud) 我已经使用 VNC 很多年了,但我不知道为什么有时会发生这种情况。在一台新的 Ubuntu 16.04 机器上,我首先尝试使用 Vino。它运行良好,但我认为它相当慢,所以我决定将 TightVNC 与 Xfce4 窗口管理器一起使用。然而,我再次得到这个“灰色屏幕”(我之前已经经历过几次......)。
我的xstartup是:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
startxfce4 &
Run Code Online (Sandbox Code Playgroud)
和日志文件是:
24/08/18 09:47:09 Xvnc version TightVNC-1.3.10
24/08/18 09:47:09 Copyright (C) 2000-2009 TightVNC Group
24/08/18 09:47:09 Copyright (C) 1999 AT&T Laboratories Cambridge
24/08/18 09:47:09 All Rights Reserved.
24/08/18 09:47:09 See http://www.tightvnc.com/ for information on TightVNC
24/08/18 09:47:09 Desktop name 'X' (kimchan:1)
24/08/18 09:47:09 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
24/08/18 09:47:09 Listening for VNC connections on TCP …Run Code Online (Sandbox Code Playgroud) 我正在使用脚本来自动设置计算机。我需要为用户分配一个密码给 vnc 服务器,这通常是使用vncserver命令完成的。但是,它会提示用户输入并重新输入他们的密码,而脚本无法执行这些操作。那么,如何在没有交互式提示的情况下设置 VNC 密码?
谢谢。
我正在寻找像 TightVnc 投影仪这样的东西,但如果可能的话,它是跨平台和免费的。
我见过像 iTALC 这样的东西,但它很难在 Windows 上设置,而且我需要的东西很长。我需要做的就是在启动时传递一个命令来为我的桌面屏幕创建一个服务器(运行 12.10 LTS)。我有一台运行 13.10 的笔记本电脑用作客户端。
我还希望我的 Windows 和 Ubuntu 客户端上的查看器以各自的方式启动。(我知道这个程序。)提前致谢
我已经ubuntu 18在 Windows 10 机器上成功安装了 WLS ( )。我想使用TightVnc. 使用默认设置,.vnc/xstartup包含以下几行
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
Run Code Online (Sandbox Code Playgroud)
我可以使用 Windows 中的 Tight vnc 查看器连接到它,但 UI 看起来像
但是,我想使用 Ubuntu 18 附带的默认桌面。我安装gnome并将xstartup文件更改为以下内容(由网络上的某人建议)
#!/bin/sh
#Uncommment this line if using Gnome and your keyboard mappings are incorrect.
#export XKL_XMODMAP_DISABLE=1
# Load X resources (if any)
if [ -r "$HOME/.Xresources" …Run Code Online (Sandbox Code Playgroud) 当我尝试在 Ubuntu 17.10(巧妙)上使用 xfce 4.12 通过 VNC 运行 xrandr 时,出现错误
RandR extension missing
Run Code Online (Sandbox Code Playgroud)
我尝试安装 libxrandr2 但它已经安装了。当我运行 lxrandr 时出现错误:
Xlib: extension "RANDR" missing on display ":1.0".
Run Code Online (Sandbox Code Playgroud)
我使用tightvnc 作为VNC 服务器。我已经尝试了所有常见的 sudo apt-get 修复方法。
当我做
sudo apt-get update
sudo apt-get install x11-xserver-utils
Run Code Online (Sandbox Code Playgroud)
我被告知该软件包已经是最新版本。