56 |
addconfig "ff02::3 ip6-allhosts" |
addconfig "ff02::3 ip6-allhosts" |
57 |
|
|
58 |
# check for running x11 and recreate the xauth cookie with the correct hostname |
# check for running x11 and recreate the xauth cookie with the correct hostname |
59 |
if [[ ! -z $(pidof X) ]] |
if [[ ! -z $(pidof X) ]] || [[ -n $(pidof Xorg) ]] |
60 |
then |
then |
61 |
socket="${value}/unix${MCORE_XORG_DISPLAY}" |
socket="${value}/unix${MCORE_XORG_DISPLAY}" |
62 |
cookie=$(x11runas "xauth list | sed 's:.*\ \(.*\):\1:'") |
cookie=$(x11runas "xauth list | sed 's:.*\ \(.*\):\1:'") |