Skip to content
Browse files

Make sure to specify the auth file for the xauth command in PCDMd

  • Loading branch information...
1 parent b6cbe03 commit ef691e9626005dcf55095a295d442a3757db2b2a @beanpole135 beanpole135 committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 src-qt4/PCDM/PCDMd
View
3 src-qt4/PCDM/PCDMd
@@ -44,7 +44,8 @@ while [ ! -e /var/run/nologin ]; do
fi
setenv XAUTHORITY ${PCDMAUTHFILE} #Set the auth file location
touch ${PCDMAUTHFILE} #Create the (empty) authorization file
- xauth add :0 MIT-MAGIC-COOKIE-1 `openssl rand -hex 64` #Add a default entry to the file (randomized)
+ xauth -f ${PCDMAUTHFILE} add :0 MIT-MAGIC-COOKIE-1 `openssl rand -hex 64` #Add a
+default entry to the file (randomized)
if [ -n "$vnccmd" ] ; then
# Start VNC
(sleep 10 ; $vnccmd >/var/log/vncserver 2>/var/log/vncserver) &

0 comments on commit ef691e9

Please sign in to comment.
Something went wrong with that request. Please try again.