Restart X11 under Ubuntu

#!/bin/sh
# Restart X11 under Ubuntu. #
#DTPD#
test `id -u` = "0" || exec sudo "$0"
exec /usr/sbin/service gdm restart