Linux 开启VNCSERVER

http://blog.sina.com.cn/s/blog_49c306b201011had.html

注意:有一个地方不同

2,设置用户信息及分辨率。

[root@localhost: ~]#vi /etc/sysconfig/vncservers

# Use "-localhost" to prevent remote VNC clients connecting except when
# doing so through a secure tunnel.  See the "-via" option in the
# `man vncviewer' manual page.


VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1440x900"


# VNCSERVERS="2:myusername"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"

你可能感兴趣的:(Linux 开启VNCSERVER)