Which version of Ubuntu are you using?
Are you migrating from DEB to LXD (using
sudo lxd.migrate to complete the migration) or are you installing the LXD snap package from scratch.
The first two items should not be an issue. You may have to re-login for the
lxd group assignment to take place, or assign manually if you are using a non-standard non-root account.
If you have to set the
local remote manually, then most likely you are still using the
lxc client from the DEB package, not the SNAP package. You can identify which is which, by running
The Unix socket is indeed different. There should be a way to get the new socket using an
lxc command, if you need it in your scripts. In most cases, it should not be needed.
When you install a snap package, the system adds
/snap/bin into your $PATH. If you use a non-standard shell or you have a hard-coded $PATH, then you do not get the updated $PATH.
echo $PATH should show you the $PATH and you can see whether
/snap/bin is in there.