<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  
  
  <channel>
    <title>chrisjrob: rdp</title>
    <link>https://chrisjrob.com</link>
    <atom:link href="https://chrisjrob.com/tag/rdp/feed/index.xml" rel="self" type="application/rss+xml" />
    <description>GNU Linux, Perl and FLOSS</description>
    <language>en-gb</language>
    <pubDate>Fri, 13 Feb 2026 17:22:31 +0000</pubDate>
    <lastBuildDate>Fri, 13 Feb 2026 17:22:31 +0000</lastBuildDate>
    
    <item>
      <title>Choppy Audio Silverlight Over RDP</title>
      <link>https://chrisjrob.com/2011/03/04/choppy-audio-silverlight-over-rdp/</link>
      <pubDate>Fri, 04 Mar 2011 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2011/03/04/choppy-audio-silverlight-over-rdp</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/silverlight.jpg" align="right" alt="Featured Image">
         
         <p>Following <a href="/2011/03/03/problems-playing-silverlight-media-on-windows-server-2003/">my recent post</a>
regarding Silverlight, unfortunately I have hit disaster.  When the
audio starts, it sounds choppy with a double-echo or reverb.  In short
it is unusable.  All other audio works fine, even on the same webpage,
but as soon as you try and listen to a Silverlight widget it sounds
terrible.</p>

<!--more-->

<p>Googling “silverlight rdp choppy” in desperation has not filled me with
confidence, there are a number of posts including:</p>

<ul>
  <li><a href="http://forums.silverlight.net/forums/p/94280/303052.aspx">Has anyone else ran into a problem where if you use a Silverlight app over Remote Desktop and it plays a WMA or MP3 file using MediaElement, the sound is choppy?</a></li>
</ul>

<p>It is possible that upgrading to Windows Server 2008 would resolve this
issue; although there are issues I believe in connecting to the latest
RDP version using rdesktop.</p>

<p>I did find <a href="http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/1e7a9764-e220-4693-a4ac-d7f4e811283b">this advice from Microsoft</a>,
the Microsoft RDP Client was the only sound card available, but I
followed the advice anyway to no avail.</p>

<p>What I simply do not understand is why all other audio works perfectly
via RDP, except Silverlight, especially given the fact that Silverlight
and RDP are Microsoft products.</p>

<p>Any suggestions gratefully received!</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Problems Playing Silverlight Media On Windows Server 2003</title>
      <link>https://chrisjrob.com/2011/03/03/problems-playing-silverlight-media-on-windows-server-2003/</link>
      <pubDate>Thu, 03 Mar 2011 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2011/03/03/problems-playing-silverlight-media-on-windows-server-2003</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/silverlight.jpg" align="right" alt="Featured Image">
         
         <p>We have to be able to play Silverlight media on our two virtual Windows
Server 2003 servers.  This is completely unavoidable, because you first
need to authenticate via an Active-X website, so any option of using
Moonlight on Linux was impossible.</p>

<p>The problem that we had was that when we clicked on the Play Media
button, there were two pop ups stating <em>“This page has an unspecified potential security risk”</em> followed by another stating <em>“A problem was encountered with the media file specified.”</em></p>

<!--more-->

<p>I tried bypassing our proxy server;  I ensured that the Internet
Enhanced Security was uninstalled; I tried adding the relevant sites to
“Trusted sites”; I tried reducing Trusted Sites to “Low” security; I
brought all the critical updates up-to-date.  Nothing seemed to make a
difference.</p>

<p>Finally, I decided to review the optional Windows updates, just to see
if there was anything related to Silverlight and noticed that there was
a major update to .net available “.NET framework 4”. Knowing that
Silverlight is a .net technology, I installed it and, after yet another
reboot, the pop ups had gone and it was working.</p>

<p>My reason for writing about it is simply this:  I had googled endlessly
about this problem, without any success, there was seemingly nothing
relevant to this problem.  Hopefully this post will help others.</p>

<p>But you should be using Linux not Windows!  There, couldn’t resist ;)</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>FreeRDP</title>
      <link>https://chrisjrob.com/2011/02/24/freerdp/</link>
      <pubDate>Thu, 24 Feb 2011 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2011/02/24/freerdp</guid>
      <description>
       <![CDATA[
         
         <p>For a long time I have noticed that the pace of development of rdesktop
seemed to have slowed, and that the rdesktop-users mailing list had gone
quiet.  What I hadn’t noticed until recently is that there is now an
alternative called <a href="http://www.freerdp.com/">FreeRDP</a>.</p>

<p>FreeRDP is a fork of the rdesktop project that intends to rapidly start
moving forward and implement features that rdesktop lacks the most.</p>

<!--more-->

<p>For more information please visit:</p>

<ul>
  <li><a href="http://www.freerdp.com/">FreeRDP</a>.</li>
</ul>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Howto | SeamlessRDP</title>
      <link>https://chrisjrob.com/2010/06/08/seamless-rdp/</link>
      <pubDate>Tue, 08 Jun 2010 17:02:16 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2010/06/08/seamless-rdp</guid>
      <description>
       <![CDATA[
         
         <p>Before proceeding please visit <a href="http://www.cendio.com/seamlessrdp/">Cendio</a> and <a href="http://www.fontis.com.au/rdesktop">Fontis</a> and use their respective instructions in preference to this page.</p>

<h2 id="cendio-seamlessrdp">Cendio SeamlessRDP</h2>

<p>The Cendio SeamlessRDP component has two halves, a Windows executable as the “server component” for installation on the Windows server, and patches to the rdesktop application, to work with the server component.  At the time of writing, these Cendio patches have now been merged into the rdesktop 1.5.0 and later core.</p>

<!--more-->

<ul>
  <li>You can download <a href="http://rdesktop.svn.sourceforge.net/viewvc/rdesktop/seamlessrdp/trunk/">the source</a> using Subversion.</li>
  <li>You can <a href="http://www.cendio.com/seamlessrdp/seamlessrdp.zip">get a binary</a> and unzip the files into <code class="language-plaintext highlighter-rouge">c:\seamlessrdp</code> (or similar).</li>
</ul>

<p>Once you have a binary on your Windows server, then from you Linux client, type:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe notepad"
</code></pre></div></div>

<p><strong>Under W2K8, both seamlessrdpshell.exe, and the Windows application you wish to run with it, must be published terminal services applications.  And seamlessrdpshell.exe must have command line parameters enabled, by running “TS RemoteApp Manager’s” “Add RemoteAppProgram” dialog (remoteprograms.msc).</strong></p>

<h2 id="fontis-seamlessrdp">Fontis SeamlessRDP</h2>

<p>Fontis have further developed Cendio SeamlessRDP, to enable connection sharing, allowing a single rdesktop connection to launch multiple applications.  When run in seamless mode, rdesktop creates and listens on a control socket.  A new option allows rdesktop to be run in slave mode, which notifies the master rdesktop instance of a new command to be run and then exits.  The master instance sends a client-to-server message to the SeamlessRDP server component, which runs the new command.</p>

<p>I see this development as fairly fundamental to the use of SeamlessRDP.</p>

<h3 id="installation-of-fontis-patch">Installation of Fontis patch</h3>

<p>Download source for the latest version of rdesktop from CVS (press enter when prompted for a password):</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ cvs -d:pserver:anonymous@rdesktop.cvs.sourceforge.net:/cvsroot/rdesktop login
$ cvs -z3 -d:pserver:anonymous@rdesktop.cvs.sourceforge.net:/cvsroot/rdesktop co -P rdesktop
</code></pre></div></div>

<p>Alternatively, download the <a href="http://www.fontis.com.au/system/files/rdesktop_src.tar.gz">rdesktop CVS snapshot</a> which has been tested with the patch.  Download the rdesktop patch to the checked out directory:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ cd rdesktop $ wget http://www.fontis.com.au/system/files/rdesktop.patch
</code></pre></div></div>

<p>Apply the patch and compile:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ patch -p1 &lt; rdesktop.patch
$ ./bootstrap
$ ./configure
$ make
</code></pre></div></div>

<p>Download updated server component and unpack. Alternatively, obtain the seamlessrdp CVS snapshot or download direct from CVS, apply the seamlessrdp patch and then compile:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ cvs -z3 -d:pserver:anonymous@rdesktop.cvs.sourceforge.net:/cvsroot/rdesktop co -P seamlessrdp
$ patch -p1 &lt; seamlessrdp.patch
</code></pre></div></div>

<h3 id="usage">Usage</h3>

<p>The following examples assume the SeamlessRDP server component files (seamlessrdpshell.exe, seamlessrdp.dll and vchannel.dll) have been unpacked to <code class="language-plaintext highlighter-rouge">C:\seamlessrdp</code>.
To start a SeamlessRDP session, invoke rdesktop in the same way as before applying the patch:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ ./rdesktop -A -s "C:\seamlessrdp\seamlessrdpshell.exe notepad" server
</code></pre></div></div>

<p>To run a new command inside the existing SeamlessRDP session:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ ./rdesktop -l "calc"
</code></pre></div></div>

<p>New command-line options:</p>

<ul>
  <li>-M: Specify the path for the control socket that the rdesktop process listens on. By default, this is <code class="language-plaintext highlighter-rouge">$HOME/.rdesktop/seamless.socket</code></li>
  <li>-l: Instead of starting a new rdesktop process, connect to an existing process’ control socket and tell it to run a command on the server. Can be combined with the -M option to use a non-standard socket.</li>
</ul>

       ]]>
      </description>
    </item>
    
    <item>
      <title>LTSP | LTSP Rdesktop Sound</title>
      <link>https://chrisjrob.com/2009/03/21/ltsp5-sound-rdesktop/</link>
      <pubDate>Sat, 21 Mar 2009 06:28:35 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2009/03/21/ltsp5-sound-rdesktop</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/ltsp_logo.png" align="right" alt="Featured Image">
         
         <h2 id="background">Background</h2>

<p>Rdesktop is a problem, because it uses <code class="language-plaintext highlighter-rouge">/dev/dsp</code> as the sound device (for version 1.5 at least).  This is incompatible with ALSA.</p>

<h2 id="solution">Solution</h2>

<!--more-->

<p>Specifying “oss” as the sound driver, instead of the default, worked fine:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ padsp rdesktop -r sound:local:oss 192.168.0.1
</code></pre></div></div>


       ]]>
      </description>
    </item>
    
    <item>
      <title>LTSP | Sound problem fixed</title>
      <link>https://chrisjrob.com/2008/06/18/sound-problem-fixed/</link>
      <pubDate>Wed, 18 Jun 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/06/18/sound-problem-fixed</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/ltsp_logo.png" align="right" alt="Featured Image">
         
         <p>Further to <a href="/2008/06/17/ltsp-sound-in-rdesktop-sessions/">my recent post</a>, it transpired that rdesktop uses <code class="language-plaintext highlighter-rouge">/dev/dsp</code> which is incompatible with alsa.  Specifying “oss” as the sound driver, instead of the default, worked fine.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ padsp rdesktop -r sound:local:oss 192.168.0.1
</code></pre></div></div>

<!--more-->

<p>This is apparently because rdesktop version 1.5 does not support alsa, but still uses <code class="language-plaintext highlighter-rouge">/dev/dsp</code> as the sound device.  A new version 1.6 of rdesktop is now available (albeit not in the debian etch or etch-backports repositories), which should address this issue.  Unfortunately we are using a patched version of rdesktop, provided by fontis, and I know they were struggling to integrate their patches into the latest versions.  I should probably attempt to contact them at some point.</p>

<p>This also represented my first attempt at using IRC #ltsp - which proved invaluable.  Installed Konversation, as I could not get on with Kirc.</p>

       ]]>
      </description>
    </item>
    
    <item>
      <title>LTSP | Sound in rdesktop sessions</title>
      <link>https://chrisjrob.com/2008/06/17/ltsp-sound-in-rdesktop-sessions/</link>
      <pubDate>Tue, 17 Jun 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/06/17/ltsp-sound-in-rdesktop-sessions</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/ltsp_logo.png" align="right" alt="Featured Image">
         
         <p>Today I discovered that since our upgrade to LTSP5, sound has stopped working in rdesktop sessions.  Worse, it bombs users out of their Windows session with the error:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>rdesktop: pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err &gt;= 0' failed.
Aborted
</code></pre></div></div>

<!--more-->

<p>Under 4.2 it was working beautifully simply by prefixing rdesktop with esddsp, 
e.g.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ esddsp rdesktop -r sound:local 192.168.0.1
</code></pre></div></div>

<p>But removing esddsp or replacing with padsp causes exactly the same error 
message.  I suspect with alsa the esddsp/padsp fix is no longer required, but 
why does it not work?</p>

<p>I have even tried pointing padsp at the client pulseaudio device…</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ padsp -d -s 192.168.0.41:4713 -n rdesktop rdesktop -r sound:local 192.168.0.1
</code></pre></div></div>

<p>I have posted this as <a href="http://sourceforge.net/p/ltsp/mailman/message/19679055/">a question on the LTSP Mailing List</a> and am hopeful of a solution!</p>


       ]]>
      </description>
    </item>
    
  </channel> 
</rss>
