Working with 2 laptops and have to connected between each other is important in my daily activities. I have two Fedora laptop here (Macbook Pro + Dell) and get connected seamlessly with synergy. Here are to setup :
1. Install synergy
In both computer, please install synergy by :
1 | sudo yum install synergy |
2. Hostname
Make sure both computer have difference hostname. To change hostname in Fedora :
1 | sudo vim /etc/sysconfig/network |
Edit HOSTNAME into different value and don’t forget to restart the network service by:
1 | sudo service network restart |
3. Setup Server
In server which have hostname “trip” and client hostname “fedora”, I create configuration in “/etc/synergy.conf”:
1 2 3 4 5 6 7 8 9 10 11 | section: screens trip: fedora: end section: links trip: left = fedora fedora: right = trip end |
Run this server by :
1 | synergys -f –config /etc/synergy.conf |
4. Client
We need to add server hostname into our client “/etc/hosts”. For example, server IP is 192.168.1.3 :
1 | 192.168.1.2 trip |
Then we can connect to server by :
1 | synergyc -f trip |
Now you ready to working with different laptop and different OS if you want 🙂