I just bought refurbished XPS 13 with Windows because I wanted to save some money. Ubuntu wont work out of the box. There are whole bunch of issues that I'm still trying to resolve. So even if hardware is compatible, you may have hard time. I think it will take some time, because everything gets smooth. (afaik, hardware wise just wifi card is different)