https://www.offensive-security.com/kali-linux-arm-images/
Use Win32DiskImager to write the image
Plug the Ethernet cable and launch the Pi
Use another computer and go to router DHCP client list and find out kali IP address:

Login to the system with user
root and password toorFix all repository changes and upgrade the whole system
apt-get update && apt-get upgrade -y

apt-get install tightvncserver -y
Launch VNC server and enter password which you want to use on TightVNC viewer
tightvncserver
Open new service configuration
nano /etc/init.d/tightvnc
Paste the content. Change resolution if necessary.
#!/bin/sh
### BEGIN INIT INFO
# Provides: tightvncserver
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start vnc server
# Description:
### END INIT INFO
case "$1" in
start)
su root -c 'vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565:'
echo "VNC Started"
;;
stop)
pkill Xtightvnc
echo "VNC Terminated"
;;
*)
echo "Usage: /etc/init.d/tightvnc {start|stop}"
exit 1
;;
esac
Let the file to be executable
chmod 755 /etc/init.d/tightvnc
Refresh global service configuration
update-rc.d tightvnc defaults
Restart system
reboot
Now use TightVNC viewer to connect the Kali:
I know this is an old page, but i followed the tutorial on Kali Light for Armhf a few weeks ago and it worked fine. Since then, i have tried with a newer image and i am having trouble. I run apt-get install tightvncserver -y, but when i try to run tightvncserver, it says command not found. instead it seems i have to use tigervncserver now. The problem with this is ai am unable to connect from my tightvncserver client app in my windows 7 PC. I keep receiving the no "connection could be made because the target machine actively refused it" error. I have tried every variation of hotname/ip and port- using :1 ::1 :5901 and ::5901. need some help please.
ReplyDelete