FYI, I worked out a fix for this problem in Xubuntu.
This works for me with both a shutdown and restart using the GUI.

# Rename the executable that is called when shutting down or rebooting.
cd /usr/sbin
sudo mv xfsm-shutdown-helper xfsm-shutdown-helper-orig

# Replace the executable with a script.
gksu mousepad xfsm-shutdown-helper
Create these lines in the new file ..
  !#/bin/sh
   # XFCE shutting down - close network connections.
   /etc/init.d/umountnfs.sh
   # THEN call the original executable.
   /usr/sbin/xfsm-shutdown-helper-orig

# Make the new script executable.
sudo chmod +x xfsm-shutdown-helper

# Check the permissions.
/usr/sbin# ls -al xf*
-rwxr-xr-x 1 root root  152 2010-01-21 21:03 xfsm-shutdown-helper
-rwxr-xr-x 1 root root 5588 2009-09-19 20:30 xfsm-shutdown-helper-orig
-- 
xubuntu-devel mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel

Reply via email to