1. sudo cp /usr/share/applications/synergy.desktop /etc/xdg/autostart/
    2. sudo chmod 644 /etc/xdg/autostart/synergy.desktop

    Now when you reboot your host it should autostart synergy.
    其实第二句修改权限不需要做,确认下权限是 644 就可以了。