![通过 vncviewer 连接时出现问题](https://linux22.com/image/528772/%E9%80%9A%E8%BF%87%20vncviewer%20%E8%BF%9E%E6%8E%A5%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
我目前连接正常,但 Windows VNCViewer 中只显示黑屏。我查看了日志,结果如下。有人能帮忙解释一下吗?
Sun Oct 31 16:20:01 2010
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port 5801
vncext: created VNC server for screen 0
error opening security policy file /usr/lib64/xserver/SecurityPolicy
sh: /home/andrew/.vnc/xstartup: Permission denied
Could not init font path element unix/:7100, removing from list!
AUDIT: Sun Oct 31 16:20:06 2010: 28746 Xvnc: client 1 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
答案1
检查 xstartup 文件的权限,听起来您无法读取它。