did you change the main.cpp file to adapt it to your screen?
As per the tutorial, you need to change the line
{ U8G2_SH1106_128X64_NONAME_F_HW_I2C_LINUX(U8G2_R0, gI2cBus, 0x3c), -1},
with something like
{ U8G2LinuxI2C(U8G2_R0, gI2cBus, 0x3c, u8g2_Setup_ssd1327_i2c_ws_128x128_1), -1 },
See if this works.