I'm using kdm as Display Manager with FreeBSD. If I select a GNOME session as root and then try to restart/shutdown from GNOME the system hangs (until I press Ctrl-Alt-Del, when reboot sequence continues normally). How can I avoid this?