capabilitiesX11 function

Check whether current R session supports X11 or not