Prerequisites
Before starting, ensure you have the following:
- A PC with internet access.
- A USB flash drive (minimum 8 GB recommended).
- Ubuntu 22.04 LTS ISO file (download from the Ubuntu official site).
- Rufus tool (download from https://rufus.ie).
- Backup of any important files from the target system (installation may erase data).
Create a Bootable USB with Rufus
- Download Ubuntu 22.04 ISO from ubuntu.com.
- Download Rufus from rufus.ie and open it.
- Plug in your USB drive (8GB or larger).
-
In Rufus:
- Device: Select your USB drive
- Boot selection: Choose the Ubuntu ISO you downloaded
-
Partition scheme:
- GPT for modern UEFI PCs
- MBR for older BIOS PCs
- Leave other options as the default
- Click Start → choose ISO Image mode if asked → wait until it finishes.
Setting Up Ubuntu OS
Please refer to the following instructions and screenshots on how to install Ubuntu 22.04 LTS.
Boot from USB Drive
- Insert the USB into the target PC.
-
Restart the PC and enter BIOS/UEFI:
- Usually by pressing F2, F10, F12, ESC, or DEL at startup (depends on manufacturer).
-
Change Boot Order
- Set USB drive as the first boot device.
- Save and Exit (usually F10).
The system should now boot from the USB into the Ubuntu installer.
Installing Ubuntu 22.04 LTS
- Choose "Install Ubuntu" (you can try it first with "Try Ubuntu" if unsure).
- Select the appropriate keyboard layout and language and press “Continue”.
- Select “Normal Installation” and press “Continue”.
Uncheck: “Install third-party software…”
- Choose the installation type. For simplicity, this guide was done using “Erase disk and install Ubuntu”
- Select “Continue” to confirm that changes will be made to the disk.
- Choose the appropriate geographical location and select “Continue”.
-
Fill out the appropriate information and select “Continue”. Use the following details;
- Your Name: meldCXViana
- Password: [Please reach out to the Viana team viana@meldcx.com to request password, or set up your own and let us know the password.]
- Select: Log in automatically
- The Ubuntu installation progress bar will be shown.
- Once the installation completes, select “Restart now”.
- Remove the installation media and press Enter.
- The edge device will reboot and automatically log in.
Apply Software Updates
To make sure your system always pulls the latest updates directly from Ubuntu’s main source, follow these steps:
- Open the Activities Menu (top-left corner or “Show Applications”).
- Search for Software & Updates and open it.
- Go to the Ubuntu Software tab.
- Under Download from, choose Main server.
- Click Close, then Reload when prompted.
When you click Reload, Ubuntu will refresh its package list using the Main server. A short progress bar will appear while it downloads the updated package information, and once it finishes, your system will automatically use the Main server for all future updates and software installations.
Setting Up Remote Access Tool
Installing Rustdesk
This lets you use RustDesk to connect to or control another computer.
- Open a web browser and go to: https://rustdesk.com.
- Download the Linux (deb) package for Ubuntu.
- Once downloaded, open Files → Downloads, right-click the .deb file → Open With Software Install.
- Click Install and enter your password when prompted.
- After installation, open RustDesk from the Activities menu.
- You will see your RustDesk ID and Password (auto-generated).
Configure Rustdesk Unattended Access
- Open the Rustdesk application
- Click on the Meatball icon beside the Rustdesk ID and click on ID/Relay Server
-
Fill in the Viana Rustdesk Credential in the dialog window and click on OK.
- Please reach out to the Viana team (viana@meldcx.com) to request Rustdesk Credential.
- Back to the Rustdesk Main Window, click on the Pen icon under Password, and click “Set your own password”
-
Use the details below for the password and click the OK button.
- Password: [Preferred Password]
- RustDesk is now successfully configured.
- Share the Rustdesk ID and Password configured, including the OS root password to your meldCX representative
[Optional] Setting Up Rustdesk Headless Mode
RustDesk headless mode lets you install and run RustDesk on a machine without a physical display or monitor. It runs as a background service and gives you remote access via the RustDesk client
- Install gnome-session and dummy driver
sudo apt install gnome-session xserver-xorg-video-dummy- Force login screen to Xorg
nano /etc/gdm3/custom.conf# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false- Add dummy monitor
nano /usr/share/X11/xorg.conf.d/xorg.conf- Copy and paste the following lines and press Ctrl + X to apply the changes
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
VideoRam 256000
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 5.0 - 1000.0
VertRefresh 5.0 - 200.0
ModeLine "1920x1080" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +Hsync +Vsync
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1280x800" "1024x768" "1920x1080" "1440x900"
EndSubSection
EndSection- Reboot the edge device and disconnect the display/monitor
- In another PC with Rustdesk installed, test the remote access by connecting using the ID and Password set.
Comments
0 comments
Please sign in to leave a comment.