WARNING: There are side effects to the following workaround so use with caution.
Here's another method to clean up a users session after they log out.
Make sure you have the slay program installed and in /etc/gdm/PostSession/Default add before exit 0:
/usr/sbin/slay -clean $USER
if you are certain that nautilus is the only app hanging, instead use:
/usr/bin/killall nautilus -user $USER
WARNING: There are side effects to the following workaround so use with caution.
Here's another method to clean up a users session after they log out.
Make sure you have the slay program installed and in /etc/gdm/ PostSession/ Default add before exit 0:
/usr/sbin/slay -clean $USER
if you are certain that nautilus is the only app hanging, instead use:
/usr/bin/killall nautilus -user $USER