Ubuntu – Synergy in Ubuntu not recognizing computer name change

hostnamesynergyUbuntu

I've changed my computer name in these places:

/etc/hostname
/etc/hosts

But when I try and connect Synergy with the new name, in the log it's still attempting to connect with the old name. I can also only access the computer from other computers (it's running lamp) with it's old hostname and not the new one.

What am I missing? I've done a full reboot.

Best Answer

Try connecting to the Synergy Server with this commandline in Ubuntu:

synergyc -f --name <my-new-hostname> <servername>


If you do not run your own internal DNS server then you will need to specify the new hostname for your Ubuntu box on each computer in the network (usually the hosts file).

Flush the arp and dns cache and modify the hosts file on the SERVER to include an entry for the CLIENT machine and try again.