FYI, I worked out a fix for this problem in Xubuntu.<br>This works for me with both a shutdown and restart using the GUI.<br><br># Rename the executable that is called when shutting down or rebooting.<br>cd /usr/sbin<br>sudo mv xfsm-shutdown-helper xfsm-shutdown-helper-orig<br>
<br># Replace the executable with a script.<br>gksu mousepad xfsm-shutdown-helper<br>Create these lines in the new file ..<br>  !#/bin/sh<br>  
# XFCE shutting down - close network connections.<br>  
/etc/init.d/umountnfs.sh<br>  

# THEN call the original executable.<br>  
/usr/sbin/xfsm-shutdown-helper-orig<br><br># Make the new script executable.<br>sudo chmod +x xfsm-shutdown-helper<br><br># Check the permissions.<br>/usr/sbin# ls -al xf*<br>
-rwxr-xr-x 1 root root  152 2010-01-21 21:03 xfsm-shutdown-helper<br>-rwxr-xr-x 1 root root 5588 2009-09-19 20:30 xfsm-shutdown-helper-orig<br><br>