Installation of VNC in ubuntu 19.10

I installed the VNC server in Ubuntu 19.10,following the Linode documentation for installing VNC in ubuntu 18.04 "".
I have a VM player with Ubuntu 18.04 and have Remminna installed. When I try connecting to the server I get the following error in my VMplayer terminal window.:"channel 3: open failed: connect failed: Connection refused"
How can I get over this hurdle.
I am a total newbie to the Linux environment as well as having a server in Linode.

1 Reply

I'm not that familiar with the VM Player, but the error you're receiving could be the result of a few different things. SSH tunneling and your firewall are two possibilities.

As I don't have access to your setup, I wanted to provide you with some resources that I found while digging into this that might be helpful.

My recommendation is to first look at your firewall configuration, as it is the most likely culprit if you're able to access other services running on your Linode:

Control Network Traffic with iptables

To find out what is listening on what ports, you can use netstat Here is a page that gives an overview of how the command works. My recommendation is to check where Remmina is listening as well as your VM player:

How to check opened/closed ports on my computer?

This also may help in regard to your firewall configuration:

What causes the 'Connection Refused' message?

As for SSH tunneling, here is our guide on it:

Setting up SSH Tunnels on your Linode

Finally, a discussion I found on the 'Connection refused' error:

SSH tunnel refusing connections


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct