Linux 下VNC的配置

sufwei 2011-05-01

New 'mylab:1 (root)' desktop is mylab:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/mylab:1.log

4,windows访问在地址栏里输入 http://ip:5801    然后输入root密码就可以访问了
windows客户端一定要装JRE,如果不装是无法访问的
没有装JRE的显示

安装了JRE之后的显示

5,这时候虽然连接上了但是无法看到完整的linux桌面,还是个空白背景,看不到桌面

如果用的是gnome客户端,编辑/root/.vnc/xstartup,按照提示将红字那两行的注释符去掉
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

( 某些系统版本是更改.vnc/xstartup文件,将twm更改为gnome-session )

相关推荐

luciuschan / 0评论 2020-05-02