How does your webcam work on Linux messenger?
There is no "Linux messenger." There are several clients available for Linux, however. The most popular one, Pidgin, does not support webcams. aMSN (for Windows Live Messenger) and Kopete (for all protocols) does. Virtually all webcams are supported out of the box in the Linux kernel, so no extra work is needed, other than to use a capable client.