<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sid? What is he on about now? &#187; Dual Screen</title>
	<atom:link href="http://sidrit.wordpress.com/tag/dual-screen/feed/" rel="self" type="application/rss+xml" />
	<link>http://sidrit.wordpress.com</link>
	<description>The Almost-Daily Issue</description>
	<lastBuildDate>Fri, 23 Jan 2009 14:28:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sidrit.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/f5c4786753302ab3b2733320c76230af?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Sid? What is he on about now? &#187; Dual Screen</title>
		<link>http://sidrit.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sidrit.wordpress.com/osd.xml" title="Sid? What is he on about now?" />
		<item>
		<title>Dual Screen Ubuntu &#8211; Windows XP with Synergy</title>
		<link>http://sidrit.wordpress.com/2008/10/21/dual-screen-ubuntu-windows-xp-with-synergy/</link>
		<comments>http://sidrit.wordpress.com/2008/10/21/dual-screen-ubuntu-windows-xp-with-synergy/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 14:30:39 +0000</pubDate>
		<dc:creator>Sidrit Trandafili</dc:creator>
				<category><![CDATA[Fix-it !]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Splurge]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dual desktop]]></category>
		<category><![CDATA[Dual Screen]]></category>
		<category><![CDATA[synergy]]></category>

		<guid isPermaLink="false">http://sidrit.wordpress.com/?p=260</guid>
		<description><![CDATA[Truly, i cannot believe i had missed this piece of software up until a few weeks ago.
Here&#8217;s the description from the official page:

Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It&#8217;s intended for users with multiple computers on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=260&subd=sidrit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Truly, i cannot believe i had missed this piece of software up until a few weeks ago.<br />
Here&#8217;s the description from the official page:<br />
<iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Flinux_unix%2FDual_Screen_Ubuntu_Windows_XP_with_Synergy' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe></p>
<blockquote><p>Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It&#8217;s intended for users with multiple computers on their desk since each system uses its own monitor(s).</p></blockquote>
<p>Says it all, and was exactly what i was looking for.</p>
<p>Synergy works with a client server architecture. The box that i mainly use, runs Ubuntu 8.04, and i will be using this one as a server. The other machine, that i want to share the input devices with , is my laptop, that i will be booting into Windows XP. This one will be the server.<br />
<span id="more-260"></span><br />
Then we&#8217;ll try them also the other way around.<br />
At the end, a couple of troubleshooting tricks.</p>
<p>Synergy can be picked up from it&#8217;s Sourceforge page <a href="http://sourceforge.net/project/showfiles.php?group_id=59275&amp;package_id=58013">here</a>.</p>
<p><em><strong>Ubuntu as Server</strong></em></p>
<p>For Ubuntu, it can be found in the repositories.</p>
<p><code>sudo apt-get install synergy</code></p>
<p>This will install two binaries:<br />
synergys &#8211; the server<br />
synergyc &#8211; the client</p>
<p>The installation will also create a configuration file in the home folder, .synergy.conf<br />
This is what my file looks like:</p>
<p><code>section: screens<br />
        dev:<br />
        bender:<br />
end<br />
section: links<br />
        dev:<br />
                left = bender<br />
        bender:<br />
                right = dev<br />
end</code></p>
<p>In the <em>screens</em> section, we place the hostnames of the boxes involved. For me, <strong>dev</strong> being  the server and <strong>bender</strong> the client.</p>
<p>Since this is a quick miniguide to get it running, further details of configuration are outside of the scope. For other parameters check the very rich documentation of the software itself.</p>
<p>To run the server , on the command line type:</p>
<p><code>synergys -f</code><br />
if you want the server to run in foreground, or simply<br />
<code>synergys</code><br />
if once configured, you want it to run in the background.</p>
<p><em><strong>Windows Xp as Client</strong></em></p>
<p>After downloading and installing the windows binary, run it and define the name of the Synergy server, under &#8220;Other Computer&#8217;s Hostname&#8221;.</p>
<p><a href="http://sidrit.files.wordpress.com/2008/10/syn1.jpg"><img src="http://sidrit.files.wordpress.com/2008/10/syn1.jpg?w=455&#038;h=345" alt="" title="syn1" width="455" height="345" class="alignnone size-full wp-image-268" /></a></p>
<p>Test it. If the server is running correctly, it should all already work.</p>
<p><em><strong>Windows XP as Server</strong></em></p>
<p>After the installation, run Synergy, and on the main screen, choose to share this computer&#8217;s keyboard and mouse.  &#8220;Screen &amp; Links : Configure&#8221;.</p>
<p><a href="http://sidrit.files.wordpress.com/2008/10/syn2.jpg"><img src="http://sidrit.files.wordpress.com/2008/10/syn2.jpg?w=510&#038;h=350" alt="" title="syn2" width="510" height="350" class="alignnone size-full wp-image-269" /></a></p>
<p>The interface from here is quite intuitive. On the Screens section click the + button to add another screen, and underneath it, the relationship with the other screen.</p>
<p><a href="http://sidrit.files.wordpress.com/2008/10/syn3.jpg"><img src="http://sidrit.files.wordpress.com/2008/10/syn3.jpg?w=291&#038;h=435" alt="" title="syn3" width="291" height="435" class="alignnone size-full wp-image-270" /></a></p>
<p>Start.</p>
<p><em><strong>Ubuntu as Client</strong></em></p>
<p>On the Ubuntu box, after installation, to use it as a client, there is no further configuration needed.<br />
The only thing to done is launch the client:</p>
<p><code>synergyc -f server.ip</code><br />
to keep it verbose, or</p>
<p><code>synergyc server.ip</code><br />
to leave it in the background.</p>
<p><em><strong>Notes and troubleshooting</strong></em><br />
One of the biggest issues i had to get this running was getting the windows box to recognize Ubuntu&#8217;s hostname. After some research this turned out to be quite the popular topic.</p>
<p>The solutions varied from adding<br />
<code>send host-name "thehostname";</code><br />
at the end of <em>/etc/dhcp3/dhclient.conf</em>,<br />
to installing winbind and adding wins to the nsswitch.conf file.</p>
<p>The fact is that an entirely different article could be written about this, but none of them worked for me.</p>
<p>The only hack-ish solution was installing <strong>samba</strong> and editing /etc/samba/smb.conf.<br />
At the end of the Global Settings section, adding :<br />
<code>netbios name = dev</code></p>
<p>After resolving that, another issue was that while running Ubuntu as the server, the mouse was not properly responsive on the client. The same thing happened when Ubuntu was the client on the Ubuntu box itself.<br />
Turns out this is a known bug with the newer Ubuntu versions. The solution is not the safest, but the only one working so far. Whatever you&#8217;re running on Ubuntu ( client or server ), run it as root. Works.<br />
Very important at this point is the location of the configuration file.<br />
If synergys is launched as root with no extra parameters, will be looking for the .conf file in /root/.<br />
Either move the file there, or launch it with the path parameter.</p>
<p><code>sudo synergys --config synergy.conf</code></p>
<p>Done and done.</p>
Posted in Fix-it !, Free Software, Howto, Linux, Splurge, Ubuntu Tagged: dual desktop, Dual Screen, Howto, Linux, synergy, Ubuntu <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sidrit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sidrit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sidrit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sidrit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sidrit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sidrit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sidrit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sidrit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sidrit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sidrit.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=260&subd=sidrit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sidrit.wordpress.com/2008/10/21/dual-screen-ubuntu-windows-xp-with-synergy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sidrit Trandafili</media:title>
		</media:content>

		<media:content url="http://sidrit.files.wordpress.com/2008/10/syn1.jpg" medium="image">
			<media:title type="html">syn1</media:title>
		</media:content>

		<media:content url="http://sidrit.files.wordpress.com/2008/10/syn2.jpg" medium="image">
			<media:title type="html">syn2</media:title>
		</media:content>

		<media:content url="http://sidrit.files.wordpress.com/2008/10/syn3.jpg" medium="image">
			<media:title type="html">syn3</media:title>
		</media:content>
	</item>
		<item>
		<title>Dual Screen for Dell Latitude on Hardy Heron</title>
		<link>http://sidrit.wordpress.com/2008/07/04/dual-screen-for-dell-latitude-on-hardy-heron/</link>
		<comments>http://sidrit.wordpress.com/2008/07/04/dual-screen-for-dell-latitude-on-hardy-heron/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 08:32:31 +0000</pubDate>
		<dc:creator>Sidrit Trandafili</dc:creator>
				<category><![CDATA[Fix-it !]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Splurge]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[Dell Latitude]]></category>
		<category><![CDATA[Dual Screen]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[Xorg]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">http://sidrit.wordpress.com/?p=21</guid>
		<description><![CDATA[Few days back i refound in the office this Dell Latitude laptop (with a german keyboard layout) that
we simply were not using in a while. It was running XP and not too well either.
So wanting to make some use of it for some mobile task i decided to wipe it an place 8.04 on it.
The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=21&subd=sidrit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Few days back i refound in the office this Dell Latitude laptop (with a german keyboard layout) that<br />
<iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Flinux_unix%2FDual_Screen_for_Dell_Latitude_on_Hardy_Heron' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe>we simply were not using in a while. It was running XP and not too well either.</p>
<p>So wanting to make some use of it for some mobile task i decided to wipe it an place 8.04 on it.</p>
<p>The installation went fine. Actually even a US Robotics Wireless PCI card was working right out of the box. Following the true Ubuntu spirit.</p>
<p>The only thing i was unable to do from the GUIs was configuring the 2nd screen.<br />
Then let&#8217;s attempt another approach .</p>
<p><span id="more-21"></span></p>
<p><code>lspci | grep -i vga<br />
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY<br />
</code></p>
<p>Even after installing the restricted ATI drivers i had so far no luck, so manually will be the way.</p>
<p><strong>xrandr </strong>is a command line tool that helps define and configure parameters for the displayed output.</p>
<p><code>xrandr -q<br />
Screen 0: minimum 320 x 200, current 2048 x 768, maximum 2048 x 768<br />
<strong> VGA-0</strong> connected 1024x768+1024+0 (normal left inverted right x axis y axis) 304mm x 228mm<br />
1024x768      60.0*+ 75.1 70.1 60.0* 59.9<br />
832x624      74.6<br />
800x600      72.2 75.0 60.3 56.2<br />
640x480      75.0 72.8 69.6 66.6 60.0<br />
720x400      70.1<br />
DVI-0 disconnected (normal left inverted right x axis y axis)<br />
<strong> LVDS</strong> connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm<br />
1024x768      60.0*+ 60.0<br />
800x600      60.3<br />
640x480      59.9<br />
S-video disconnected (normal left inverted right x axis y axis)</code></p>
<p>From the output of the xrandr -q command it&#8217;s possible to tell that LVDS is my laptop screen and VGA-0 the externally connected one.</p>
<p>To find out the resolution required for the 2nd screen we can still use the same command line tool without having to calculate it manually.</p>
<p><code>xrandr --output VGA-0 --auto --right-of LVDS<br />
xrandr. screen cannot be larger than 1024x1024 (desired size <strong>2048x768</strong>)<br />
</code></p>
<p>Now let&#8217;s edit the &#8220;Screen&#8221; section in xorg.conf</p>
<p><code>sudo gedit /etc/X11/xorg.conf</code></p>
<p><code>Section "Screen"<br />
Identifier     "Default Screen"<br />
Monitor               "Configured Monitor"<br />
Device         "Configured Video Device"<br />
Subsection "Display"<br />
Modes "1024x768"<br />
<strong> Virtual       2048 768</strong><br />
EndSubSection<br />
EndSection</code></p>
<p>Once the file is edited, saved and closed, restart X ( Ctrl + alt + BackSpace ).<br />
Afterwards to make the &#8216;magic&#8217; happen:</p>
<p><code>xrandr --output VGA-0 --auto --right-of LVDS</code></p>
<p>Both screens will turn off for a moment that turn on again with the new settings.</p>
<p>That&#8217;s it <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em>Note: so far i have not been able to get this running at boot. A solution is to insert it in the list of programs to run at session start  System-&gt;Preferences-&gt;Sessions-&gt;Startup Programs.</em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sidrit.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sidrit.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sidrit.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sidrit.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sidrit.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sidrit.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sidrit.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sidrit.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sidrit.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sidrit.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sidrit.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sidrit.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=21&subd=sidrit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sidrit.wordpress.com/2008/07/04/dual-screen-for-dell-latitude-on-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sidrit Trandafili</media:title>
		</media:content>
	</item>
	</channel>
</rss>