我正在尝试访问我的 Centos 7 服务器桌面,所以我安装了...
[plankton@localhost ~]$ rpm -q --info tigervnc-server
Name : tigervnc-server
Version : 1.3.1
Release : 4.el7_2
Architecture: x86_64
Install Date: Sat 09 Apr 2016 07:37:13 PM PDT
Group : User Interface/X
Size : 504777
License : GPLv2+
Signature : RSA/SHA256, Thu 31 Mar 2016 01:14:19 PM PDT, Key ID 24c6a8a7f4a80eb5
Source RPM : tigervnc-1.3.1-4.el7_2.src.rpm
Build Date : Thu 31 Mar 2016 09:35:08 AM PDT
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://www.tigervnc.com
Summary : A TigerVNC server
Description :
The VNC system allows you to access the same desktop from a wide
variety of platforms. This package includes set of utilities
which make usage of TigerVNC server more user friendly. It also
contains x0vncserver program which can export your active
X session.
然后我像这样启动了 vncserver:
[plankton@localhost ~]$ vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth: file /home/plankton/.Xauthority does not exist
New 'localhost.localdomain:1 (plankton)' desktop is localhost.localdomain:1
Creating default startup script /home/plankton/.vnc/xstartup
Starting applications specified in /home/plankton/.vnc/xstartup
Log file is /home/plankton/.vnc/localhost.localdomain:1.log
vncserver -list 有以下输出:
[plankton@localhost ~]$ vncserver -list
TigerVNC server sessions:
X DISPLAY # PROCESS ID
:1 6488
在我的 Windows 10 系统上,我从这里安装 vnc 客户端:https://www.realvnc.com/download/get/1861/
当我尝试从 Windows 系统连接到 Centos 7 服务器时,出现此错误。
我已经禁用了 selinux,并以 root 身份执行 iptables --flush 并且我使用了正确的 IP 地址。我没有收到输入密码的提示。谁能帮我吗?
谢谢