Set XAUTHORITY env var in the greeter. Fixes the connection problem.