Oh, just found that nice Gimp tutorial on
a so called "coniserver"

http://www.coniserver.net/wiki/index.php/Seamless_Texture_Tutorial

Worked great when I tested it.