I am able to use the graphics functions in XWindows (X11), by means of a series of calls (XOpenDisplay, XDefaultScreen, XDefaultGC...), then commands such as XDrawLine and setti