Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Fix up the PCDMd script. The XAUTHORITY environment variable needs to…
Browse files Browse the repository at this point in the history
… 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
Ken Moore committed Nov 5, 2013
1 parent 107dc59 commit 2f53304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-qt4/PCDM/PCDMd
Expand Up @@ -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
Expand Down

0 comments on commit 2f53304

Please sign in to comment.