VNC traffic is not particularly well secured, thus the vnc server restricts connection to come from localhost only.
To connect to the VNC server, establish an ssh tunnel to the Kali-Pi and then open a VNC connection to the local port on your computer.
To enable vnc connections from the network add the following line to /etc/vnc.conf:
$localhost = "no";
I would configure this option only temporarily for testing purposes and use ssh tunneling as described below in a live environment.
I recommend to use ConnectBot for the ssh tunnel and AndroidVNC as VNC client.
– Connect to the Kali-Pi
– Click the “Back” arrow and long press the connection for context menu
– Select “Edit port forwards”
– Add new port forward:
+ Nickname: VNC
+ Type: Local
+ Source Port: 5901
+ Destination: 127.0.0.1:5901
– Create new connection:
+ Nickname: Kali-Pi
+ Address: 127.0.0.1
+ Port: 5901
+ Color Format: 256 colors (1bpp)
+ Scaling mode: Zoomable
Input mode: “Touch and Mouse Pan and Zoom” to enlarge the desktop
Input mode: “Mouse Pointer Control Mode” to control the remote mouse
Viewing 3 reply threads
The forum ‘Kali-Pi – Menus and Features’ is closed to new topics and replies.