CDE Quick Reference Guide


Starting CDE
Minimum filesets
Important files
Keep CDE from coming up on the console
Make CDE read your .profile
Important permissions
Setting the display
Connection refused

Starting CDE


Minimum filesets

Check for the minimum filesets needed on your system, enter lslpp -l X11.Dt*

	X11.Dt.ToolTalk --  AIX CDE ToolTalk Support
	X11.Dt.bitmaps  --  AIX CDE Bitmaps
	X11.Dt.compat   --  AIX CDE Compatibility
	X11.Dt.helpinfo --  AIX CDE Help Files and Volumes
	X11.Dt.helpmin  --  AIX CDE Minimum Help Files
	X11.Dt.helprun  --  AIX CDE Runtime Help
	X11.Dt.lib	--  AIX CDE Runtime Libraries
	X11.Dt.rte	--  AIX Common Desktop Environment

Important files


/var/dt/Xerrors
$HOME/.dt/errorlog
$HOME/.dt/startlog
/usr/dt/bin/dtlogin -- The login server and display manager
/usr/dt/bin/dtgreet -- Displays a login screen for a display
/usr/dt/bin/dtchooser -- Displays a chooser screen for a display
/usr/dt/bin/Xsession -- Starts a desktop session
/usr/dt/config/Xfailsafe -- Starts a failsafe session
/usr/dt/config/Xconfig -- Login server configuration file
/usr/dt/config/Xservers -- Login server display description file
/usr/dt/config/Xaccess -- Login server access description file
/usr/dt/config/language/Xresources -- Display layout resources
/usr/dt/config/Xsetup -- Display setup file
/usr/dt/config/Xstartup -- Pre-session startup file
/usr/dt/config/Xreset -- Post-session reset file
/var/dt/Xpid-- Process ID of the login server
/var/dt/Xerrors -- Error log file of the login server

Keep CDE from coming up on the console

  1. Enter:
    	cp /usr/dt/config/Xservers /etc/dt/config/xservers
    
  2. Enter:
    	chmod 755 /etc/dt/config/xservers
    

  3. Using your preferred editor, open /etc/dt/config/xservers and comment out the following line:

    :0 Local local@console /usr/lpp/X11/defaults/xserverrc -T -force :0

  4. After saving your changes, enter:
    	/usr/dt/bin/dtconfig -reset
    

Make CDE read your .profile

  1. Uncomment DTSOURCEPROFILE = TRUE in .dtprofile, or /usr/dt/config/sys.dtprofile for global.

  2. To ensure that all dtterm/aixterms source the .profile, use your preferred editor to open /etc/dt/config/$LANG/sys.resources and add the following line:
    	*loginShell:  true
    

  3. Logout

  4. Login

  5. Invoke dtterm from front panel.

  6. To have your kshrc sourced, insert the following line in .profile
    	export ENV=$HOME/.kshrc
    

Important permissions

Permissions on /dev/null (666)
Permissions on /dev/lft0 (666)
Permissions on /dev/tty (666)
Permissions on /dev/console (622)
Permissions of /usr/dt/bin files
Permissions on /var/tmp (666)
Permissions on /var/dt/tmp (666)
Permissions on /etc/hosts (664)


Setting Display

	export DISPLAY=[machine.name]:0
or
	export DISPLAY=[ip.address.of.machine]:0

Connection Refused

  1. Enter:
    	xhost +
    
  2. Enter:
    	xhost + <hostname to allow>
    
  3. To make this permanent, add a line to the /etc/X0.hosts file.
  4. Add the <hostname> you want to allow to this file.



[ Doc Ref: 97691256423900     Publish Date: Dec. 18, 2000     4FAX Ref: none ]