# This script is based on instructions from DisplayLinks' website: # https://www.displaylink.com/downloads/ubuntu # https://support.displaylink.com/knowledgebase/articles/684649 # https://support.displaylink.com/knowledgebase/articles/1181617-how-to-use-displaylink-ubuntu-driver-with-uefi-sec # Download the drivers from the displaylink website (URL correct as of 25/09/19 - please check for newer versions if using this script substantially later) wget http://assets.displaylink.com/live/downloads/software/f1369_DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu%205.2.zip?AWSAccessKeyId=AKIAJHGQWPVXWHEDJUEA&Expires=1569341489&Signature=FVXpGAT34rXlgD8bb57EiHo96Lc%3D # Install DKMS package sudo apt-get install dkms # Install DisplayLink driver (if you find this step hangs, please close terminal and run it again) unzip DisplayLink\ USB\ Graphics\ Software\ for\ Ubuntu\ 5.2.zip sudo ./displaylink-driver-5.2.14.run # Cleanup driver files rm displaylink-driver-5.2.14.run DisplayLink\ USB\ Graphics\ Software\ for\ Ubuntu\ 5.2.zip # Create a self-signed "Machine Owner Key" openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive name/" # Self-sign it (requests a password - this can be anything you like) sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der /lib/modules/5.0.0-29-generic/updates/dkms/evdi.ko # Import it with mokutil sudo mokutil --import MOK.der cat < "Continue" -> confirm "Yes" -> enter password -> "OK" to reboot again # Then go to displays and configure the monitor (eg make the monitor the primary display). EOF