?
Solved

auto login to RedHat 6

Posted on 2011-04-19
8
Medium Priority
?
1,214 Views
Last Modified: 2013-12-15
Hi experts, could someone tell me if  kickstart provide an option to automatically login to Red Hat 6.
I'm able to add a root password to my kickstart file, which bring me to the login screen. I would like my system to be able to boot up into RedHat without typing in the login’s user\password. If this is not possible using kickSart, what other method would you suggest?
0
Comment
Question by:bojeff30
  • 5
  • 3
8 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 35426840
What exactly are you trying to accomplish?

The purpose of Kickstarts is to automate your installation.  You logon after your installation is done.  If you want to run some scripts in kickstart to customize your installation, there is %post section of kickstart that would do that.  If you are more specific, perhaps I could answer in a more detail
0
 

Author Comment

by:bojeff30
ID: 35428358
I would like to bypass the login prompt.  I’m able to create a kickstart file that installs and setup my system, but upon firstboot I have to login.  I would like my system to go into the desktop instead of requesting the user login. i want to know if there is an option for kickstart that provides an auto-login process.  If not, how can I achieve this process?
0
 
LVL 31

Expert Comment

by:farzanj
ID: 35428393
There are two things that you would like to include in your kickstart

# Run the Setup Agent on first boot
firstboot --disable

#Reboot itself
reboot
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:bojeff30
ID: 35433627

i'm alreayd usign both of the options below.  With them, i still have to login.
 
# Run the Setup Agent on first boot
firstboot --disable

#Reboot itself
reboot
0
 
LVL 31

Expert Comment

by:farzanj
ID: 35433680
When the system comes up, you always have to logon to it.  I have a very long experience in Redhat deployment and I don't know what you are talking about and for what reason.  Kickstart only installs the system, and once it is installed you have to log on to it.

Do you want to consider system going into run level 1, that way, you will not have to logon to it.

If you think we are not on the same page, could you provide me with a screenshot of what you want to bypass.  Otherwise it sounds like what you are trying to do is not possible.
0
 

Author Comment

by:bojeff30
ID: 35436158
I wanted to know if it was possible to boot straight into the desktop without logging-in using kickstart file.  It seems like you’re saying that kickstart does not provide an option for this process. If this is the case,  are there any other ways to add an auto-login feature.  Suse  provides an autoinst.xml that performs this function of auto-login, I was wondering if Redhat had something similar.  
0
 
LVL 31

Accepted Solution

by:
farzanj earned 1000 total points
ID: 35436649
This is not possible in RedHat.

Kickstart in Red hat is used strictly for installation automation--no more no less.  It is powerful mechanism for deployment but that is about all.

In Red Hat, all GUI's want you to login.  I have been with Red Hat for a long time, if there was a way, I would have known.
0
 
LVL 31

Expert Comment

by:farzanj
ID: 35441399
Ok, here is the deal.  It is definitely not kickstart.  It is GNOME or KDE user manager that does it.  You should find this option in KDE or GNOME desktop whatever you are using.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month16 days, 8 hours left to enroll

864 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