carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.53k stars 3.72k forks source link

carla docker ---->Password #5666

Open KangChou opened 2 years ago

KangChou commented 2 years ago

`carla@ovo:~$ ./CarlaUE4.sh -opengl 4.26.2-0+++UE4+Release-4.26 522 0 Disabling core dumps. sh: 1: xdg-user-dir: not found error: XDG_RUNTIME_DIR not set in the environment. error: XDG_RUNTIME_DIR not set in the environment. error: XDG_RUNTIME_DIR not set in the environment. carla@ovo:~$ su Password:

[4]+ Stopped su carla@ovo:~$ su Password: su: Authentication failure carla@ovo:~$ su Password: su: Authentication failure `

KangChou commented 2 years ago

carla@ovo:~$ ./CarlaUE4.sh -opengl 4.26.2-0+++UE4+Release-4.26 522 0 Disabling core dumps. sh: 1: xdg-user-dir: not found error: XDG_RUNTIME_DIR not set in the environment. error: XDG_RUNTIME_DIR not set in the environment. error: XDG_RUNTIME_DIR not set in the environment. carla@ovo:~$ su Password:

[4]+ Stopped su carla@ovo:~$ su Password: su: Authentication failure carla@ovo:~$ su Password: su: Authentication failure

lshmouse commented 2 years ago

@KangChou Open another terminal and docker exec as root, and you can execute the commands which need root privileges.

docker exec -it --user root sleepy_lederberg /bin/bash
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.