Getting a gnome desktop is desirable for its more familiar to most of us compared to the default wayland desktop.

To get the gnome desktop, you will need to unminimize the system first. The current system is a minimal ubuntu 18.04 server and you can unminimize it to add more tools.

Then you can start install the gnome desktop by the following commands:

1
2
apt install gdm3 tasksel
tasksel install ubuntu-desktop

When this is done, you need to run the following command everytime you want to us the gnome desktop.

1
service gdm3 start

Notice that in order to successfully login to the gnome desktop, make use you choose the wayland for ubuntu in the login page, otherwise your username and password might not work.

Notice that even we have this gnome desktop, many gui applications with x11 support might still not work. However, the gnome-terminal and RViz will work properly.

Also, we do not recommand use this desktop because it takes a lot of computation (300-400% cpu!!!). It should only be used for visualization and debugging purpose for a short period of time.

Reference:
[1] https://linuxconfig.org/how-to-install-gnome-on-ubuntu-18-04-bionic-beaver-linux

Comment and share

Qualcomm Robotics RB5 is a powerful edge computing device for robotics applications. Before we can use it to drive cool applications, we need to flash an operating system into it. In this tutorial, we will show you how to set up Ubuntu 18.04 on Qualcomm Robotics RB5, connect it to WiFi to enable SSH and config HDMI display. We enhanced the official setup guide with some additional tips. The setup steps requires a computer with Ubuntu operating system.

Install Ubuntu 18.04 on Qualcomm Robotics RB5

a) Install adb and fastboot by using the following command in Linux Terminal:

1
sudo apt-get install android-tools-adb android-tools-fastboot

b) Download the Qualcomm Robotics SDK Manager from here. You will need to create an account for this.

c) The download should be a Zip file that contains the SDK Manager installation package and a Readme file. Follow the instructions in the Readme file to install the prerequisites.

d) Install the SDK manager on the Linux workstation. Refer to the process given as step 2 in the following link

e) Before running the SDK manager, if you are using a Linux workstation, run the following command in the Terminal:

1
sudo systemctl stop ModemManager

f) Run the SDK manager. Follow step 3 in the following link

g) Follow step 4 from the same link to download resources and generate system image. This could take slightly more than 30 minutes.

h) Choose LU or LE flash. The LU flash has been tried before and flash was a success. This forum answer is a possible explanation for the difference between LU and LE flash.

i) Now, start the process of flashing the generated system images on the Qualcomm Robotics RB5 by following step 5 from the same link

j) Follow steps 1-3 from this link to continue and complete the flashing process successfully.

k) If flashing is successful, adb should be working. To check this, keep your Qualcomm Robotics RB5 connected to your workstation and open your workstation’s terminal and type:

1
adb shell

and you should see a device ID shown as an attached device.

l) If not, please power cycle the development kit. Since the system images are flashed, there is no need to press the F_DL key to force the device to enter the Emergency Download Mode.

Setup WiFi and SSH

Once the OS is flashed, the next step involves setting up WiFi and SSH connections.
To set up WiFi connectivity on Qualcomm Robotics RB5, follow steps 1-4 from this link

To access Qualcomm Robotics RB5 terminal, both adb shell or SSH can be used. To set up SSH connection:

a) Type the following commands in a new terminal:

1
2
adb shell  
sh-4.4#ifconfig

The ‘ifconfig’ command gives you the IP address of your connection.
Then use the following command:

1
sh-4.4#ssh root@ <IP address>

This will ask you for a password, which is ‘oelinux123’

This will successfully complete the SSH connection, through which you can remotely access the Qualcomm Robotics RB5 terminal.

HDMI Display

The next step involves connecting to an HDMI monitor. The following is the procedure:

a) Refer to the ‘Check HDMI’ section in this link

b) Instead of the 5 commands given in the link given in a), you could try just this single command after connecting the HDMI:

1
weston --connector=29

c) If b) doesn’t work, then use the following 5 commands everytime while connecting HDMI:
1
2
3
4
5
c:\>adb shell
sh-4.4# mkdir -p /usr/bin/weston_socket
sh-4.4# export XDG_RUNTIME_DIR=/usr/bin/weston_socket
sh-4.4# export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/
sh-4.4# weston --tty=1 --connector=29 --idle-time=0

Comment and share

  • page 1 of 1
Author's picture

RB5 ROBOTICS TUTORIALS

A set of Robotics Tutorials developed for the RB5 Robotics Development Platform from Qualcomm. Authors are from the Contextual Robotics Institute at UC San Diego.

Contributors

Henrik I. Christensen, David Paz, Henry Zhang, Anirudh Ramesh.