Changes

Jump to: navigation, search

Orange Pi CM4

386 bytes added, 10:54, 19 September 2023
Use VNC to log in remotely
=== Use VNC to log in remotely ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Before operation, please make sure that the Windows computer and the development board are in the same LAN, and you can log in to the Ubuntu or Debian system of the development board through ssh.'''
'''<span style="color:#FF0000">Ubuntu20.04 has many problems testing VNC, please do not use this method.</span>'''</big>|}
# First run the '''set_vnc.sh''' script to set up vnc, '''<span style="color:#FF0000">remember to add sudo permission</span>'''
::{| class="wikitable" style="width:800px;"
|-
|
orangepi@orangepi:~$ '''sudo set_vnc.sh'''
You will require a password to access your desktops.
Password: '''# Set the vnc password here, 8 characters'''
Password: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '''<span style="color:#FF0000"># Set the vnc password here, 8 characters</span>''' Verify: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '''<span style="color:#FF0000"># Set the vnc password here, 8 characters</span>'''
Would you like to enter a view-only password (y/n)? '''n'''
xauth: file /root/.Xauthority does not exist
 
New 'X' desktop is orangepicm4:1
 
Creating default startup script /root/.vnc/xstartup
Log file is /root/.vnc/orangepicm4:1.log
 
Killing Xtightvnc process ID 3047
 
New 'X' desktop is orangepicm4:1
 
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/orangepicm4:1.log
|}
<ol start="2" style="list-style-type: decimal;">
<li><p>The steps to use MobaXterm software to connect to the Linux system desktop of the development board are as follows:</p>
<ol style="list-style-type: lower-alpha;">
<li>First click on Session, then select VNC, then fill in the IP address and port of the development board, and finally click OK to confirm</li></ol></li></ol>
<div class="figure">
[[File:cm4-img334.png]]
</div></ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then enter the VNC password set earlier</li></ol>
[[File:cm4-img335.png]]
</ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li><p>After successful login, the interface is displayed as shown in the figure below, and then you can remotely operate the desktop of the Linux system on the development board</p>
<p>[[File:cm4-img336.png]]</p></li></ol>
</li></ol>
<span id="some-programming-language-tests-supported-by-linux-system"></span>
<span id="some-programming-language-tests-supported-by-linux-system"></span>
== Some programming language tests supported by Linux system ==

Navigation menu