CentOS 6.3 - Win7 安装VNC-VNCviewer
来源:互联网 发布:java replaceall 空格 编辑:程序博客网 时间:2024/05/16 11:25
操作目的:1、实现Win7上图形化远程 CentOS
2、实现Win7与CentOS数据传输
1、实现Win7上图形化远程 CentOS
第一步:检测CentOS上是否已安装vnc-server
[root@Linux ~]# rpm -qa|grep vnctigervnc-server-1.1.0-5.el6_4.1.i686tigervnc-1.1.0-5.el6_4.1.i686tigervnc-server-module-1.1.0-5.el6_4.1.i686
[root@Linux ~]# yum install tigervnc-server.i686 tigervnc.i686Loaded plugins: fastestmirror, refresh-packagekitLoading mirror speeds from cached hostfile * base: mirrors.grandcloud.cn * extras: mirrors.grandcloud.cn * rpmforge: ftp.riken.jp * updates: mirrors.grandcloud.cnSetting up Install ProcessPackage tigervnc-server-1.1.0-5.el6_4.1.i686 already installed and latest versionPackage tigervnc-1.1.0-5.el6_4.1.i686 already installed and latest versionNothing to do
第二步:配置VNC
[root@Linux ~]# vim /etc/sysconfig/vncservers修改为以下形式:
# The VNCSERVERS variable is a list of display:user pairs.## Uncomment the lines below to start a VNC server on display :2# 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 this URL:# http://kbase.redhat.com/faq/docs/DOC-7028# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.# 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:chen 2:root" VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
其中
VNCSERVERS="1:chen 2:root"格式为 (桌面号:用户) 可以加多个
第三步、设置vnc链接密码
[root@Linux ~]# vncpasswd第四步、重启vncserver
[root@Linux ~]# service vncserver restartShutting down VNC server: 1:chen 2:root [ OK ]Starting VNC server: 1:chen New 'Linux:1 (chen)' desktop is Linux:1Starting applications specified in /home/chen/.vnc/xstartupLog file is /home/chen/.vnc/Linux:1.log2:root New 'Linux:2 (root)' desktop is Linux:2Starting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/Linux:2.log [ OK ]
第五步、要么设置防火墙规则 ,要么关闭防火墙
[root@Linux ~]# service iptables stop
第六步、在win7 下载 VNC-Viewer
下载好运行并输入 ip:桌面号 eg: 192.168.0.6:1 接着提示输入密码 OK。
至此已经可以实现win7下图形界面访问CentOs 桌面。
2、实现Win7与CentOS数据传输
用的时SSH Secure File Transfer Client
打开 并输入 : Host Name : 192.168.0.6
User Name :Your name
点击链接 提示输入密码 OK
至此 文章开始的两个功能都已实现!
- CentOS 6.3 - Win7 安装VNC-VNCviewer
- VNC设置(win7下为vnc server ,ubuntu12 vncviewer)
- CentOS 6.3 VNC安装
- Centos 6.3安装VNC
- CentOS 6.3 VNC安装
- centos 6.3 vnc连接失败—— font catalog ,appropriate font path,Xvnc: undefined symbol,vncviewer: ConnectTo
- Linux - Vnc CentOS VNC安装
- CentOS 6.3安装和配置VNC
- Linux CentOS 6.3 安装配置VNC服务
- CentOS安装vnc
- CentOS 安装 VNC
- Centos 6.4 安装VNC
- CentOS安装vnc
- CentOS 安装 VNC
- CentOS安装VNC
- centos安装vnc
- CentOS安装远程桌面VNC
- CentOS 6 安装 VNC
- 关于C++中的“内联函数”
- 将csv数据文件导入到sqlite数据库中
- 【Windows 8两种模式互相切换】
- GetMenu()->GetSubMenu(0) 致使程序崩溃的解决方法
- 解决android textview自动换行问题
- CentOS 6.3 - Win7 安装VNC-VNCviewer
- keepalived配置文件解析系列之(三)配置文件解析过程
- bootloader中使用2C功能实现
- android上dip和px的区别
- 史玉柱自述:我是怎么带队伍的
- 新闻客户端(二) 通过自定义view显示新闻信息
- 【ScrollView】ScrollView用法
- 将表的字段(pid)属性改为AUTO_INCREMENT
- 快速揭开Word制表位设置的神秘面纱【系统收藏】