It is quite common, when setting up a headless Linux VM, for users to copy across all their "dot-files".
If a user has a .chrome-remote-desktop-session script that works locally, that is no guarantee that it will work on the headless system (because of differences in Linux distro or set of installed packages).
start-host could detect if a .chrome-remote-desktop-session is present on the system. If found, it could warn the user about it, explaining that if it was copied across from another machine, it might not work on the new system. It could give options for continuing with the file as-is, or to rename (backup) the file, or to open an editor on the file, before continuing with the host setup.
Comment 1 by jamiewa...@chromium.org
, Jan 30 2018