Hi,
sad too hear that you got further trouble, that was not my intent.
Now, I donīt have your machine infront of me (which would simpliefy things *S*) however I think the problem lies in the /etc/hosts file.
Solaris CDE and Xterm (xserver that is) uses the information in the local hosts file to determine the address of the your machine when launching new windows.
First letīs fix the blank screen problem, when you get to the login-screen click the "options" button and choose "command line login". This is so we can bypass the mailfunctioning xserver, next you should perform two simple checks.
First:
Give the command "uname -n" to see the actual hostsname set to the system.
Secondly:
Give the command "cat /etc/hosts" to list the hosts file.
Now find the row with the comment "# added by dhcp" and see if the hostname on this row is the same as the actual hostname set to your system. If not, this is the most proable cause of your problem.
To change this, open the file in the "vi" texteditor. Now this is not the simpliest texteditor to use if your a newbie but it will get the job done in.
If you are used to work in vi then simply change the hostname on the dhcp-row to the actual hostname set on your system then save and exit (you need to do a "forced" save because the hosts-file is writeprotected).
If youīre not familiar with the vi-texteditor then here follows a step by step guide.
First open the hosts-file in vi using the command:
vi /etc/hosts
Now use the arrow-keys to get to the hostname on the "added by dhcp" row and put the cursor on the first character of the hostsname. Press the x-key and you will delete the character under the cursor, do this until you have removed the hostname.
Then press the i-key (switching the editor from command-mode to insert-mode) and type the hostname currently set to your system then press the ESC-key (your now back in command-mode).
To save the changes first type a colon (switching to input-commands) then type w! and press Enter to do a "forced" save. To exit vi first type a colon (:) and then the letter q and press enter.
You should now be back on the normal solaris commandline.
To be on the safe side type "cat /etc/hosts" (exclude the quotes) to list the file and see that the changes have been saved.
Now exit command-line by typing the command exit, press enter then wait few seconds and the graphical loginscreen should appear again. Login and now hopefully the windows-system will work again, remember this was just a temporarly solution to get the graphics online again.
Now to fix the real problem:
Itīs my misstake and I do appology to any inconvenience, the real problem is in the change of the script /etc/rc2.d/S72inetsvc.
What happends is that the command "shcat" doesnīt work when you have entered runlevel 2.
The correct change in the script should be:
hostname="`/usr/bin/cat /etc/nodename 2>/dev/null`"
instead of:
hostname="`shcat /etc/nodename 2>/dev/null`"
And do make sure the "`" is in the right direction, because in scripting ` is not interpreted the same way as ī or '.
A copy of this have been sent to your mail with the addition of my icq-number.
//TechMark