Changeset 1691c6a


Ignore:
Timestamp:
10/29/13 12:49:43 (14 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, releng/10.1
Children:
40e8efb, 1234f7c4
Parents:
b3ebed5
Message:

Remove the Xau stuff that I was playing with earlier. This should let PCDM compile again... :-)

Location:
src-qt4/PCDM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/PCDMd

    r1ac96e6 r1691c6a  
    55 
    66PCDMCONF="/usr/local/etc/pcdm.conf" 
     7PCDMAUTHFILE="/tmp/.PCDMAuth" 
    78 
    89XOPTS="" 
     
    4445  fi 
    4546 
    46   xinit /usr/local/bin/PCDM-session --once -- :0 $XOPTS 
     47  xinit /usr/local/bin/PCDM-session --once -- :0 -auth ${PCDMAUTHFILE} $XOPTS 
    4748done 
  • src-qt4/PCDM/src/pcdm-xprocess.cpp

    r9cc1b3c r1691c6a  
    407407  } 
    408408} 
    409 // ------------------------------------------- 
    410 //   XAUTHORITY FUNCTIONS 
    411 // ------------------------------------------- 
    412 void XProcess::generateXAuth(){ 
    413   //determine the filename 
    414   XAUTHFILENAME = XauFileName(); 
    415   //generate the structure 
    416   XAUTH = new Xauth; 
    417     XAUTH-> 
    418   //open the file (as new) 
    419   FILE *XFILE = fopen( XAUTHFILENAME, "w+" ); 
    420   //Write the authorization file 
    421   XauWriteAuth( XFILE, XAUTH ); 
    422   //Now close the file 
    423   fclose(XFILE); 
    424 } 
    425  
    426 void XProcess::revokeXAuth(){ 
    427  
    428 } 
  • src-qt4/PCDM/src/pcdm-xprocess.h

    r9cc1b3c r1691c6a  
    2222 
    2323#include "pcdm-backend.h" 
    24  
    25 #include <X11/Xauth.h> 
    2624 
    2725class XProcess : public QProcess 
     
    5755        void pam_logFailure(int); 
    5856        void pam_shutdown(); //cleanly close all the PAM stuff 
    59         // XAuthoriy functions 
    60         Xauth XAUTH; //saved authority structure 
    61         char *XAUTHFILENAME; //file location for the authority file 
    62         void generateXAuth(); 
    63         void revokeXAuth(); 
    6457         
    6558   
Note: See TracChangeset for help on using the changeset viewer.