Restart X11 under Ubuntu

By Hal Canary, 2011-11-03 12:00:00 (link)

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

(back)