Error: Failed to connect to local LXD: Get http://unix.socket/1.0: EOF

Thanks @stgraber for your reply.

It is deb, I did:
journalctl -u lxd -n 300

I got:
“CGroup memory swap accounting is disabled, swap limits will be ignored.”

I checked this thread

I added swapaccount=1 in GRUB_CMDLINE_LINUX_DEFAULT but I am still getting the same error.

I am a little bit lost with /proc/cmdline, where is it?

Thank you in advance.