DOCUMENT ID: 1108-02 SYNOPSIS: Procedure for setting up xdm under Solaris 2.1 OS RELEASE: 2.1 PRODUCT: Solaris x86 KEYWORDS: configure xdm shadow password NIS NIS+ hostnames DESCRIPTION: Configuring xdm under Solaris 2.1 for x86 SOLUTION: Procedure for setting up xdm under Solaris 2.1 The suggested methods of setting up xdm under Solaris 2.1 do not work without modification. Below are the steps required to configure xdm to run X-terminals off Solaris 2.1 for x86. The issues: The xdm that is shipped with Solaris 2.1 for x86 can not: 1. Use passwords stored in NIS or NIS+ tables. 2. Use hostnames stored in NIS or NIS+ tables. 3. Use shadow password files. Follow these steps: 1. Check that the X-terminal uses a ROM running at least an X11R4 server. 2. The IP address of the X-terminal must be entered into /etc/hosts on the x86 system. 3. The login name of users accessing the x86 machine from X-terminals must be added to /etc/passwd. This should also contain the encrypted password field as the x86 xdm does not understand /etc/shadow. 4. The /etc/nsswitch.conf file needs to be modified so that 'files' is the first entry on the passwd line. 'files' must also appear somewhere on the hosts line. 5. Modify /usr/openwin/lib/xdm/Xservers file so that it contains suitable entries such as the following one: kastest1:0 Sun foreign $OPENWINHOME/lib/xdm/StartOW kastest1:0 6. To automatically start xdm after a reboot the following shell script should be placed in /etc/rc3.d/S92xdm: #!/bin/sh # OPENWINHOME=/usr/openwin export OPENWINHOME /usr/openwin/bin/xview/xdm -c /usr/openwin/lib/xdm/xdm-config 7. To start xdm by hand enter the following: # OPENWINHOME=/usr/openwin # export OPENWINHOME # /usr/openwin/bin/xview/xdm -c /usr/openwin/lib/xdm/xdm-config DATE APPROVED: 10/10/95