I am trying to use snap/snap2album to get a screenshot of my locked screen & run into the following error anytime I execute the commands from /var/root/bin through my Putty:

2007-11-05 23:56:19.927 snap[308:d03] Couldn't register with bootstrap server unknown error code (0x44f); failing...
308: ABORT: Unable to register "UnknownPurpleApp" port, 1103 unknown error code
zsh: abort ./snap 2

Other utilities such as "cal" work just fine. I can also take screenshot with Dock once I get pass the locked screen. What am I missing?