How to prevent MEGAN window open when using command line mode

When i tried to run xvfb-run --auto-servernum --server-num=1 MEGAN +g in Ubuntu 14.04,
it came with error message:
/usr/bin/xvfb-run: 184: /usr/bin/xvfb-run: MEGAN: not found
how to fix this?

Hi,
try giving it a full path to MEGAN,

regards,
Ania

Thank you! yes, it should be full path