Automatic master user login during boot

Have you tried to connect to the webinterface of Kodi to correct that?
Also now when you are in ssh there is a “remote” available on the command line. See here