added check for gdbar and xininfo