{"id":22,"date":"2013-02-24T18:52:00","date_gmt":"2013-02-24T17:52:00","guid":{"rendered":"http:\/\/www.ncodenicer.com\/?p=22"},"modified":"2026-05-10T19:31:47","modified_gmt":"2026-05-10T17:31:47","slug":"how-to-make-tsclient-use-freerdp-instead-of-rdesktop-in-freebsd","status":"publish","type":"post","link":"https:\/\/www.codenicer.com\/?p=22","title":{"rendered":"How to make tsclient use freerdp instead of rdesktop in freebsd"},"content":{"rendered":"\n<p>First of all why anyone would do that? Because rdesktop doesn&#8217;t support newer encryption schemes supported by remote desktop while freerdp does.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download latest stable version of freerdp<\/li>\n\n\n\n<li>add line<br><code><br>include_directories(\/usr\/local\/include)<br><\/code><br>to file CMakeLists.txt in freerdp source root dir<\/li>\n\n\n\n<li>do <strong>cmake -DCMAKE_BUILD_TYPE=Debug .<\/strong><br>IMPORTANT: do not define DWITH_SSE2=ON, otherwise compilation will fail<\/li>\n\n\n\n<li>do <strong>make<\/strong><\/li>\n\n\n\n<li>do <strong>make install<\/strong> as root<\/li>\n\n\n\n<li>replace \/usr\/local\/bin\/rdesktop with attached perl script (if you don&#8217;t have rdesktop installed just save attached script to \/usr\/local\/bin and rename it to <em>rdesktop<\/em> (without .pl) and make it executable)<\/li>\n<\/ol>\n\n\n\n<p>When connecting to new server xfreerdp will ask you whether you trust offered public key (similar to ssh), so it is good idea to run it from console that time, also if it is not connecting to server it is good idea to run tsclient from console because xfreerdp might be printing messages to console.<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-24b5b97b-393c-4eb8-9b04-1b0cc132e613\" href=\"http:\/\/www.ncodenicer.com\/wp-content\/uploads\/2026\/05\/rdesktop.pl_.txt\">rdesktop.pl<\/a><a href=\"http:\/\/www.ncodenicer.com\/wp-content\/uploads\/2026\/05\/rdesktop.pl_.txt\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-24b5b97b-393c-4eb8-9b04-1b0cc132e613\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>First of all why anyone would do that? Because rdesktop doesn&#8217;t support newer encryption schemes supported by remote desktop while freerdp does. When connecting to new server xfreerdp will ask you whether you trust offered public key (similar to ssh), so it is good idea to run it from console that time, also if it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6,15,17,16],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-freebsd","tag-freerdp","tag-rdesktop","tag-tsclient"],"_links":{"self":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22"}],"version-history":[{"count":1,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/22\/revisions"}],"predecessor-version":[{"id":24,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/22\/revisions\/24"}],"wp:attachment":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}