Thursday, 5 July 2012

CDE AIX : start up and setup

To install CDE:
* smitty installp
   --> choose "install software bunde"
   --> choose X11 and Graphics

To remote :
* Use cygwin with x11 component installed (or X-manager if u like to pay money)
* X -query

To display in monitor when u are connecting using serial port at the beginning:
* ensure you have graphics card in your POWER machine
* plug the monitor (using special converter to the graphic card) and plug the usb mouse-keyboard at usb port POWER
* during boot, put password "admin" when prompted at SMS mode
* choose "chose console"
* it will emerge something in the monitor saying "press if u choose this as active console"
* you choose that number and now the SMS will be on monitor

To activate CDE login prompt:

0. * /usr/dt/bin/dtconfig -e  (enable)   -- opposed to -d to disable auto start the desktop
1. if using bitmap (graphical) monitor : verify file in /usr/dt/config/Xservers
2. if using number 1 and u wanna use additional character display (dump terminal) :
     -->  cp /usr/dt/config/Xservers to /etc/dt/config/Xservers
     --> verify the file
3. if wanna disable number 1 and only activate dump terminal:
    --> edit the /etc/dt/config/Xservers
    --> comment out the line containing "display 0" thingie

 4. to disable CDE login prompt in monitor local display (physical):
     --> comment out the line in /usr/dt/config/Xservers

To restart CDE to take effect after config file changed:

* /usr/dt/bin/dtconfig -kill
* /usr/dt/bin/dtconfig -reset
* /usr/dt/bin/dtconfig -e

 To activate session from native shell:
* xinit /usr/dt/bin/Xsessions