#!/bin/bash

if [[ -z "$XAUTHORITY" ]]; then
	export XAUTHORITY="$HOME/.Xauthority";
fi;

exec /usr/bin/sudo -H -u root -- /bin/bash -c "export DISPLAY=$DISPLAY; export XAUTHORITY=$XAUTHORITY; exec /bin/bash --login";
