x11: only open driver once