The udisks utility (heir to DeviceKit) is a standard part of most modern distributions, with no DE-specific dependencies. It allows regular users to mount and unmount removable media with the syntax
udisks --mount /dev/foo
udisks --unmount /dev/foo
It's just like pmount, except it doesn't depend on HAL.