After installing ogon last week I did the following on the Ubuntu 18.04 kvm host:
sudo systemctl enable ogon-session-manager
sudo systemctl enable ogon-rdp-server
#
sudo systemctl start ogon-session-manager
sudo systemctl start ogon-rdp-server
I was then able to connect via xfreerdp v2 to the Ubuntu system
I then rebooted and again it worked.
However, I've encountered a possible problem with the systend scripts
because after shutting down the Ubuntu VM it was a few days later that I started it up again.
I found that I could not connect with xfreerdp v2 any longer so I logged into the Ubuntu VM
and found ogon-rdp-server and ogon-session-manager not running.
So I re-executed:
sudo systemctl enable ogon-session-manager
sudo systemctl enable ogon-rdp-server
#
sudo systemctl start ogon-session-manager sudo systemctl start ogon-rdp-server
and the connectivity using xfreerdp v2 worked again..?
This has happened a couple times and I am not sure why the systemd startup works after a reboot but sometimes doesn't work after the vm shutdown/restart.
Brian