To test that the Linux framebuffer is set up correctly, and that the device permissions are correct, use the program found in examples/qws/framebuffer which opens the frame buffer and draws three squares of different colors.