I'm not sure how it's done in Scandinavia. I think the government can simply fund public universities with a lump sump (per student), and disallow any tuition charges. Universities could then raise additional private money to use as they see fit.
In Finland the operating costs are nationally averaged to make up unit rate (google: yksikköhinta). Majority of state funding can be then traced back to Unit rate x number of students.