﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>家乐博客 &#187; linux</title>
	<atom:link href="http://blog.caijin.net/?cat=4&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.caijin.net</link>
	<description>个人博客</description>
	<lastBuildDate>Fri, 23 Aug 2013 02:00:10 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6</generator>
		<item>
		<title>CentOS上安装XRDP实现windows远程桌面连接linux主机</title>
		<link>http://blog.caijin.net/?p=1</link>
		<comments>http://blog.caijin.net/?p=1#comments</comments>
		<pubDate>Fri, 23 Aug 2013 02:00:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.caijin.net/?p=1</guid>
		<description><![CDATA[用惯了windows自带的远程桌面来管理远程的服务器，linux服务器是否也可以直接用windows远程桌面连 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>用惯了windows自带的远程桌面来管理远程的服务器，linux服务器是否也可以直接用windows远程桌面连接呢？可以的，那就是XRDP。我这边装的linux发行版本是CentOS6.4,需要先安装VNC server.<br />
# yum install tigervnc-server<br />
VNC这里就不介绍了,这方面的细节跳过.<br />
安装及配置好VNC后,安装XRDP,可直接到官网<a href="http://www.xrdp.org/">http://www.xrdp.org/</a> 下载源码回来编译安装.<br />
XRDP最新版本是0.6.0,下载后运行<br />
tar -xzvf xrdp-v0.6.0.tar.gz<br />
解压出来到同目录下的xrdp-v0.6.0目录里,是否可以直接编译安装呢?一般是不行,需要先安装一些依赖库什么的.<br />
在官网的<a href="http://www.xrdp.org/index.php?option=com_content&amp;view=category&amp;id=2&amp;Itemid=7">Documents</a>有这篇文章可以参考下<a href="http://www.xrdp.org/index.php?option=com_content&amp;view=article&amp;id=14:building-on-centos-5x&amp;catid=2:documents&amp;Itemid=7">http://www.xrdp.org/index.php?option=com_content&amp;view=article&amp;id=14:building-on-centos-5x&amp;catid=2:documents&amp;Itemid=7</a><br />
# as root<br />
yum update<br />
reboot<br />
yum install finger cmake patch gcc make autoconf libtool automake pkgconfig openssl-devel gettext file<br />
yum install pam-devel libX11-devel libXfixes-devel libjpeg-devel<br />
yum install flex bison gcc-c++ libxslt perl-libxml-perl xorg-x11-font-utils<br />
reboot<br />
安装了上面的这些后,就可以在解压出来的XRDP目录下<br />
./bootstrap<br />
./configure &#8211;enable-jpeg<br />
make<br />
make install</p>
<p># start on boot<br />
cp /etc/xrdp/xrdp.sh /etc/init.d/<br />
/sbin/chkconfig &#8211;add xrdp.sh<br />
reboot</p>
<p>重启后发现远程不了,想想windows远程桌面默认是连接对方的3389端口,所以还需要iptables开放此端口.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.caijin.net/?feed=rss2&#038;p=1</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
