Thanks bakunin....I have the following output in /etc/inittab:
...
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
l7:7:wait:/etc/rc.d/rc 7
l8:8:wait:/etc/rc.d/rc 8
l9:9:wait:/etc/rc.d/rc 9
naudio2::boot:/usr/sbin/naudio2 > /dev/null
naudio::boot:/usr/sbin/naudio > /dev/null
rcml:2:once:/usr/ml/aix71/rc.ml > /dev/console 2>&1
rcwpars:2:once:/etc/rc.wpars > /dev/console 2>&1 # Corrals autostart
logsymp:2:once:/usr/lib/ras/logsymptom # for system dumps
perfstat:2:once:/usr/lib/perf/libperfstat_updt_dictionary >/dev/console 2>&1
diagd:2:once:/usr/lpp/diagnostics/bin/diagd >/dev/console 2>&1
artex:2:wait:/usr/sbin/artexset -q -c -R /etc/security/artex/config/master_profile.xml > /
dev/console 2>&1
cimservices:2:once:/usr/bin/startsrc -s cimsys >/dev/null 2>&1
clcomd:23456789:once:/usr/bin/startsrc -s clcomd
pconsole:2:once:/usr/bin/startsrc -s pconsole > /dev/null 2>&1
xmdaily:2:once:/usr/bin/topasrec -L -s 300 -R 1 -r 6 -o /etc/perf/daily/ -ypersistent=1 2>
&1 >/dev/null #Start local binary recording
ctrmc:2:once:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
ha_star:h2:once:/etc/rc.ha_star >/dev/console 2>&1
vty0:2:off:/usr/sbin/getty /dev/vty0
orapw:2:wait:/etc/loadext -L /etc
dt:2:wait:/etc/rc.dt
cons:0123456789:respawn:/usr/sbin/getty /dev/console
Also I have check enable both server and client enabled the SSH Forwarding to YES. Now the AIX keeps looping between a grey background with a black X cursor and a black screen. After a several times, it shows:
************************************************** ***************************
*
* Suspending Desktop Login...
*
* Press [Enter] for a login prompt.
*
* Log in. Desktop Login will resume shortly after you log out.
*
************************************************** ***************************
then turn it back to the loop....... I have rebooted and connect with ssh, it shows:
# ps -ef|grep dt
root 1245298 1 0 09:41:04 - 0:00 /usr/dt/bin/dtlogin -daemon
root 2555992 1245298 0 10:21:40 - 0:00 /usr/dt/bin/dtlogin -daemon
root 2818478 1245298 0 10:21:40 - 0:00 /usr/lpp/X11/bin/X -cc 4 -D /usr/lib/ X11/rgb -T -force :0 -auth /var/dt/A0-m-ahia
root 4325670 3604732 0 10:21:58 pts/0 0:00 grep dt
#
I think the CDE is running but I don't know if there are any CDE files corrupted..... (Recently I have install a vnc server and mozilla firefox, but after I restart the server, I can't have the CDE back....)
Regarding the reset root password problem, finally we will have a clean install of AIX6.1 next week....(because we only have a licensed AIX6.1 instead of 7:eek:)
---------- Post updated at 12:21 PM ---------- Previous update was at 12:19 PM ----------
Finally the problem solved!!!
I have do a few things:
- Check the /etc/ssh/sshd_conf (find out that there exist 2 entries, one is X11 forwarding to No and the other one is Yes.
- Check /etc/hosts to find out if there are any incorrect entry
- Check /etc/dt/config/Xservers (I have uncomment it and changed to:
:0 Local local@console /usr/lpp/X11/defaults/xserverrc -T -force :0
- Restart the server (#shutdown -r)
Finally my CDE login screen shows again!!:D:b:
p.s.: In addition, I have Google a lot and find that the system locale setting will also cause errors in displaying CDE. (but not in my case, so I haven't check my settings)
Hope this post can helps!
Sunny