-
-
连接后出现以下问题:
-
解决:
- 参考:http://blog.csdn.net/dengruijin/article/details/46575681
-
修改"~/.vnc/xstartup" 文件,修改之后的文件:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
[ -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 &
export STARTUP="/usr/bin/gnome-session --session=ubuntu-2d"
$STARTUP
如下图所示:
- 重启,连接,问题得到解决。
Ubuntu12.04安装vnc Server
最新推荐文章于 2017-11-12 01:58:00 发布