Dual Monitors with Ubuntu 16.04 LTS
Ubuntu 16.04 default dual monitor setting sometimes doesn’t work if you have one monitor placed in vertical position. In this case, the easiest way would be configure it manually.
If your second monitor is still black after plugged in the HMDI cable, remember to check the Display setting, the second monitor should be turned “On”.
First you should download the CompizConfig Settings Manager. The installation guide can be found here.