Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


login session

Posted on 2003-02-25
Medium Priority
Last Modified: 2013-12-16
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.
Question by:NickLisi
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 38

Accepted Solution

yuzh earned 150 total points
ID: 8031226
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.
LVL 21

Expert Comment

ID: 8037080
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 :-(

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question