I have

* a laptop with core i3 processor and onboard graphics, 4gb RAM,
* desktop with core2duo processor, onboard graphics, 2gb RAM.

I want to install ubuntu 12.04 on my desktop currently running windows xp on it. Is configuration enough to run Ubuntu 12.04 on desktop?

Though i can install it on my laptop too but i would prefer to do it on desktop.