Discussion Locked

Autologin for Sun Solaris

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am having Sun solaris 2.6.What I need to do for a scheduled reboot I need the machine to perform autologin with a specific user id to the CDE desktop.Actually I was successful on one amchine but on other machines it is not working.The method I tried is not very good but if someone can help on this I would really appreciate this.

4 replies

by cavedweller

I would disable dtlogin (dtlogin disable) and the login monitor on the console port as well so that it doesn't try to share the keyboard/screen.

Next I would start up the Xserver and dtwm as a restricted user. You can start up the windows you want too. If you're going to leave the account logged in all the time you don't want it to have any priviledges!

Try using the inittab to run a script which does the startup. You might be able to use the respawn option to run the startup script again if the user logs out. Provide a restart button to logout and restart if the user needs to clean things up.

by cavedweller

If the various languages are installed you can select the desired language from the dtlogin screen. You can set the language environment variable in the users login script too. You will need to do this before the dtsession starts. Most system-wide customizations are done in /etc/dt/config.

by desai_sanju

Ok I think I will be more specific.I have an autologin script which works after the reboot and the user can login but the problem now is It does not display the correct CDE.I have presently CDE 1.2 running.The machine is multilingual.It should default to Japanese.Is there a way to setup the correct CDE after the user login.I point to the script from /etc/init.d/dtlogin.I specify the user name in the script.So my autologin works after reboot with specific user but the CDE settings are not working.

This discussion is closed to new replies.