IMO, you should also add a fallback to ConsoleKit Restart method, so no XFCE and no GNOME session should work also.
IMO, you should also add a fallback to ConsoleKit Restart method, so no XFCE and no GNOME session should work also.