Displaying text using openGL and X windows

Hey gang,
I am hoping someone can help me out. How do you display text using openGL on a X windows machine? (Sun). I think bitmaps are the way to go, but I can find no demos/source code that will help guide me on how to goabout doing this. Every demo that deals with text on screen uses widows specific commands . This is bad for us X developers!!
If anyone can help or point me to some good demos, etc. That would be great!!!