Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

black screen appears #32

Closed
gityeezy opened this issue Jul 20, 2024 · 5 comments
Closed

black screen appears #32

gityeezy opened this issue Jul 20, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@gityeezy
Copy link

Hello, I pulled the images of ubuntu22.04 and ubuntu22.04-cu12.2 and followed your tutorial to make the container. However, when connecting with nomachine, a black screen appears. I have used your other versions before and everything was fine.

@gezp
Copy link
Owner

gezp commented Jul 20, 2024

which os version of your host machine? @gityeezy

@gityeezy
Copy link
Author

Linux ye 5.15.0-113-generic #123~20.04.1-Ubuntu SMP Wed Jun 12 17:33:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

@gezp
Copy link
Owner

gezp commented Jul 20, 2024

it's known bug when use image with tag 22.04 on host ubuntu 20.04,but image with tag 22.04 works well on host ubuntu 22.04,i don't know why.

@gezp
Copy link
Owner

gezp commented Jul 20, 2024

it can be fixed by add flag --security-opt seccomp=unconfined when you create container with tag 22.04 on host ubuntu 20.04. like this:

docker run -d --restart=on-failure \
    --name my_workspace \
    --cap-add=SYS_PTRACE \
    --security-opt seccomp=unconfined \
    --gpus all  \
    --shm-size=1024m \
    -e USER=ubuntu \
    -e PASSWORD=ubuntu \
    -e GID=$(id -g) \
    -e UID=$(id -u) \
    -p 10022:22 \
    -p 14000:4000 \
    gezp/ubuntu-desktop:22.04

@gezp gezp added the bug Something isn't working label Jul 20, 2024
@gezp gezp pinned this issue Jul 20, 2024
@gityeezy
Copy link
Author

thank you,it works!!! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants