PDA

View Full Version : Kali 2020.2 + Pi 4 + TightVNC = No Desktop or ?grey screen? on client...



dlo
2020-05-25, 23:42
Hello - Hoping someone my have some insight into the following issue as I am attempting to use VNC as follows:

Hardware: Raspberry Pi 4 4gb
OS: Kali 2020.2 (ARM)
VNC Server: TightVNC
VNC Client: RealVNC for iOS (iPad Pro)

In short, while I am seemingly able to successfully reach my Pi4 from my iPad Pro, all I see on screen is a grey background with an ?x? (mouse pointer) in the middle of the screen. While I have seen this scenario mentioned online in various forums, none of the steps provided has provided resolve for me thus far - most are dated/do not reflect Kali 2020. Most involved adding either ?startxfce4? or ?startxfce4 &? to the ?/root/.vnc/xstartup? file. I have tried both including other variations to no avail thus far. Hoping someone has VNC working on a Kali 2020.2 Pi4 and can share their currently working config with me and others experiencing this issue.

Thanks in advance.

Peace,
-dlo.

dragancla
2020-06-03, 08:53
Try this sequence of commands:


sudo apt update
sudo apt install -y novnc x11vnc xvfb
x11vnc -display :0 -autoport -localhost -nopw -bg -xkb -ncache -ncache_cr -quiet -forever -create
/usr/share/novnc/utils/launch.sh --listen 8081 --vnc localhost:5900


Then navigate to http://kali_pi_ip_here:8081/vnc.html?host=kali_pi_ip_here&port=8081

Have fun

jaaronson
2021-03-17, 21:17
I too have the same problem and this did not help fix mine, I am running a Raspi 4 4gb with kali-linux-2021.1-rpi4-nexmon-64.img. I have tried so many different supposed fixes but no joy, nobody has the same fixes either and it would seem nobody ever comments back saying it ever worked for them.....