Posted on 2012-03-20 11:06
Milo的海域 阅读(354)
评论(0) 编辑 收藏 所属分类:
Linux
1. install vncserver
sudo yum install vnc-server
2. set password for login user
vncpasswd
3. start one server to generate setting file ~/.vnc/xstartup
vncserver :1
4. edit ~/.vnc/xstartup as suggestion of comments to uncomment two lines:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
5. restart the server
vncserver -kill :1 vncserver -geometry 1200x900 -depth 16 :1
宽屏的话
vncserver -geometry 1366x768 -depth 16 :1, 如果不顺眼 可以微调,我当前的最佳分辨率是
vncserver -geometry 1346x680 -depth 16 :1
6. access by vncviewer
vncviewer SERVER_IP:5901
Ref:
VNC How TO