LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-21-2015, 05:06 AM   #1
nix84
Member
 
Registered: Apr 2014
Posts: 276

Rep: Reputation: Disabled
Where did localhost login come from


I've installed CentOS7 but when I run it it asks for localhost login. I only created a root user but that does not work. What is wrong or what is the correction I need to make?
 
Old 07-21-2015, 07:20 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I assume that you did not install a desktop and what you see is the command line login prompt with localhost being the host name. Typically people get confused since the password is not echoed i.e. you do not see any ***. The password is typed in the blind.

If you did install a desktop then more information is required. The next assumption is you need to configure the x server and maybe need to install the correct driver for your graphics adapter.
 
1 members found this post helpful.
Old 07-21-2015, 08:56 PM   #3
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
Not sure desktop is relevant here?? I installed CentOS7 onto a pen drive via the downloaded ISO and Live off the resulting DVD. This was done using a laptop as opposed to my desktop system if that is somehow relevant.
It is asking "Localhost Login:" and when I delay too long it asks for a password.
There was no indication of desktop vs server vs laptop "observed" in the install sequence.
Did not see any queries regarding x-server or desktop.
The install sequence was quite logical and direct. Hate to think this needs a re-install because the install takes well over 2 hrs (longest I've ever observed for an OS).
 
Old 07-23-2015, 03:10 AM   #4
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
Where did localhost login come from

I re-installed CentOS. All went well. The Localhost Login accepted root/password giving me a root prompt. I expected the graphic screen but only have a text screen.
I su-ed to a user and back which worked. The root directory has anaconda.cfg as the only file.
Can someone explain what is going on and how to get the graphic screen?
 
Old 07-23-2015, 07:01 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I assume you used the min iso which is command line only.

See this link
http://unix.stackexchange.com/questi...ts-on-centos-7
 
Old 07-25-2015, 03:17 AM   #6
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
Where did localhost login come from

@michaelk: from the reference you gave I am presuming to have installed "a" desktop (presuming Gnome as it is the default). BUT the install did NOT look like that reference but essentially it followed it.
A) I entered my username (which is the admin) and waited for over 2 minutes to get a password prompt. It did accept it.
At that point I am in a terminal of some sort.
I used the reference and entered:
echo "exec gnome-session" >> ~/.xinitrc
which it took and gave another prompt to which I entered:
startx
It barfed at that claiming no such command/directory.

I presume there is some setting to always start with a graphic mode.

I was unsuccessful in getting further. I can do CLI but it is so slow as to be unusable for future efforts if this is what CentOS normally does.

Sorry I earlier presumed UR reference to desktop was something other than GNOME or KDE or ... and more like a desktop computer.

Last edited by nix84; 07-25-2015 at 03:20 AM.
 
Old 07-25-2015, 03:48 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Did you actually install Gnome i.e
yum -y groups install "GNOME Desktop"

Without knowing your computer hardware specifications I can not say why it is slow.
 
Old 07-26-2015, 02:29 AM   #8
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
Where did localhost login come from

No. Used my Live CD to install from using the graphics rather than CLI.
The laptop is a Toshiba C55-A5126 with 2.4GHz dual core processor.
Bringing up Fedora which was also installed on a flash drive happens like yesterday by comparison. Really don't want to re-install cuz it takes about 5 hours.
It seems weird cuz yesterday I accidently entered the password for both the name and password and it recognized the user correctly.
Cannot get it to bring up the Gnome desktop.
The localhost jazz/confusion was cuz I am not used to seeing localhost used in lieu of the computername or just Login:
====================
Tried to reinstall this distro but to my surprise when I went to boot off the Live CD, I get a message wanting the kernel installed. The DVD was NOT scratched or damaged so as much as I wanted to use this distro it seems there must be better products.
Very saddened, suggest Fedora or maybe Ubuntu if U want an EFI/Secure boot flash drive.

Last edited by nix84; 07-27-2015 at 12:01 AM.
 
Old 11-04-2016, 07:31 PM   #9
frobuddy2
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Rep: Reputation: Disabled
Exclamation

Quote:
Originally Posted by nix84 View Post
I've installed CentOS7 but when I run it it asks for localhost login. I only created a root user but that does not work. What is wrong or what is the correction I need to make?
Well have u made a regular user? enter in the regular user stuff to login. Didn't make one? Well reinstall it and make one during the setup.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
localhost login ferozahamed Linux - Server 1 03-04-2012 10:47 PM
Localhost Login???? gstate Linux - Security 8 10-13-2004 09:02 PM
localhost login Melo Linux - Software 10 05-18-2003 10:43 PM
localhost login, how?? magis Linux - Newbie 4 11-24-2001 05:05 AM
Localhost Login Roy Linux - General 3 05-14-2001 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration