Changeset b6cbe03


Ignore:
Timestamp:
11/04/13 14:19:46 (12 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
36a3b28, ef691e9
Parents:
6449f61
Message:

Get the initial xauth key randomized (64 character hex key) for PCDM. It looks like all the Xsecurity stuff is now done, but we should probably still test the xvnc stuff to make sure that still works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/PCDMd

    r6449f61 rb6cbe03  
    4545  setenv XAUTHORITY ${PCDMAUTHFILE} #Set the auth file location 
    4646  touch ${PCDMAUTHFILE} #Create the (empty) authorization file 
    47   xauth add :0 MIT-MAGIC-COOKIE-1 1234567890 #Add a default entry to the file (will randomize it later) 
     47  xauth add :0 MIT-MAGIC-COOKIE-1 `openssl rand -hex 64` #Add a default entry to the file (randomized) 
    4848  if [ -n "$vnccmd" ] ; then 
    4949    # Start VNC 
    5050    (sleep 10 ; $vnccmd >/var/log/vncserver 2>/var/log/vncserver) & 
    5151  fi 
    52   xinit /usr/local/bin/PCDM-session -once -- :0 +extension SECURITY -auth ${PCDMAUTHFILE} $XOPTS 
     52  xinit /usr/local/bin/PCDM-session -once -- :0 -auth ${PCDMAUTHFILE} $XOPTS 
    5353done 
Note: See TracChangeset for help on using the changeset viewer.