export HOME=/root
export XAUTHORITY=/root/.Xauthority
if [ "x$(runlevel | cut -f 2 -d' ')" = "x5" ] && [ -f $XAUTHORITY ] ; then
    xauth list | egrep '/unix:0' | head -1 | sed -e 's,^.*:,'$new_host_name'/unix:,' | xargs xauth add
fi
