get pid from xnest manager