The first encounter users have with CDE on the vPars system is the login screen. Let's customize the login screen so it shows the hostname, which is probably already configured on your CDE login screen, as well as the vPar name as part of the greeting. If your hostname and vPar name are the same then you don't need to supply the vPar name on the login screen. This is an interesting customization to CDE so I'll provide the login screen changes as an example customization. The default information for the login screen is contained in /usr/dt/ config/C/Xresources. We'll copy this file to /etc/dt/config/C/Xresrouces and then add the vPar name to the file. The portion of the file that includes the GREETING is shown below: !!############################################################### !! !! GREETING !! !! Dtlogin*greeting.foreground: black !! Dtlogin*greeting.background: #a8a8a8 !! Dtlogin*greeting.labelString: Welcome to %LocalHost% !! Dtlogin*greeting.persLabelString: Welcome %s !! Dtlogin*greeting.alignment: ALIGNMENT_CENTER !!############################################################### !! The !! in this file indicates a comment (unlike the # that we are accustomed to using in shell programs.) We could uncomment the line that shows %LocalHost% and add to it the Virtual Partition name as shown below: From: !! Dtlogin*greeting.labelString: Welcome to %LocalHost% To: Dtlogin*greeting.labelString: Welcome to %LocalHost% \n\ This is Virtual Partition vPar Name You would substitute the name of your Virtual Partition for vPar Name if indeed the vPar name and hostname are different. Figure 14-1 shows the modified greeting we created: Figure 14-1. Login Screen with Update Greeting This screen shows our updated greeting at the login screen with the hostname of actappd1 as well as the line on which we would place the vPar name. |