A set of two-fluid equations governing the nonlinear dynamics of flute-drif
t waves in an inhomogeneous collisionless magnetized relativistic electron-
positron plasma in a gravitational field is derived. It is shown that a rig
orous description of these waves in a plasma with inhomogeneous density and
temperature has to take into account both the magnetic viscosity and the m
agnetic field compression (the finite beta effect). It is shown that contra
ry to the case of a cold (nonrelativistic) plasma a flute instability can a
lso exist in a plasma with a homogeneous density and inhomogeneous temperat
ure. Our new equations have solitary solutions in the form of exponentially
localized dipolar vortices.