GithubHelp home page GithubHelp logo

Comments (4)

scottyhardy avatar scottyhardy commented on May 22, 2024 1

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.

from docker-remote-desktop.

MRzNone avatar MRzNone commented on May 22, 2024

Probably this line has some hint:

https://github.com/scottyhardy/docker-remote-desktop/blob/master/entrypoint.sh#L5

from docker-remote-desktop.

MRzNone avatar MRzNone commented on May 22, 2024

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

from docker-remote-desktop.

DarkAxi0m avatar DarkAxi0m commented on May 22, 2024

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

from docker-remote-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.