switching to new, that doesn't seem to be a bug, something is changing the xauthority location usually that is the case when the user directory is not writable
switching to new, that doesn't seem to be a bug, something is changing the xauthority location usually that is the case when the user directory is not writable