Synergy works on Ubuntu 21.04 and 22.04 LTS, however it requires you to login with Xorg instead of Wayland.
To login with Xorg instead of Wayland:
1. Select the small cog on the bottom right corner at the login screen.
2. Choose “Ubuntu on Xorg” (see image below):
If this article didn't help, you can talk to someone on our support team (unless we sent you here, in which case please reply via the ticket you already have open).