I see sudo in some of your cli command so at least part of your issue could be to do with the user/root change in whonix 18