In order to run any X application in VEE with neither
modification nor porting, the X window commands related to
drawing and displaying must be intercepted and manipulated
by the X server. Table III lists these related commands. The
X server in Fig. 3 is modified to redirect theses command to
client via CM. On client side, the new feature of HTML5,
namely canvas, is used to implement a drawing function
library and the received X commands are parsed to draw or
display the result on web page by utilizing canvas API. The
transmission of X window commands between client and
CM is achieved through websocket described earlier.