2
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.
How have you got it configured in synergy? – Paul – 2012-05-28T09:12:55.687
My Ubuntu machine is a Synergy client (not server), I can't see anywhere I would set the computer name in the client settings. On my Synergy server if I set it to expect the new name, it will not connect. Set it to the old name and it connects straight away. – Anonymous – 2012-05-28T09:14:42.410
As user root, try this:
find /etc -type f -exec grep OLDHOSTNAME {} /dev/null \;
(and, yes, there's a backslash before that semi-colon in the find command). This should show you any files under/etc
that still contain the old hostname. – Fran – 2012-05-28T22:10:17.770Hi Fran, it didn't find anything with my old hostname. – Anonymous – 2012-05-29T09:24:32.243
QuickSynergy on Mac/Linux or NQuickSynergy on Windows supposedly takes all the pain out of using Synergy. – harrymc – 2012-06-01T14:52:33.873
If you've not rebooted since making the changes, you'll also need to "sudo hostname <newhostname>", as well as making the changes to the files you mentioned. Could it be that? – Darael – 2012-06-07T00:53:36.190
I think you shouldn't have changed your hostname manually. Try with the command hostname instead: http://unixhelp.ed.ac.uk/CGI/man-cgi?hostname
– Bruno9779 – 2012-06-07T17:08:59.913