automatic x11 display detection for -vnc