If curious, but wheezy is the only works for me. I tried stretch, ubuntu and, of course, repository versions. 5.0 version has module compilation problems, and 5.1 doesn't start because rhe 'xcb' error. I tried all the solutions that I saw in Google too