PDA

View Full Version : VNC on rapsberry pi with Kali won't connect?



david1234
2022-03-13, 08:02
hello,
this is my first attempt with Kali OS
I have install in on my PI4 - but I can't reach it from VNC
I can get intp it using ssh
I have check and the VNC server is running


┌──(kali㉿kali-raspberry-pi)-[~]
└─$ sudo apt install tightvncserver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
tightvncserver is already the newest version (1:1.3.10-5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I have also install x11vnc
but when I try to run it I get errors




13/03/2022 08:00:20 x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 1221
13/03/2022 08:00:20
13/03/2022 08:00:20 WARNING: DISPLAY starts with localhost: 'localhost:10.0'
13/03/2022 08:00:20 WARNING: Is this an SSH X11 port forwarding? You most
13/03/2022 08:00:20 WARNING: likely don't want x11vnc to use that DISPLAY.
13/03/2022 08:00:20 WARNING: You probably should supply something
13/03/2022 08:00:20 WARNING: like: -display :0 to access the physical
13/03/2022 08:00:20 WARNING: X display on the machine where x11vnc is running.
13/03/2022 08:00:20
MoTTY X11 proxy: Unsupported authorisation protocol
13/03/2022 08:00:20 XOpenDisplay("localhost:10.0") failed.
13/03/2022 08:00:20 Trying again with XAUTHLOCALHOSTNAME=localhost ...
MoTTY X11 proxy: Unsupported authorisation protocol


13/03/2022 08:00:20 ***************************************
13/03/2022 08:00:20 *** XOpenDisplay failed (localhost:10.0)


*** x11vnc was unable to open the X DISPLAY: "localhost:10.0", it cannot continu e.
*** There may be "Xlib:" error messages above with details about the failure.




what is the problem ?
did I miss something ?

my Ip is 10.0.0.183 , get it from dhcp using ethernet

Thanks ,