I found a simple solution to enable sharing of desktop console. Desktop sharing has multiple advantages over VNC server.
- Allow or Disallow users to view desktop.
- Allow or Disallow users to control desktop.
- Enable or Disable Password security
- Confirm each access to the machine
- Enable or Disable notification
Go to desktop sharing
In Gnome Session (Programs –> System Tools –> Preference –> Desktop Sharing)
or
In Ubuntu Session (Dash Home –> Search For –> Desktop Sharing )
Here you can do all the settings that you want to secure your machine over network.
Access the machine using VNC viewer, desktop sharing uses vnc server protocol as a communication medium. Either you can use ipaddress or ipaddress:5900
That’s all!.