启动vncserver后如何解释此日志文件?

时间:2018-07-18 11:36:18

标签: linux vnc

我正在尝试配置GCP Linux VM以运行VNC服务器。 我按照此处的说明进行操作:https://www.youtube.com/watch?v=-tZLBcfyngU,并且没有任何明显的问题。

我跑步时

 usCapitals.put(uSCapitals[y], usStates[y]);

从命令行,我的vnc客户端无法连接(“服务器无响应”),我在服务器的日志文件中得到了此信息:

$ 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
Wed Jul 18 11:09:40 2018
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5903
 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 init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
usage: xsetroot [options]
  where options are:
  -display <display>   or   -d <display>
  -fg <color>   or   -foreground <color>
  -bg <color>   or   -background <color>
  -rv   or   -reverse
  -def   or   -default
  -name <string>
  -cursor <cursor file> <mask file>
  -cursor_name <cursor-font name>
  -xcf <ARGB cursor file> <cursor size>
  -solid <color>
  -gray   or   -grey
  -bitmap <filename>
  -mod <x> <y>
  -help
  -version

**/home/nicholdw/.vnc/xstartup: 12: /home/nicholdw/.vnc/xstartup: gnome-settings-daemon: not found**

**** (gnome-panel:16661): WARNING **: 11:09:43.917: Failed to request name: the name already has an owner**
**metacity-Message: 11:09:43.976: could not find XKB extension.**

**(metacity:16663): metacity-WARNING **: 11:09:43.983: Failed to create MetaCompositorXRender: Missing composite extension required for compositing
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached**
nicholdw@ubuntu-with-vnc-server-and-gui-desktop:~/.vnc$

1 个答案:

答案 0 :(得分:1)

您的shell脚本在应该为xsetroot -solod grey时具有xsetroot -solid grey。 (我会将其添加为评论,但我低于50个代表阈值。