Can't connect to X Server :0
Your DISPLAY environment variable must be set to
point to a working X server.
Cheers,
Ryo
---------------
P.S. My answer applies not only to Ferret problems but also to all computer-related problems. Search with the error message you've gotten.