sudo apt install -y novnc x11vnc
(10 mins on RPi 0 W, 2 mins on RPi 0 2)
x11vnc -display :2 -autoport -nopw -bg -xkb -ncache -ncache_cr -quiet -forever
(or change the :2 to :1 for CLI via web)
On Raspberry Pi Zero 2, I used ":0".
/usr/share/novnc/utils/launch.sh --listen 8081 --vnc localhost:5900
(where 5900 is the port output by the previous command to start x11vnc)
After that, local (RNDIS) machine can access via this URL:
Raspberry Pi Zero 2 NoVNC Instructions:
- Install everything
- Start X11VNC ("
The VNC desktop is: raspberrypi:0 PORT=5900" indicates success starting x11vnc)
- Start NoVNC
Make sure to follow the chain of logic on this.
First, we start a VNC server. This VNC server listens on
Then we start NoVNC. This talks to the VNC server that's listening on Port 5900.
After starting NoVNC, you should see something like this screenshot:
NoVNC will attempt to connect to the VNC server running on Port 5900.
Open VNC in Browser
Open your phone's browser (or any other device other than your Raspberry Pi).
Then, just paste the URL you see in the Terminal into your browser. The URL should looks something like this:
You should see your Pi's desktop!
Just like this..
You can see the screen area needs a bit of adjusting, but it works great otherwise. Especially for VNC in browser.
Then if you connect P4wnP1 to your WiFi (use Client mode in the P4wnP1 web GUI), your other devices can connect via this URL:
(But P4wnp1 must be connected to the network - in client mode not AP mode)
*** Backup up to menuwithip-boo.img