This stupid adage by Marx has to die. It never works.
For one, some people have extraordinary abilities, and will be pissed off if, in exchange for their extraordinary contributions, they only got the income "according to their needs", as defined by government. This basically takes away all the motivation to excel at something.
Also, the masses would be discontent because their perceived "needs" are much bigger that their actual ability to produce anything. This is partially remedied by capitalism, where the "greedy capitalist" basically forces them to work harder than they would out of their own free will.