To export the display from a remote server over ssh:
ssh -X user@host
Just made sure that, X11 forwarding is enabled on the sshd_config .
Once the connection is made, you can make sure the display is exported using:
# echo $DISPLAY
if the value is empty, make sure you have the necessary package (mkxauth) installed to create .XAuthority file.