[Error] Prompted to enter the (root) password twice for exported applications when `root=true` (or `--root`)
Author: JeanLuXCreated Apr 12, 2025Updated Aug 25, 2026
Labelsbug
Describe the bug I've noticed that when I export a program into a root Distrobox, I'm prompted to enter the (root) password twice. I understand being asked once, but the second time feels unnecessary and kind of annoying.
To Reproduce
Create one distrobox with root=true option (distrobox.ini):
[container]
name=test
image=quay.io/toolbx/ubuntu-toolbox:24.04
root=true
init=true
additional_packages=systemd
volume=~/.local/linuxbrew:/home/linuxbrewdistrobox assemble create
Generated desktop file by 'distrobox-export --app codium'
Expected behavior The root password should only be requested once.
Logs
Run the commands with --verbose and post the log here as a file upload
Attach also the output of podman logs or docker logs, possibly with --latest flag
Desktop:
- Podman 5.4.2
- Distrobox 1.8.1.2
- Fedora Linux 41 Kinoite | KDE Plasma 6.3.4 | Linux kernel: 6.13.10-200.fc41.x86_64 | OSTree v41.20250411.0
- Distrobox installed with
rpm-ostree install distrobox
Source: 89luca89/distrobox