I'm not an Ubuntu user, but two things since nobody else has commented.
First, where did you get your Lazarus and FPC: downloads from the Lazarus/FPC repositories or via the distro?
Second, somebody else had Ubuntu problems a few days ago which were fixed by reverting to X11. "Advanced Search" is your friend.
MarkMLl