Showing posts with label synergy. Show all posts
Showing posts with label synergy. Show all posts

Tuesday, June 03, 2008

Synergy with Foresight Server

Installed Synergy (from source 1.3.1.tar.gz) today on the MacBook in Foresight 2.0.2 Then I set up Foresight as the server and Ubuntu (on the Dell) as the client.
Everything worked fine other than copy from the server to the client only worked rarely. On the other hand, copying from client to server worked fine as did the server mouse and keyboard on the client.
I posted to the Synergy Community Forums on this but have yet to get a reply.
Some other things I learnt about Synergy today:

1. Works fine with a wireless connection on the server (well, why wouldn't it?)
2. Set it up to run "in the background" and this works fine and doesn't tie up your terminals. Do this just by leaving out the -f from the commands So server start becomes:

synergys --config synergy.conf

and client start becomes
synergyc 192.168.1.4

3. Strangely, when I try to start the client with "synergy server_hostname", it doesn't work. Not sure why this is.
4. I can easily stop the client by just running "killall synergyc", although this has to be run as root (sudo) in Ubuntu as the client only works well if started as root.
However, "killall synergys" or "sudo killall synergys" do not stop the server. This is puzzling as they're the commands recommended.
I also tried kill 'process number -- from ps -e' but this doesn't work either and neither does "pkill synergys". The only way I found to stop the server is to reboot which is certainly very drastic.

Sunday, June 01, 2008

Synergy working in Foresight 2.0.2

I had quite some problems getting Synergy installed in Foresight but eventually I got it.
As I had already installed Synergy from repos in Ubuntu and Sidux, I thought I should be able to do the same in Foresight.
It is actually listed in the rPath repos but it won't install apparently because it's in a repo (desktop) that's deprecated. More detail of what I did is provided in this thread.
So, then I tried to compile it from source (tar.gz) and this worked fine. Just needed the usual three steps (./configure, make, make install).
So far, I've only used Foresight (on Dell) as the client but it works fine. Interesting that in Foresight I don't need to launch Synergy in the client as root.

Saturday, May 31, 2008

Synergy now works well

I set up Synergy to run with Ubuntu Hardy on both computers, thinking that perhaps having Sidux as the server computer might have been the cause of my poor mouse performance on the client computer.
However, it made absolutely no difference.
Then did a bit of googling and found that, indeed, the problem seemed to be with the new Ubuntu version (Hardy 8.04). A solution given was to start the client as root.
So instead of just

synergyc -f 192.168.1.4

I ran
sudo synergyc -f 192.168.1.4

on the client. This did the trick and everything worked fine.
Tomorrow I'll go back to Sidux (and possibly Foresight) as the server and see can I get it to work there as well.
Incidentally, the major benefit here for me is being able to very easily cut and paste between computers. That really is very nice.

Friday, May 30, 2008

Tried Synergy from MacBook to Dell desktop.

I mentioned yesterday in my other blog about Synergy which allows you to employ a single mouse and keyboard across two or more computers. You can also cut and paste between the various computers which is nice.
So, I tried it out today between the MacBook (Sidux 2008-1) and the Dell desktop (Ubuntu Hardy) and it works but there's a problem with mouse movement in screen2 (for me the Dell). It starts off fine when moved over but kinda runs out of steam after about 30 seconds and thereafter only works intermittently. have to look into this and see if I can solve because otherwise this is a great free app for anybody who has more than one computer on their desk.
Here's what to do:
1. Type "hostname" in a terminal in each computer that you want to link through Synergy. This gives you the hostname of each computer.
For me, I had sidux and paul-dell.
2. Install synergy on each computer. In fact, synergy was available in the repos of both Linux OSes I was dealing with so, in Sidux, I did

# apt-get install synergy

while in Ubuntu I installed synergy through Synaptic.
3. Create a file called synergy.conf in the home folder on the computer where the synergy server will be operated (sidux in my case). Here you must describe the relative positioning of each computer on your desk (whether one is right, left, up or down compared to another).
My synergy.conf file is as follows:
section: screens
sidux:
paul-dell:
end
section: links
sidux:
right = paul-dell
paul-dell:
left = sidux
end

where I describe that I have two computers named sidux and paul-dell and sidux (the first one) is where the synergy server is. Further, paul-dell is to the right of sidux. Note that, although it might seem obvious, you still have to input that sidux is to the left of paul-dell.
4. Start the server (on sidux)
Use this command
synergys -f --config synergy.conf

5. Start the client(s)
Use this command
synergyc -f "ip address of server"

where "ip address of server" is the internal IP of the computer where the server is operating. In my case this was 192.168.1.4

Now, it should be working and you can:
1) Move mouse pointer from main computer (sidux) to the other one's screen
2) Once the mouse pointer is in the second screen (paul-dell), use the sidux keyboard to do stuff on screen2
3) Copy something on screen 1 and paste it on screen 2. I like this and it's a lot more convenient than cl1p.net as long as you have got synergy up and running.

So, this is very nice and useful app and it's a pity that it's not quite working perfectly with the mouse performance poor on the second screen in my case. I'm going to look into this to see if there's any way to overcome this difficulty.
Here are a few very useful links:
Synergy on Ubuntu
Synergy user guide
Synergy howto (Engadget)