new x11 func and the most simple x11 error callback ever