Possible Duplicate:
How can I find which desktop enviroment I am using?
I'm a desktop user and boot straight into it. What's the best way to tell which desktop package I'm using (both kind and version), despite what would normally come with Ubuntu, and despite how it's configured or visually customized? I assume this info is stored in a configuration file somewhere for viewing, or queryable in some programmatic manner.
sudo grep "Starting session" /var/log/lightdm/lightdm.log