The paper discusses the principles and capabilities of X-ray focusing capillar and porous optics. Special attention is paid to polycapillar optics, confocal technique of X-ray fluorescence analysis, as well as wide-angle "lobster eye" optics. Keywords: X-rays, focusing, capillar, porous optics, "lobster eye" optics.