Permalink
Browse files

Fix up the PCDMd script. The XAUTHORITY environment variable needs to…

… be exported in order for the X server to realize that the authorization file it was given is the exact same one for the local system. (difference b/w the two environments)
  • Loading branch information...
1 parent 107dc59 commit 2f533049746dc41fbe279da1797a710d28f55c39 Ken Moore committed Nov 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/PCDM/PCDMd
View
@@ -42,7 +42,7 @@ while [ ! -e /var/run/nologin ]; do
if [ -f ${PCDMAUTHFILE} ]; then
rm ${PCDMAUTHFILE}
fi
- setenv XAUTHORITY ${PCDMAUTHFILE} #Set the auth file location
+ export XAUTHORITY=${PCDMAUTHFILE} #Set the auth file location
touch ${PCDMAUTHFILE} #Create the (empty) authorization file
xauth -f ${PCDMAUTHFILE} add :0 MIT-MAGIC-COOKIE-1 `openssl rand -hex 64` #Add a default entry to the file (randomized)
xhost si:localuser:root

0 comments on commit 2f53304

Please sign in to comment.