Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Difficulties setting up Clickable (LXD)

    Support
    3
    3
    666
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Eureka last edited by

      I'm in the process of setting up bhdouglass's clickable program from github on my computer. I have completed the steps up until the point where after I have to setup LXD for the mr_nice_guy account (see Inside the Container just before Configure clickable inside the container on the ubports wiki https://wiki.ubports.com/wiki/Set-up-a-Clickable-working-environment-inside-an-LXC-container).

      I get this message:

      mr_nice_guy@clickablecontainer:/root$ cd
      mr_nice_guy@clickablecontainer:~$ cd $HOME
      mr_nice_guy@clickablecontainer:~$ sudo apt-get install lxd
      sudo: no tty present and no askpass program specified
      mr_nice_guy@clickablecontainer:~$ sudo systemctl start lxd.service
      sudo: no tty present and no askpass program specified
      mr_nice_guy@clickablecontainer:~$ sudo usermod -a -G lxd mr_nice_guy
      sudo: no tty present and no askpass program specified

      After reading through sudo's man page I found out that -A or - - askpass is a program and apperently sudo can't find it because (I believe) because mr_nice_guy is a new account he doesn't have an askpass program. What do I have to do to allow mr_nice_guy to setup LXD?

      mikhael W 2 Replies Last reply Reply Quote 0
      • mikhael
        mikhael @Eureka last edited by

        @Eureka, you can use sudo with -S flag, for example: sudo -S apt install lxd

        1 Reply Last reply Reply Quote 0
        • W
          wgarcia @Eureka last edited by

          @Eureka I believe "mr_nice_guy" is a generic name for a user. Use your actual username for this.

          On the other hand if you are running this within Ubuntu you don't need to create a container, you should use the other set of instructions without creating a container.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post