From my experience I can say that Xubuntu 10.04 still works fine on these old machines, but newer versions really lag too much, not workable anymore. Lubuntu, on the other hand, works very smooth, also the newest version , at this moment 12.10.