UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Difficulties setting up Clickable (LXD)

    Scheduled Pinned Locked Moved Support
    3 Posts 3 Posters 972 Views 2 Watching
    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 Offline
      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?

      mikhaelM W 2 Replies Last reply Reply Quote 0
      • mikhaelM Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post