I'm using the dell xps 13 developer edition and attempting to connect it to an LG monitor. Usually there is no response from the monitor or it blinks once connected then remains on a black screen. My laptop detects it and I've even had a solid picture once but then it started flickering and producing coloured lines across the screen. I've read every other forum related to this and none seem to help. Specifically, I've tried an older kernel 4.4.72, I've tried selecting do not use on the intel HDA driver in DKMS format etc. Here are my specs:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"

Linux user-XPS-13-9360 4.18.6-041806-generic #201809050847 SMP Wed Sep 5 08:49:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5926] (rev 06)
DeviceName: Onboard IGD
Subsystem: Dell Device [1028:075b]

DESKTOP_MODE=1
DESKTOP_SESSION=ubuntu

Any help to fix this would be very appreciated!
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
XDG_SESSION_DESKTOP=ubuntu
XDG_CURRENT_DESKTOP=Unity