To check if the “server” is running a vnc desktop, run this command on the server in a console window:
vncserver
You should get a return like this:
New 'X' desktop is computername:1
Starting applications specified in /home/john/.vnc/xstartup
Log file is /home/john/.vnc/computername:1.log
If you don’t, then vncserver is not working.
Hmmm…I did try that, however I had been in SU mode, so the original setting went in the to Root Home directory, and thus needed to restart the process. However I did not think to check like that, I though every time one did that another parallel instance of the server would be created (i.e. the another extra port created).
Now look at this fragment in the return “computername:1”. Here, “computername” is the hostname of the server and the integer “:1” is the port number of the new running server. If you get an integer larger that 1, like 2, then the vncserver was running already before you ran the command “vncserver” and the answer to your question (was the vncserver running) is “yes” it is running. If you get an integer equal to 1, then the vncserver was not running already when you ran the command “vncserver” and the answer to your question (was the vncserver running) is “no” it was not running.
Exactly…when I did
vncserver
it just created new one…hmmm
To shutdown the extra server that you started to see what was happening, run this command:
vncserver -kill :x
Ok will try that soon. Thanks.
I don’t fully understand what your next question is, so let me ask you one: Are you always going to access the server just on the local LAN (i.e. not across the internet) and thus are you seeking to address it like this in your viewer:
vncviewer computername:1
Only for the moment, however YES in future I want my server to be accessible over the internet (via VNC or SSH, HTTP (for the webUI), and (s)FTP). I talked to a friend of mine regarding that and he said that the ISP is a bit strange and that DDNS might not work. He didn’t say why though…hmm
Well Thanks a lot swerdna, also nic website some really good stuff there, I also used your RDP/XRDP article as well, however I have not tried it yet…thanks again