• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

login session

I am looking if exist a way to activate a session login on Solaris 2.8 at boot time without the need that someone types user and password.
The need is due to have an X server active to redirect a display: setenv DISPLAY machine:0.0.
I have bypassed the xhost + creating the file /etc/X0.hosts.

I thanks in advance any answer that can help me.
1 Solution
Why do you want the autologin?

If you want to run an application program as a normal user at system startup.

you can create a startup script and put it in /etc/rc3.d (or /etc/rc2.d) called it S99myapp

and put something like:

su - fred /path-to/myappprg

it will do the job for you.

Have a look at my comment in the following question:



PS: If you need more help, please let me know.
I can see why this would be useful, e.g. if the Solaris box was a workstation in an Operations room and other systems in a Data Centre were using it as a display server for warning popups etc.

But I don't know how the X server can be started on the workstation without someone logging in :-(
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now