首页 > 系统服务 > 详细

Linux VNC Server

时间:2015-03-19 18:41:22      阅读:357      评论:0      收藏:0      [点我收藏+]

VNC Server的配置很简单:

# vncpasswd
Password:******
Verify:******


# cat .vnc/xstartup 
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &


# vncserver &
[3] 8079
[root@master ~]# 
New ‘master.liucc.com:1 (root)‘ desktop is master.liucc.com:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/master.liucc.com:1.log

[3]   Done                    vncserver


技术分享

技术分享

技术分享

技术分享


本文出自 “天道酬勤” 博客,请务必保留此出处http://lavenliu.blog.51cto.com/5060944/1622269

Linux VNC Server

原文:http://lavenliu.blog.51cto.com/5060944/1622269

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!