Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选 PDF转换器

首页 / 操作系统 / Linux / Linux下VNC配置详细解析

1、VNC的启动/停止/重启#service vncserver start/stop/restart关闭具体的vncserver命令:vncserver -kill :1       vncserver -kill :22、设置密码#vncpasswd3、客户端登陆在vnc客户端中输入:服务器端IP:1或服务器端IP:24、设置登陆到KDE桌面a.[root@CentOS ~]# vi /etc/sysconfig/vncservers
#
# Uncomment the line below to start a VNC server on display :1
# as my "myusername" (adjust this to your own). You will also
# need to set a VNC password; run "man vncpasswd" to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
# <URL:>.http://www.uk.research.att.com/vnc/sshvnc.html# VNCSERVERS="1:myusername"
VNCSERVERS="1:root"# VNCSERVERARGS[1]="-geometry 800x600"
VNCSERVERARGS[1]=”-geometry 800×600 -alwaysshared -depth 24″ -alwaysshared代表允许多用户同时登录 -depth代为色深,参数有8,16,24,32。注:红色部分就是被修改或增加的部分b.[root@centos .vnc]$ vi /root/.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 & #set starting GNOME desktop
startkde &        #kde desktop
#twm &   #Text interface
注:红色部分就是被修改或增加的部分c.重启VNC即可。RootKit技术被木马利用 偷偷窃取网游密码浅谈防火墙的缺点与不足相关资讯      VNC  Linux VNC 
  • 远程管理之VNC 详解  (今 21:04)
  • Linux 开启VNC远程管理服务的图形  (05月12日)
  • 在CentOS 6.5设置VNC多用户登录  (12/19/2015 13:44:13)
  • CentOS 7下安装配置 VNC Server  (07月03日)
  • CentOS 5.11开启VNC访问  (01月22日)
  • CentOS 6.5 安装VNC Server实现图  (12/14/2015 20:15:51)
本文评论 查看全部评论 (0)
表情: 姓名: 字数


评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读