title: 'CentOS6.4 远程连接Windwos Server服务器' date: '2013-08-04T01:16:25+08:00'
CentOS6.4 远程连接Windwos Server服务器
[root@Jeffery]# yum install -y rdesktop
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package rdesktop.x86_64 0:1.6.0-10.el6 will be installed
–> Processing Dependency: pcsc-lite for package: rdesktop-1.6.0-10.el6.x86_64
–> Processing Dependency: libpcsclite.so.1()(64bit) for package: rdesktop-1.6.0-10.el6.x86_64
–> Running transaction check
—> Package pcsc-lite.x86_64 0:1.5.2-13.el6_4 will be installed
–> Processing Dependency: pcsc-ifd-handler for package: pcsc-lite-1.5.2-13.el6_4.x86_64
—> Package pcsc-lite-libs.x86_64 0:1.5.2-13.el6_4 will be installed
–> Running transaction check
—> Package pcsc-lite-acr38u.x86_64 0:1.7.10-1.el6.rf will be installed
–> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
=========================================================================================================
Installing:
Installing for dependencies:
Transaction Summary
=========================================================================================================
Install
Total download size: 367 k
Installed size: 976 k
Downloading Packages:
(1/4): pcsc-lite-1.5.2-13.el6_4.x86_64.rpm
(2/4): pcsc-lite-acr38u-1.7.10-1.el6.rf.x86_64.rpm
(3/4): pcsc-lite-libs-1.5.2-13.el6_4.x86_64.rpm
(4/4): rdesktop-1.6.0-10.el6.x86_64.rpm
———————————————————————————————————
Total
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installed:
Dependency Installed:
Complete!
[root@Jeffery]#
#-a 16的意思是指画面用32-bit 显示
Autoselected keyboard map en-us
NOT IMPLEMENTED: RDP5 opcode 11
NOT IMPLEMENTED: RDP5 opcode 11
ERROR: get cursor 0
[root@Jeffery yum.repos.d]#
iptables-save > /etc/firewall.conf # 保存规则到一个文件
echo ‘#!/bin/sh’ > /etc/network/if-up.d/iptables # 创建一个开机启动项文件
echo ‘iptables-restore < /etc/firewall.conf’ >> /etc/network/if-up.d/iptables # 同上,继续添加内容
chmod +x /etc/network/if-up.d/iptables # 修改启动项文件的执行属性
如果不满意以上配置的规则,可以使用以下命令来清空全部规则:
iptables -F
iptables -X
iptables -Z
到此,全部结束。
======================分割线========================
2013.08.05后记
在使用过程中的确方便了不少
评论区