After following the advice in this question, the second monitor is detected, and the mirroring option works (although not that smoothly). However, I'm not able to activate the second monitor in the display settings.
I got an error that says
Failed to apply configuration: %s. I have no idea how to debug this. Any points or work around to fix this?