For me exporting displays doesn't work at all. I can connect to the N900 with ssh -X but $DISPLAY will stay :0. And setting it to some other value has no effect (I'd have to check again if resetting it works at all).