Orange Pie 1. Get started, configure wifi and vnc

0. Environment

Orange Pi 4 and power supply,
card reader
32GB TF card

1. Re-program firmware


Orangepi4_2.1.2_ubuntu_bionic_desktop_linux4.4.179.img

 

Format TF card with sd card formatter

 

Install Win32DiskImager, open it, select IMG, confirm the USB disk, and click Write.


2. Plug in TTL


Note that WIN10 cannot use CP2102, CH340 can, and after testing, FT232 can also be used. Log in to root/orangepi or orangepi/orangepi
with a baud rate of 1,500,000

 

Power on.
For specific wiring methods, please refer to: "OrangePi_4_User Manual_v2.4.pdf"

3. wifi


sudo nmcli dev wifi connect "WIFI-SSID" password "WIFI-PASSWORD"
 

4. vnc

4.1 Installation

sudo apt update
sudo apt install xfce4 xfce4-goodies
sudo apt install tightvncserver

Install the language pack, otherwise an error will occur. Fatal server error:could not open default font 'fixed'

sudo apt-get install xfonts-base

4.2 Configure password

vncserver
poiu1234

4.3 Configure startup (skip)

mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
vim ~/.vnc/xstartup
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
sudo chmod +x ~/.vnc/xstartup

4.4 Startup and shutdown


start up

vncserver

closure

vncserver -kill :1
vncserver -kill :2

4.5 Connection 


MobaXterm_Portable_v22.0
Open MobaXtern on the computer and connect to the board in vnc mode
. Note that the first desktop connection of the board uses port 5901.

 

 

Guess you like

Origin blog.csdn.net/qq_27158179/article/details/131351689