Skip to Content


In the end you must access your LattePanda board from your own laptop using VNC server via Wi-Fi network.

Step 4.3.1 Install xfce

sudo apt update
sudo apt install xfce4 xfce4-goodies

Step 4.3.2 Install vncserver

sudo apt install tigervnc-standalone-server
sudo apt install tigervnc-common
sudo apt install tigervnc-tools

Step 4.3.3 Configure password, I recommend using again mikrik2024

vncpasswd

Step 4.3.4 Open file xstartup

vi ~/.vnc/xstartup

Copy commands below straight to the file. If necessary fully delete old file content.

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec startxfce4

Step 4.3.5 Make it executable

chmod u+x ~/.vnc/xstartup

Step 4.3.6 Now get back to your laptop. Open terminal window to SSH your LattePanda board from the laptop. Windows users can install Putty to access LattePanda via SSH.

ssh amr@192.168.0.53

Then launch vncserver.

vncserver -localhost no -geometry 1920x1080 -depth 16 :42

If everything works correct, output will be like this, remember port number, I have 5942, you will have the same:

amr@robot-kit:~$ vncserver -localhost no -geometry 1920x1080 -depth 16 :42
New Xtigervnc server 'robot-kit:42 (amr)' on port 5942 for display :42.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /home/amr/.vnc/passwd robot-kit:42 to connect to the VNC server.

Troubleshooting:

  • If you receive an error, first make sure that you got disconnected physical display from LattePanda board and try again.
  • If you powered LattePanda via USB Type C and is using the same cable to connect to the display, then power the board not from a display USB C output, but for example from a USB Type C wall-adapter or laptop charger.
  • VNC will not work if any physical display is connected, you might find fix for that on the internet.

Step 4.3.7 Now try to access LattePanda VNC server from the laptop. Take your laptop, I'm using Mac, so here will be Mac setup. For Windows please download TightVNC Viewer app.

Step 4.3.8 Open Finder. In menu choose Go -> Connect to Server.

Step 4.3.9 Change my LattePanda IP Address with yours and add Port Number

vnc://192.168.0.53:5942

Step 4.3.10 Type password you set, mikrik2024.

Now you can access LattePanda remotely, you will see Remote Desktop window opened.

Rating
0 0

There are no comments for now.

to be the first to leave a comment.