Closed KashifHK123 closed 2 years ago
Probably this line has some hint:
https://github.com/scottyhardy/docker-remote-desktop/blob/master/entrypoint.sh#L5
I was able to change the pass word via logging in as root and change password for user ubuntu
.
docker exec -u 0 -it remote-desktop /bin/bash # log in the container as root
passwd ubuntu # change password
Rather than the changing the password, I've found it better/easier to install sudo.
docker exec -u 0 -it remote-desktop /bin/bash
apt update
apt install sudo
usermod -aG sudo ubuntu
Then logout and back in to the desktop and you can run root commands with sudo
sudo bash
sudo apt update
etc
Hi all,
There is no root password set, unless there's one set in the ubuntu image(s) (which I'm pretty sure it's not). I thought I'd already added sudo to this image - looks like I haven't though so I can do that.
Hello, I need a root password to install my required programs. You didn't share the root password, Can you please share it?