As indicated in an answer to the Stack Overflow question you have already linked to, running e.g. netstat -an find "ESTABLISHED" find ":5900 " will return something similar to the following if there is currently a connection on port 5900:
If there is an eligible TightVNC connection, you will still see packets scrolling by but they will be fewer and more consistent. You will also see "VNC" appear in the "Protocol" column. In the screenshot below, you can see the local host (10.0.0.4) running Wireshark (and the TightVNC server) communicating with the remote VNC viewer (10.0.0.40) i.e someone who is accessing the PC:
Among
the enhancements in TightVNC not found in standard
VNC implementations are the ability to transfer files from the local system to
the remote workstation (referred to as the server, in VNC parlance) or vice
versa and adjustable compression levels to better mate connection speeds with
the work being performed via the remote connection.
To
install TightVNC on the workstation or server you
wish to access remotely, begin by downloading the self-installing TightVNC package. Once you have the installation file ready
(the current version at the time of this writing is tightvnc-1.2.9-setup.exe), follow these steps:
On other firewalls, port 5900 may be required to enable VNC traffic to pass
properly. (Other VNC implementations sometimes use ports 5500 and 5800.)
For best security, administrators should test configurations to determine
the minimum ports that need be opened to enable the connection to work
within their specific environments.Connecting to a TightVNC hostConnect
to a TightVNC-enabled remote host by installing TightVNC on a local system and following these steps:
So unraid says use port 5901.. The VM says it's ip address is 192.168.1.29. I tell TightVNC to connect to the remote host at 192.168.1.29::5901 I am still getting "No connection could be made because the target machine actively refused it."
I have used various variants of the xstartup file /.vnc/xstartup. However, I cannot find any configuration which is working for me. Below you can find example of the xstartup file.Ping is working and I can ssh from Windows to Ubuntu. VNC connection is also working. However, after establishing VNC session from Windows machine, I cannot see anything.I get an empty window with grey background. From Linux machine I use Remmina for connection with similar result. I want to see exactly the same desktop as if I am looking at the Ubuntu machine, but I cannot do that.
From the WinXP client, I open the tightvnc viewer for :3 and I get the login greeter as expected. Entering my login name and password, the viewer closes. If I try same via the java applet web interface, it also closes with a message that the connection was reset by the server.
Sounds like you are trying to run Xvnc as root. Otherwise, running it from
a user account will log the external user into that account only. I may be
missing something, but I run my connections at the office by logging in via
ssh as the user I want to connect as and start vncserver the same as you do
(except I specify the geometry to get something that will scale to my
monitor). I DO NOT allow root access or remote admin so :1, :2, and :3 are
available. I can always su to root if I need root access but I do not want
root exposed to the world. That also allows me to use port forwarding to
select the machine I want to hit via the router which puts one more firewall
in the stream.
As a suggestion, have you tried looking at the logs after a failed session?
I had some problems that finally resolved when I used an ssh connection to
check the system log immediately after the failure. Mine was a failure to
find a tty it could use but that was my fat fingers in the setup.
4. Find the VNC tab there. In that tab there are VNC server address, port and password. You can look at the password by clicking the Show/hide password button. All these parameters are necessary for VNC connection.
1. If you have installed TightVNC, then open TightVNC Viewer. In the Remote Host field enter the IP address for VNC connection and, after two colons (::), the port and then press Connect.
TightVNC is basically a free service that functions as a remote control. In other words, you can use your local keyboard and mouse to control a remote machine using this program together with an Internet connection.
TightVNC is a remote control package derived from VNC, with many new features, improvements, and bugfixes over the standard VNC version. It works well with slow network links such as modem connections, provides more configuration options in the server, includes improved Java viewer, and more.
I have a lan of about 10-15 clients (depends on counting tablets and so on..). To access them from one station I use tightvnc which works like a charm - up to now. Sometimes I cannot access and I don't know why. When I access manually and so on, then it works, out of the blue.Are there some commonly known "features" I don't know?
df19127ead