You don't, if run through sudo, you don't need to be in the lxd group.
If it failed for you with sudo, I'm guessing it wasn't a permission
denied error but more likely it was just that LXD wasn't done starting
up yet (socket didn't exist).
--
You received this bug notification because you are a
I found it rather surprising that you need to be in the LXD group to run
this initial configuration command - with sudo.
Is there a good reason why it needs to be the case? Could we at least
add some messaging prompting the user to add themselves to the lxd
group?
--
You received this bug notifi
Thank you for your help.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767469
Title:
Failed to connect to local LXD
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/
Still does not work. You were correct about the user not being in the
lxd group.
Same error as before.
And running the same command as root produces the same error.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchp
Nevermind, missed your comment that I had to rerun the newgrp command.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767469
Title:
Failed to connect to local LXD
To manage notifications about this
** Changed in: lxd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767469
Title:
Failed to connect to local LXD
To manage notifications about this bug go to:
h
Your user isn't in the LXD group. You can add it with "adduser USERNAME
lxd", after which the newgrp command will work fine. To have it apply to
all your user's shell, logout and back in or restart the system.
If that's too much trouble for now, you can just run the LXD commands as
the root user t