apx icon indicating copy to clipboard operation
apx copied to clipboard

[v1] Ubuntu default container asks for inexistant password

Open taukakao opened this issue 1 year ago • 7 comments

When using the ubuntu container in apx version 1, it will ask for the password of user "ubuntu". This prevents the user from installing anything using this container.

Possibly related to the "Installing basic packages" step failing when creating the container.

taukakao avatar Apr 28 '24 23:04 taukakao

same problem here, how does vanilla install ubuntu packages? is it with podman?

Valeriooooh avatar May 07 '24 08:05 Valeriooooh

apx uses distrobox which uses podman in the case of vanilla, yeah.

taukakao avatar May 07 '24 08:05 taukakao

Same problem here too. Does anyone know that password?

luizmarinhojr avatar May 08 '24 03:05 luizmarinhojr

The ubuntu user cannot be logged into. It doesn't have a password. The container is currently not usable. You have to use a different container, for example fedora with "apx --dnf"

taukakao avatar May 08 '24 09:05 taukakao

When will this problem be fixed?

SERBA2121 avatar May 21 '24 16:05 SERBA2121

I have the same problem too.

nxjosephofficial avatar Jun 13 '24 19:06 nxjosephofficial

I found a temporary solution to this issue.

  1. Open Vanilla Os Control Center
  2. Click on the "Sub System" tab.
  3. type su this will log you into the container as root.
  4. type passwd ubuntu and enter the password you want for the ubuntu user.
  5. you'll next need to edit the sudoers file, so type apt-get install nano (or vi if you prefer)
  6. type nano /etc/sudoers below this line:
# User privilege specification
root    ALL=(ALL:ALL) ALL

add this: ubuntu ALL=(ALL:ALL) ALL 7. Save the file, and close the container. 8. Test the results, it should work.

MordechaiShebuel avatar Jul 03 '24 04:07 MordechaiShebuel