<?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>Rob Yardman &#187; Software KVM</title>
	<atom:link href="http://www.robyardman.com/tag/software-kvm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.robyardman.com</link>
	<description>Switching gears in life...</description>
	<lastBuildDate>Tue, 07 Feb 2012 21:17:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Installing And Configuring Synergy</title>
		<link>http://www.robyardman.com/ubuntu-linux/installing-configuring-synergy?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-configuring-synergy</link>
		<comments>http://www.robyardman.com/ubuntu-linux/installing-configuring-synergy#comments</comments>
		<pubDate>Wed, 29 Apr 2009 04:42:50 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Fun Stuff]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[Desktop Tools]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software KVM]]></category>
		<category><![CDATA[Synergy]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.robyardman.com/?p=198</guid>
		<description><![CDATA[Messing around at work today I realized how nice of a program Synergy is and how easy it can make things if you simultaneously run two or more computers. At work I have Synergy installed between a test server and my primary desktop. These two computers sit side by side on my desk but I [...]<h3>Related Posts</h3>

No related posts.
]]></description>
			<content:encoded><![CDATA[<p>Messing around at work today I realized how nice of a program <a title="Synergy" href="http://synergy2.sourceforge.net/index.html">Synergy</a> is and how easy it can make things if you simultaneously run two or more computers. At work I have Synergy installed between a test server and my primary desktop. These two computers sit side by side on my desk but I don&#8217;t always use both. When I do need to it&#8217;s convenient to just drag my cursor over to the other desktop and do what I need to do.</p>
<h2>What Is Synergy&#8230;?</h2>
<p>For anyone that doesn&#8217;t know, Synergy basically allows you to control two separate computer desktops over a network as if they were setup on a multi-display on the same computer. You can drag your cursor from one desktop to the other controlling both desktops with one keyboard and mouse. Everything is passed through your network TCP/IP connection. Freakin&#8217; awesome right? The cool thing is it&#8217;s easy to set up and compatible with multiple operating systems.</p>
<p style="text-align: center;"><a href="http://www.robyardman.com/wp-content/uploads/2009/04/synergy-graphic.jpg" rel="lightbox[198]"><img class="aligncenter size-full wp-image-199" title="Synergy Illustration" src="http://www.robyardman.com/wp-content/uploads/2009/04/synergy-graphic.jpg" alt="Synergy Illustration" width="274" height="136" /></a></p>
<p>I want to set this up at home over my wireless network to control my desktop and my netbook. I don&#8217;t use my netbook all that much at home but once and a while I would like to just drag my cursor over to my netbooks desktop to do something, run a command, copy some files, whatever. It&#8217;s more of a convenience than a necessity at this point but what the hell right?<span id="more-198"></span></p>
<p>To setup Synergy first you&#8217;ll need either the IP addresses of the client and server or the network name of each. If you&#8217;re not sure you can run ifconfig (ipconfig for windows) in a terminal on each computer and look for the inet addr: number. This will give you your computers IP address on your network.</p>
<p>Next you&#8217;ll need to install Synergy on both computers. Both of my computers are runing Ubuntu 9.04 so it shouldn&#8217;t take a whole lot other than running a command in the terminal. To install from the terminal run:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> synergy</pre></div></div>

<p>Please note: Synergy may be included in the default 9.04 install.</p>
<p>Next you&#8217;ll need to configure the synergy server and clients. To configure the server run in your terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>synergy.conf</pre></div></div>

<p>This will open the Synergy configuration file. Inside that file you&#8217;ll setup your computers and how they are linked to eachother. The following is my setup.</p>

<div class="wp_syntax"><div class="code"><pre class="xorg_conf" style="font-family:monospace;"><span style="color: #b1b100;">section</span>: screens
	rob-desktop:
	rob-netbook:
end
&nbsp;
<span style="color: #b1b100;">section</span>: aliases
	rob-desktop:
		192.168.2.3
	rob-netbook:
		192.168.2.4
end
&nbsp;
<span style="color: #b1b100;">section</span>: links
	rob-desktop:
		left = rob-netbook
	rob-netbook:
		right = rob-desktop
end</pre></div></div>

<p>Looking at my configuration you can see how the .conf files is broken down. First the desktop screens are defined and then their relation to eachother. You can also use up and down as directions. It is possible to setup multiple computers.</p>
<p>Next you&#8217;ll need to test your configuration. Using the computer that you&#8217;ve set up as the Synergy server, run in the terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">synergys <span style="color: #660033;">-f</span> <span style="color: #660033;">--config</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>synergy.conf</pre></div></div>

<p>This will start the server. Next you&#8217;ll want to run the other computer as a client. To do so run in client computers terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">synergyc <span style="color: #660033;">-f</span> 192.168.2.3</pre></div></div>

<p>This calls the client to the servers IP address giving control to the severs keyboard and mouse over the clients desktop. If all is well and working you can create an entry in Ubuntu&#8217;s Startup Applications to automatically start Synergy when our computers boot up. To do so go to System &gt; Preferences &gt; Startup Applications and enter the following information.</p>
<h3>Server:</h3>
<p>Open Startup Applications Preferences and click on &#8220;Add&#8221;. In the Add Startup Program dialogue enter the folowing:</p>
<p>Name: Synergy Server Startup<br />
Command: synergys &#8211;config /etc/synergy.conf<br />
Comment: <em>Add a comment if necessary</em></p>
<h3>Client:</h3>
<p>Open Startup Applications Preferences and click on &#8220;Add&#8221;. In the Add Startup Program dialogue enter the folowing:</p>
<p>Name: Synergy Client Startup<br />
Command: synergyc 192.168.2.3<br />
Comment: <em>Add a comment if necessary</em></p>
<p>Restart both computers and Synergy should start up on its own and both client and server should connect perfectly. Over a wireless network there may be some latentcy which is sort of to be expected. If you would like to know more or get Synergy for other operating systems check out their website: <a title="Synergy" href="http://synergy2.sourceforge.net/index.html">http://synergy2.sourceforge.net/index.html</a>.</p>
<h3>Related Posts</h3>
<p>No related posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robyardman.com/ubuntu-linux/installing-configuring-synergy/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

