Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Configure VNC to access Ubuntu GUI - connection refused

$
0
0
Hi
not sure if this is the right place for this. BTW...I am a noob.

I installed Xen Server 6.2 on a home PC. As a VM, I then installed Ubuntu 12.04 server 64bit. I can access this from a Win XP machine using the XenCentre Client.

However, the terminal and I "aren't close friends" and I'd like to be able to access the Ubuntu installation via a GUI.

Here's what I did from the terminal:

  • Installed x11vnc
  • created a script in /etc/init/x11vnc.confscript
  • x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log

    end script

  • installed lightdm
  • changed permission on that file sudo chmod 660 /etc/x11vnc/x11vnc.pass
  • enabled ufw
  • enabled default ports for VNC
    sudo ufw allow 5800/tcp
    sudo ufw allow 5900/tcp
    sudo ufw allow 6000/tcp



When I try to use VNC viewer to 192.168.1.103:0 it gives an error - Connection refused (10061).

There is a lot on the web about this problem - I've trawled through a lot of it, without resolving the issue (I know it will be operator). I've hung around the IRC channels to get assistance without luck.

I'd appreciate any advice you may be able to give.

Paul

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>