Hi John,
After you maintain the /etc/host file entry, take a restart of your desktop
Secondly check the ping response from your desktop <ping hostname>
Share the results of error message which you get after maintaining hostname in SAPGUi .
Regards,
Deepak Kori