Solaris X Window System Developer's Guide

Allowing Access When Using SUN-DES-1

If you are using the SUN-DES-1 authorization protocol, follow these steps to allow another user access to your server.

  1. On the machine running the server, use xhost to make the new user known to the server.

    For example, to allow new user somebody to run on myhost, type:

    myhost%xhost +somebody@
    
  2. The new user must use xauth to add the entry into their .Xauthority file.

    For this example, the new user somebody's machine-independent netname is unix.15339@EBB.Eng.Sun.COM.

    userhost%echo 'addmyhost:0SUN-DES-1
    
    "unix.15339@EBB.Eng.Sun.COM"'
    
    | $OPENWINHOME/bin/xauth