SDL init failure, reason is: No available video device in ubuntu 12.04 LTS

I recently upgraded my ubuntu 10.04 LTS to ubuntu 12.04 LTS. AVD stopped working afterwards in my eclipse. ERROR message: [2012-10-03 16:16:11 - xyzapp] Android Launch! [2012-10-03 16:16:11 -...