1 GB should be plenty for Ubuntu on a Dimension 2400.
Just one more hardware-related thought: Do you have the newest BIOS firmware?
(Downloadable from the Dell Support website.) My habit, when rehabilitating a
new-to-me computer (usually somebody else's discard) is to start with the latest
BIOS available from the manufacturer.