Cannot redirect X on 19.04

I’ve just installed Ubuntu 19.04 in a virtual machine. Trying to redirect all X output to a remote X server by putting the DISPLAY=someLANip:0.0 environment variable in /etc/environment. It works perfectly fine with Mint 19.1 but no luck with Ubuntu 19.04: it is sill rendering the desktop on the localhost. When I echo $ DISPLAY, I get :0 and can’t figure out what is overwriting it. Does anyone have any clues, please?