ITEM: AB9327L

xlock/users unable to use



Question:

   Env: 3.2.5, xlock, xstations, AIXwindows 1.2.3

   Desc: Received xlock and not able to use this either on the console or
         any of the xstations. Error message from console:
         xlock must have root authority to lock display
         From the xstations get error message:

        Cannot lock xlock DISPLAY

   Action: 

        Ran Began which xlock - result /bin/xlock
        There is also reference in /usr/bin/xlock. 
        Do an ls -al on both files. Both had same size, permissions and link to 
        /usr/lpp/X11/bin/xlock

        Tried to run either with full path name and received same errors.
        Had you remove the file for the one in bin. Now when doing which
        xlock you get back /usr/lpp/X11/bin/xlock. Compare to my system.

        On our system the below exists:
        
        $ ls -l /usr/bin/xlock
        lrwxrwxrwx   1 root  system   22 Jul 23 04:00 /usr/bin/xlock -> 
                                                /usr/lpp/X11/bin/xlock
        $ ls -l /usr/lpp/X11/bin/xlock
        -rwsr-xr-x   1 root  system  137347 Sep 17 1993  /usr/lpp/X11/bin/xlock

        The permissions on the xlock file should be 755 and set the sticky bit
        for user 'chmod u+s xlock'
        1) run chmod 755 xlock
        2) run chmod u+s xlock

        This will allow the xlock to work on the console.

        The syntax for the new Xllr5 MIT verson of xlock has changed for 
        xstations. 
        
        To lock up an Xstation using the new 'xlock' client, you
        will need to add the '-remote' option on the xlock command line as
        below.

        xlock -remote

        If you don't want to bother with this added flag every time you start
        'xlock' then you can modify the '/usr/lib/X11/app-defaults/XLock'
        file.  The line to change appears below.

        XLock.remote:     false

        Simply change this value to true and your 'xlock' will now lock your
        Xstation without the added flag.

        Further information on the new 'xlock' client can be found in the
        'List of Commands' entry for 'xlock' in InfoExplorer.


Support Line: xlock/users unable to use ITEM: AB9327L
Dated: October 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:31
Comments or suggestions? Contact us