DDMS: insufficient permissions for device

I tried to get a screen shot from Motorolla RAZR and HTC Desire on Linux Mint 12.
In previous version of this OS, this operation past without any problems. But this time I got and error “DDMS: insufficient permissions for device”

solution was found in the article [SOLVED] Taking screenshots of android

1. get Vendor and Product id of your device

In this out put last device is my HTC Desire.
ID 0bb4:0c87 means [Vendor]:[Product]

2. open for editing file /etc/udev/rules.d/51-android.rules

3. add following string

In my case second line was for Motorolla RAZR.

4. reload udev rules

5. Re-plug your device

6. start ddms

That’s it.