DisplayLink driver

In order to use the HP USB-C Universal Docking Station in Ubuntu, you need to download the DisplayLink driver.

Prepare

Before installing the DisplayLink driver, I disconnected the docking station, and I installed dkms.

sudo apt install dkms

Download Driver

Go to the official DisplayLink website and download the appropriate driver for Linux. I downloaded the “Latest Official Driver” called “DisplayLink USB Graphics Software for Ubuntu”, which is a ZIP-file.

Extract and chmod

Extract the ZIP (it contains a file displaylink-driver-XXXX.run and a txt-File with instructions). Open a terminal (Ctrl+Alt+T), make yourself root, change permissions of the file, and execute the run file.

cd Downloads
sudo su
chmod u+x displaylink-driver-XXXX.run
exit
sudo ./displaylink-driver-XXXX.run

UEFI

During the installation process, you will be informed the new drivers have to be “enrolled”, and you have to set a password. Use a long enough password and reboot. You will be directed to the BIOS, where you can “Enrol key”, after you put in the password. Note that the keyboard layout in the BIOS might be different from the keyboard layout in Ubuntu!!!