The workaround to the X bug is to export the folowing variable in your BFS enviroment:

DISPLAY=IP:DISPLAY where display is 0.0 and IP is the IP of the machine you're working on. So in Bash,

export DISPLAY=128.138.foo.bar:0.0

...would do what you want. Most of the machines have their IP taped to the side of the box or monitor.