x11vnc/x11vnc-desktop

Can not auto launch my web browser to show the desktop environment

iHad169 opened this issue · 3 comments

Can not auto launch my web browser to show the desktop environment

I use:
localhost@localhost-desktop:~$ python x11vnc_desktop.py -p -N -V

it show:

Check whether Docker is up and running.
Pulling latest docker image x11vnc/desktop:latest.
latest: Pulling from x11vnc/desktop
Digest: sha256:903360280063088a0e15c0879033ff6972864af7451dc86b5a01bf1e4c6b89f6
Status: Image is up to date for x11vnc/desktop:latest
docker.io/x11vnc/desktop:latest
Starting up docker image...
docker run -d --rm --name x11vnc-tafqnn --shm-size 2g -p 6080:6080 -p 5950:5900 --hostname x11vnc-tafqnn --env VNCPASS= --env RESOLUT=1440x900 --env HOST_UID=1000 -p 2222:22 -v /home/localhost:/home/ubuntu/shared -v x11vnc_latest_config:/home/ubuntu/.config -v /home/localhost/.gnupg:/home/ubuntu/.gnupg -v /home/localhost/.gitconfig:/home/ubuntu/.gitconfig_host -v x11vnc_project:/home/ubuntu/project -w /home/ubuntu/project -v /home/localhost/.ssh:/home/ubuntu/.ssh --device /dev/nvidia-caps:/dev/nvidia-caps --device /dev/nvidia-modeset:/dev/nvidia-modeset --device /dev/nvidia0:/dev/nvidia0 --device /dev/nvidiactl:/dev/nvidiactl --security-opt seccomp=unconfined --cap-add=SYS_PTRACE x11vnc/desktop:latest "startvnc.sh >> /home/ubuntu/.log/vnc.log"
74cc00acd64d342102274bd4fbb1bba2c3859c6add4a505616ad08be7d7ae8b1

I wait long time it not show the desktop environment

localhost@localhost-desktop:~$ docker run hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

Sorry for not following up with the issue earlier. I was not able to reproduce the issue. I just incorporated some improvements. Please let me know if the new changes help resolve the issue.