fix grub on upgrade and xrdp