Closed DevinBayly closed 3 years ago
Hi @DevinBayly ,
Herewith the command i run to start my container.
docker run \ -d \ -p 47387:443 \ -p 6885:5900 \ -v /dev/shm:/dev/shm \ -e RESOLUTION=2560x1440 \ -e VNC_PASSWORD=yourvncpwd \ -e USER=dennis \ -e PASSWORD=youruserpwd \ -e SSL_PORT=443 \ --cap-add=SYS_PTRACE \ --mount source=ubuntu-desktop-home-dennis,target=/home/dennis \ --mount type=bind,source=/etc/localtime,target=/etc/localtime \ --mount type=bind,source=/root/ssl/ubuntu-desktop,target=/etc/nginx/ssl \ --restart=always \ --name ubuntu-desktop \ dennisvanderpool/ubuntu-desktop
I've created a Dockerfile based on this one.
If that still doesn't work try checking if port might be blocked on the firewall (check iptables) or check --network argument
@dennisvanderpool Thanks for the info! What program are you using for your vnc client if I may ask, and do you just make it connect to the host ip running the container on port 6885?
@DevinBayly Remmina on Linux and used 2 different VNC clients on Windows, they all work.
alright good to know. I was able to connect using the turbovnc client and the ./vncviewer with the hostip::6885
and then my provided password.
Couldn't get remmina, but that's ok. Thanks for your help!
I can't follow the instructions to start a connection to this docker container running in a remote server from my laptop (ubuntu 20.04).
Here's what I've tried running on the remote server
which outputs
but I've tried connecting with a bunch of VNC programs and none of them work
I used remmina with this configuration , but it times out without connecting.
I tried
tightvncconnect myserverip
in the terminal but it doesn't output anything or bring up any new graphical applications.I'm sure I'm missing something super basic, so hopefully this isn't a tricky one. Thanks for the help!