title: Using VNC with Docker
body: <p>this is my first time using VNC and docker. I want to connect to my docker's GUI.</p>
  
  <p>I have tried to follow a few tutorials online but my VNC viewer cannot connect to the display. I have exposed port 5900 in my dockerfile, and inside docker I have ran 
  <code>Xvbf :1 -screen 0 1600x1200x16 &amp; export DISPLAY=:1</code> and <code>x11vnc</code>. It seems to work and I get message saying that the desktop is at port 5900. However I still cannot connect to localhost:5900 in my vnc viewer.</p>
  
  <p>What am I doing wrong, and what can I use to diagnose my problem? Thanks!</p>