# Ubuntu – Can I run two external 4k monitors on 18.04

18.044k-monitordisplayportmultiple-monitorsthunderbolt

I was just provided with a new Dell XPS13 7390 laptop for work running 18.04.3 LTS. I need to get a dock for my peripherals and, since this thing has Thunderbolt ports, I'm considering getting a Thunderbolt dock that can (allegedly) run two external monitors at 4k, but don't want to spend the extra money if it won't work. I really have two basic questions:

Can I run two external monitors at 4k over Thunderbolt with Ubuntu 18.04.3?

Bonus: Can I run two external monitors at 4k and use the laptop display as well?

Update
We purchased the Dell WD19TB dock and, after some good times, got it working correctly with the Ubuntu 18.04 laptop. Today, I attempted to hook up two external monitors and cannot get it working. I've tried the following combinations:

Scenario 1
Monitor 1: DisplayPort via dock
Monitor 2: HDMI via dock
Result: Only the DisplayPort monitor works, neither the HDMI nor the native display work. When I unplug the HDMI monitor from the dock, the native display does not return to function.

Scenario 2
Monitor 1: DisplayPort via dock
Monitor 2: DisplayPort via dock (the dock has two standard DPs and one mini DP)
Result: Only Monitor 2 works. This one is really curious, as xrandr shows all three connections, if I'm reading it correctly. However, --listmonitors only shows 2 monitors. I can provide xrandr results if requested.

Scenario 3
Monitor 1: DisplayPort via dock
Monitor 2: USB-C to HDMI via an adapter from the laptop's built-in USB 3.1 Gen 2 Type-C port
Result: None of the monitors work.

I can't even find a basic tutorial on how to get two external 4k monitors to work on Ubuntu, let alone with any of the configurations I'm dealing with. Does anyone have any guidance?