asked on
not able to connect via vnc
VNC does not come installed by default ?
Can you ping and telnet to port 5900 from the host ?
e.g.
ping 192.168.8.115
telnet 192.168.8.115 5900
or do you not understand the responses ?
ASKER
ASKER
Did you make sure there is no firewall involved?
Filezilla does use port 22 (SSH, SCP) or port 21 (FTP)...
VNC uses ports 5900, (display 0), 5901 (display 1) .... 5900+n for display n.
so You need to allow for this.
A VNC server needs to be running, like you need an FTP server or SSH + SCP server for Filezilla.
From windows you can use PUTTY to access your system using the same port
(22, SSH) as FileZilla aparently does. Then you will get a commandline like prompt.
The command "service vncserver start" should be run on Linux. It is not a windows service.
The VNC Server tool needs to run on Linux.... (it also obviously needs to be installed there...).
You have access using Filezilla on port 22... that means you have SSH access to the system
Try to logon using Putty (on windows), using the username & password from filezilla.
If the system has been setup so you can manage it then you should be able to run sudo -s on that system to become "root" aka sysadmin user.
And try to do what you need to do. ( VNC server is not actualy needed ).
If the Linux systems runs as a VM on some "othersystem" then maybe vncviewer "othersystem" ...
with the right portnumber get you on the VM console. (depends on VM system)...
Try
systemctl start vnc
@scott: the screen shot shows a windows cmd box....
hi am not able to connect to my linux via vnc from window
ASKER
That is if you need a GUI.... (as a gui, not to open a terminal window to issue commands).
If you don't need a gui like a linux server doesn't need one, you can use putty / ssh etc. to connect to it.
ASKER
Was a GUI installed on your linux system? if not you may need to install one as well. Several choices are available. (KDE, Gnome, lxde, ...) KDE is more or less morphed after Windows (user centric), Gnome modelled after Apple and uses a minimalist approach.. (system manager has a little more work), lxde is about having a minimal footprint in memory (efficiency).
ASKER
ASKER
Is there any VNC server running on that system?
Does the vnc server allow connections from your system
Does the firewall allow access to the port.
VNC uses port 5900.