Remote Login

There are various methods for remote login, and users can choose based on their actual needs. This article will only cover two remote login methods: SSH and VNC.

Connect To The Device Via SSH

After the device starts normally, you can choose to remotely connect to it via SSH for configuration or debugging. The remote login tool can be selected by the user based on their preference. The following section will use logging in via MobaXterm as an example for illustration.

Preparation:

  • The MobaXterm tool has been installed on the PC.
  • The device has been connected to the network through the router.
  • IP address of the device has been get.

Steps:

  1. Open MobaXterm, clickimage-20240603152404967, and open the window for creating connection, as shown in the figure below.
ssh-01
  1. Click image-20240603152430458in the upper left corner to open the SSH connection interface.
ssh-02
  1. After entering the obtained device IP address, click "OK".
ssh-03
  1. Click "Accept" in the pop-up prompt box to enter the system login interface.
  2. Enter the username and password according to the prompt, and enter the system after logging in.

TIP

Default username is pi, Default password is raspberry.

image-20240603152642446

Connect To The Device Desktop Through VNC

After the device starts normally, you can choose to remotely connect to it via VNC for configuration or debugging. The remote login tool can be selected by the user based on their preference. The following section will use logging in via RealVNC Viewer as an example for illustration.

Preparation:

  • The RealVNC Viewer tool has been installed on PC.
  • The device has been connected to the network through the router.
  • IP address of the device has been get.
  • The VNC function in the device system has been enabled. The detailed operational steps are as follows.
  1. Click the image-20240605103136065 icon in the upper-left corner of the desktop, then select "Preferences" → "Control Center" from the menu.
vnc-1
  1. In the "Control Center" interface, select "Interfaces" and enable VNC.
vnc-2

Steps:

  1. Open RealVNC Viewer, select "File" → "New connection..." from the menu bar to open the connection creation window, as shown in the figure below.
vnc-01
  1. After entering the IP address of device, click "OK".
vnc-02
  1. Enter the username and password in the Authentication prompt box that pops up, then click "OK".

TIP

Default username is pi, Default password is raspberry.

vnc-03
  1. After a successful login, you will be connected to the remote desktop.
vnc-3