Gui at 3840 x 2160

You need to execute commands via ssh client, for example putty.
After first command it just stops kodi and will be available via ssh and samba
How to connect you can find in pdf document from this post

You can find a file here(where IP is IP of your box): \IP\Userdata\guisettings.xml