<?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>vincentkong.com &#187; Remote Desktop</title>
	<atom:link href="http://www.vincentkong.com/tag/remote-desktop/feed" rel="self" type="application/rss+xml" />
	<link>https://www.vincentkong.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 07 Jul 2010 00:32:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Portable Remote Desktop Client for Windows</title>
		<link>https://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows</link>
		<comments>https://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows#comments</comments>
		<pubDate>Tue, 12 Feb 2008 02:37:14 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Portable Software]]></category>
		<category><![CDATA[Remote Desktop]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=9</guid>
		<description><![CDATA[So far I haven&#8217;t managed to find a Remote Desktop client for Windows which can be installed on a portable drive. This might be a bit of inconvenience if you are trying to remote desktop from a public terminal that is locked down. After doing a bit of searching, I have a easy way to [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Ubuntu'>Remote Desktop on Ubuntu</a></li>
<li><a href='https://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Permanent Link: Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='https://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Xubuntu'>Remote Desktop on Xubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So far I haven&#8217;t managed to find a Remote Desktop client for Windows which can be installed on a portable drive. This might be a bit of inconvenience if you are trying to remote desktop from a public terminal that is locked down. After doing a bit of searching, I have a easy way to have Remote Desktop working on your portable drive.</p>
<p>For Windows XP:</p>
<ol>
<li>Go to the directory <code>C:\Windows\System32</code></li>
<li>Look for the files:  <code>mstsc.exe</code>, and <code>mstscax.dll</code></li>
<li>Copy the 2 files to your portable drive.</li>
</ol>
<p>That&#8217;s it!  To run the Remote Desktop client just execute <code>mstsc.exe</code> on your portable drive.  If you have a U3 portable drive you can add a shortcut to your launchpad menu refer to the blog <a href="http://www.vincentkong.com/2007/07/u3-and-portableapp">U3 and PortableApp</a>.</p>
<p>This solution is not perfect as it leaves behind a file and some registry information in the client&#8217;s computer.</p>
<p>The file could be found at</p>
<p><code>%USERPROFILE%\My Documents\Default.rdp</code></p>
<p>The registry entries can be found in</p>
<p><code>HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\</code></p>


<p>Related posts:<ol><li><a href='https://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Ubuntu'>Remote Desktop on Ubuntu</a></li>
<li><a href='https://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Permanent Link: Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='https://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Xubuntu'>Remote Desktop on Xubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Desktop on Xubuntu</title>
		<link>https://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu</link>
		<comments>https://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu#comments</comments>
		<pubDate>Sat, 02 Feb 2008 02:40:31 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=12</guid>
		<description><![CDATA[Unlike remote desktop in Ubuntu, Xubuntu doesn&#8217;t come with a default VNC server. To allow for remote desktop I installed x11vnc which allows remote access to an existing X server session. The advantage is that it allows you to view the phyical display remotely and also log-in to a new session using a remote VNC [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Ubuntu'>Remote Desktop on Ubuntu</a></li>
<li><a href='https://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows' rel='bookmark' title='Permanent Link: Portable Remote Desktop Client for Windows'>Portable Remote Desktop Client for Windows</a></li>
<li><a href='https://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Permanent Link: Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Unlike remote desktop in Ubuntu, Xubuntu doesn&#8217;t come with a default VNC server. To allow for remote desktop I installed x11vnc which allows remote access to an existing X server session. The advantage is that it allows you to view the phyical display remotely and also log-in to a new session using a remote VNC client.</p>
<p><strong>Installing a VNC Server</strong></p>
<p>Install the x11vnc package</p>
<p><code>$ sudo apt-get install x11vnc</code></p>
<p>Install the xinetd package</p>
<p><code>$ sudo apt-get install xinetd</code></p>
<p>Add the x11vnc service to <code>xinetd</code></p>
<p><code>$ sudo nano /etc/xinetd.d/x11vnc</code></p>
<p>Add the following content in the file:</p>
<pre>service x11vnc
{
port = 5900
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/x11vnc
server_args = -inetd -o /var/log/x11vnc.log -display :0 -auth /var/lib/gdm/:0.Xauth -many -bg
disable = no
}</pre>
<p>Restart the <code>xinetd</code><br />
<code> $ sudo /etc/init.d/xinetd stop<br />
$ sudo /etc/init.d/xinetd start </code></p>
<p><strong>Creating a Password for the VNC Server</strong></p>
<p>Install the vnc-common package<br />
<code>$ sudo apt-get install vnc-common</code></p>
<p>Create a password file<br />
<code>$ sudo vncpasswd /root/.vncpasswd</code></p>
<p>Add the <code>-rfbauth /root/.vncpasswd</code> option to <code>server_args</code> in the <code>/etc/xinetd.d/x11vnc</code> file.  For example:</p>
<p><code>server_args = -inetd -o /var/log/x11vnc.log -display :0 -auth /var/lib/gdm/:0.Xauth -many -bg <em>-rfbauth /root/.vncpasswd</em></code></p>
<p>Restart the <code>xinetd</code></p>
<p><code> $ sudo /etc/init.d/xinetd stop<br />
$ sudo /etc/init.d/xinetd start </code></p>
<p><strong>Connecting with a VNC Client</strong></p>
<p>To connect to your remote desktop any VNC viewer can be installed.  For example <a href="http://www.realvnc.com/">RealVNC</a> or <a href="http://www.tightvnc.com/">TightVNC</a> (requires VNC password to be implemented) provides a free edition client.</p>


<p>Related posts:<ol><li><a href='https://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Ubuntu'>Remote Desktop on Ubuntu</a></li>
<li><a href='https://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows' rel='bookmark' title='Permanent Link: Portable Remote Desktop Client for Windows'>Portable Remote Desktop Client for Windows</a></li>
<li><a href='https://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Permanent Link: Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Remote Desktop on Ubuntu</title>
		<link>https://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu</link>
		<comments>https://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu#comments</comments>
		<pubDate>Wed, 30 Jan 2008 02:42:54 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=15</guid>
		<description><![CDATA[Ubuntu uses VNC (Virtual Network Computing) to allow remote desktop access. The default VNC server which Ubuntu uses is vino. Vino works differently from most VNC servers; once it is enabled, the GNOME session manager automatically starts it for you whenever you log in. It can therefore only export the display of a user that [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Xubuntu'>Remote Desktop on Xubuntu</a></li>
<li><a href='https://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Permanent Link: Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='https://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows' rel='bookmark' title='Permanent Link: Portable Remote Desktop Client for Windows'>Portable Remote Desktop Client for Windows</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu uses VNC (Virtual Network Computing) to allow remote desktop access. The default VNC server which Ubuntu uses is <code>vino</code>. Vino works differently from most VNC servers; once it is enabled, the GNOME session manager automatically starts it for you whenever you log in. It can therefore only export the display of a user that is currently logged in, unlike more standard VNC servers that typically display a system&#8217;s login screen and therefore support remote access to your system by random users.</p>
<p><strong>Enable Remote Desktop</strong></p>
<ol>
<li>Go to System -&gt; Preferences -&gt; Remote Desktop</li>
<li>Under &#8220;Sharing&#8221; heading check both the &#8220;Allow other users to view your desktop&#8221; and &#8220;Allow others to control your desktop&#8221; checkbox</li>
<li>Keep the &#8220;Ask you for confirmation&#8221; checkbox is uncheck</li>
<li>Check the &#8220;Require the user to enter this password&#8221; checkbox and enter the password in the textbox below. Note that this is the VNC password and is not related to your users login password.</li>
<li>Under the &#8220;Users can view your desktop using this command:&#8221; make a note of the port number indicated in the command. This will the be port assign to acess your desktop.</li>
</ol>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/ubuntu_remote_desktop.png"><img class="aligncenter size-medium wp-image-145" title="Remote Desktop" src="http://www.vincentkong.com/wp-content/uploads/2008/05/ubuntu_remote_desktop-300x270.png" alt="Remote Desktop" width="300" height="270" /></a><br />
<strong>Connecting to Remote Desktop</strong></p>
<p>To connect to your remote desktop any VNC viewer can be installed. A popular VNC viewer is <a href="http://www.tightvnc.com/">TightVNC</a>, the viewer can be downloaded at <a title="http://www.tightvnc.com/download.html" href="http://www.tightvnc.com/download.html">http://www.tightvnc.com/download.html</a>. The viewer is just a single executable file, and can be installed on any portable drive. When you start the VNC viewer, enter your computer&#8217;s public IP address and port number indicated by the by the screen above (:0 indicates port 5900, :1 to port 5901 etc.), and click on the &#8220;Connect&#8221; button.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/vncviewer.png"><img class="aligncenter size-medium wp-image-146" title="TightVNC Viewer" src="http://www.vincentkong.com/wp-content/uploads/2008/05/vncviewer-300x132.png" alt="TightVNC Viewer" width="300" height="132" /></a><br />
It is also possible to use VNC through SSH Tunneling refer to setting up a SSH server, and configuring Putty in the blog <a href="http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling/">Remote Desktop with SSH Tunneling</a>.</p>


<p>Related posts:<ol><li><a href='https://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Xubuntu'>Remote Desktop on Xubuntu</a></li>
<li><a href='https://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Permanent Link: Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='https://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows' rel='bookmark' title='Permanent Link: Portable Remote Desktop Client for Windows'>Portable Remote Desktop Client for Windows</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Desktop with SSH Tunneling</title>
		<link>https://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling</link>
		<comments>https://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling#comments</comments>
		<pubDate>Fri, 20 Jul 2007 03:44:56 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tunnel]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=56</guid>
		<description><![CDATA[Remote Desktop enables you to connect to your computer across the Internet from a computer. Once connected, you can control your computer using the mouse and keyboard while showing you everything that&#8217;s happening on the screen. With this, you can access your files, applications, and e-mail while leaving your computer at home or in the [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Ubuntu'>Remote Desktop on Ubuntu</a></li>
<li><a href='https://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows' rel='bookmark' title='Permanent Link: Portable Remote Desktop Client for Windows'>Portable Remote Desktop Client for Windows</a></li>
<li><a href='https://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Xubuntu'>Remote Desktop on Xubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Remote Desktop enables you to connect to your computer across the Internet from a computer. Once connected, you can control your computer using the mouse and keyboard while showing you everything that&#8217;s happening on the screen. With this, you can access your files, applications, and e-mail while leaving your computer at home or in the office.</p>
<p>Remote Desktop is very convenient, it suffers from to flaws: Although the connection uses 128-bit encryption, it still has the man-in-the-middle vulnerability where the traffic can be decrypted along the way. The default port of Remote Desktop is also 3389 which in most circumstances is blocked by firewalls in the network.</p>
<p>A solution to these flaws is to use Remote Desktop through a SSH tunnel.</p>
<p><strong>SSH Server</strong></p>
<p>The first requirement is to have an SSH server existing on your network. If you already have a Linux server like Ubuntu then you can <a href="http://www.vincentkong.com/2007/05/openssh-for-ubuntu-quickstart-guide/">install OpenSSH</a>. However, if you only have computers with Windows then you can install <a href="http://www.itefix.no/phpws/index.php?module=pagemaster&amp;PAGE_user_op=view_page&amp;PAGE_id=12&amp;MMN_position=149:149">copSSH</a>.</p>
<p><strong>Port Forwarding for SSH</strong></p>
<p>To access the SSH server from a remote location you need to do port forwarding on port 22 through any firewall and router.</p>
<p><strong>Enabling Remote Desktop</strong></p>
<p>To enable Remote Desktop on Windows XP, right click on &#8220;My Computer&#8221;, and select &#8220;Properties&#8221;. Under the &#8220;Remote&#8221; tab check the box &#8220;Allow users to connect remotely to this computer&#8221;. The Remote Desktop user will require a password associated with the account.</p>
<p><strong>Connecting to the SSH Server</strong></p>
<p>To connect to your SSH Server remotely requires knowledge of your public IP address. This can be checked easily using the website <a title="http://checkip.dyndns.org" href="http://checkip.dyndns.org/">http://checkip.dyndns.org</a>.  If you are using an ISP that provides you with a dynamic IP address, then you can setup a free account with No-IP <a title="http://www.no-ip.com" href="http://www.no-ip.com/">http://www.no-ip.com</a> or DynDNS <a title="http://www.dyndns.com" href="http://www.dyndns.com/">http://www.dyndns.com</a> where they can provide you with a fully qualified domain name.</p>
<p><strong>Install/Configuring PuTTY</strong></p>
<p>To open a SSH tunnel from the remote computer to your SSH server, you need to install PuTTY <a title="http://www.chiark.greenend.org.uk/~sgtatham/putty" href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty">http://www.chiark.greenend.org.uk/~sgtatham/putty</a> on the remote client computer.  Open the application after installation is completed.</p>
<ol>
<li>Expand &#8220;SSH&#8221; under &#8220;Connection&#8221;, and then go to &#8220;Tunnels&#8221;.</li>
<li>Under &#8220;Add new forwarded port:&#8221; enter a port number beside &#8220;Source port&#8221; e.g. 3390</li>
<li>Beside &#8220;Destination&#8221; enter your computer name or computer local IP address along with the port for Remote Desktop 3389 e.g. 192.168.1.10:3389, and click on the &#8220;Add&#8221; button.</li>
</ol>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/putty1.png"><img class="aligncenter size-medium wp-image-139" title="PuTTY screenshot 1" src="http://www.vincentkong.com/wp-content/uploads/2008/05/putty1-300x290.png" alt="PuTTY screenshot 1" width="300" height="290" /></a></p>
<p>Use a different Source port for each additional Remote Desktop host PC.</p>
<p>To improve traffic click on &#8220;SSH&#8221; under &#8220;Connection&#8221;.  Check the box &#8220;Enable Compression&#8221;</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/putty2.png"><img class="aligncenter size-medium wp-image-140" title="PuTTY screenshot 2" src="http://www.vincentkong.com/wp-content/uploads/2008/05/putty2-300x290.png" alt="PuTTY screenshot 2" width="300" height="290" /></a></p>
<p>Click on &#8220;Session&#8221; and under the &#8220;Host Name (or IP address)&#8221; enter the public IP address or a fully qualified domain name of the SSH server PC. Enter a unique name in the &#8220;Saved Sessions&#8221; window and click on &#8220;Save&#8221;. Click on &#8220;Open&#8221; and login to the SSH server with the appropriate user and password information.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/putty3.png"><img class="aligncenter size-medium wp-image-141" title="PuTTY screenshot 3" src="http://www.vincentkong.com/wp-content/uploads/2008/05/putty3-300x290.png" alt="PuTTY screenshot 3" width="300" height="290" /></a></p>
<p><strong>SSH Tunneling the Remote Desktop session</strong></p>
<p>Establishing a Remote Desktop connection through SSH tunnel is accomplished when PuTTY is started and the user has logged on to the SSH server. To Remote Desktop from the client computer, on the client computer go to &#8220;Start&#8221; &gt; &#8220;All Programs&#8221; &gt; &#8220;Accessories&#8221; &gt; &#8220;Communications&#8221; and select &#8220;Remote Desktop Connection&#8221;. In the &#8220;Computer:&#8221; textbox enter &#8220;localhost:3390&#8243;, and click on the &#8220;Connect&#8221; button.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/remotedesktop.png"><img class="aligncenter size-medium wp-image-142" title="Remote Desktop Connection screenshot" src="http://www.vincentkong.com/wp-content/uploads/2008/05/remotedesktop-300x133.png" alt="Remote Desktop Connection screenshot" width="300" height="133" /></a></p>


<p>Related posts:<ol><li><a href='https://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Ubuntu'>Remote Desktop on Ubuntu</a></li>
<li><a href='https://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows' rel='bookmark' title='Permanent Link: Portable Remote Desktop Client for Windows'>Portable Remote Desktop Client for Windows</a></li>
<li><a href='https://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu' rel='bookmark' title='Permanent Link: Remote Desktop on Xubuntu'>Remote Desktop on Xubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
