View Single Post
Old 07-31-2022, 06:07 PM   #1
davidng
Junior Member
 
Join Date: Jul 2022
Posts: 4
Default Problem on new Ubuntu 22.04

I am on Proxmox 7.2, and passthrough the displaylink usb to the new VM.
I download the ubuntu-22.04-desktop-amd64.iso from official ubuntu website, and install on this VM
I did not install anything else, as this build is to test the displaylink.


then I donwload the latest displaylink driver from
https://www.synaptics.com/products/d...wnloads/ubuntu
DisplayLink USB Graphics Software for Ubuntu
Ubuntu 20.04, Ubuntu 22.04
Release: 5.6 | May 20, 2022

I then follow the installation guide
Code:
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install dkms
sudo apt-get install libdrm-dev
sudo chmod +x ./displaylink-driver-5.6.0-59.176.run
sudo ./displaylink-driver-5.6.0-59.176.run
after the above command, WithOut Reboot,
I see the displaylink is working.
I checked, it is showing I am using Wayland, NOT X11
Code:
echo $XDG_SESSION_TYPE
then I reboot,
displaylink no longer works.
I checked again, it is now showing I am using X11
Code:
echo $XDG_SESSION_TYPE

there is no "gear" icon on the user login screen, so I have no way of selecting wayland or x11 on the login screen.
I try to change back to wayland by purge nvidia drive, modifying below config
but reboot, it still show I am using X11, and displaylink is not working.
Code:
sudo apt purge nvidia-*
sudo nano /etc/gdm3/custom.conf
add text
WaylandEnable=true

the only way I can make it work is to uninstall the displaylink driver, and install it again, after the driver installation like above, it work again, but then, after reboot, the display link will not work again.


Please help,
1. How can I force ubuntu to use Wayland, so that displaylink works?
or
2. How can I make displaylink work on X11?



My device is WavLink WL-UG3501H
and the usb info is
Code:
lsusb
Bus 010 Device 002: ID 17e9:4301 DisplayLink USB3 to HDMI

Last edited by davidng; 07-31-2022 at 06:30 PM.
davidng is offline   Reply With Quote