LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2016, 07:25 PM   #1
frobuddy2
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Rep: Reputation: Disabled
Thumbs down LocalHost Login Prompt CentOS! What do i do!


So i was just installing CentOS 7 then i came to this thing about LocalHost after installing. I logged in to see what was next. Then it was just a DOS prompt. I tried to put "xstart" but it said it wasnt found as a command. I waited about a hour to download CentOS and now it dosent work! Help me plz. Tried "startx" 2

Last edited by frobuddy2; 11-05-2016 at 08:54 AM.
 
Old 11-04-2016, 08:07 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
install xinit
create a hidden file call it
Code:
.xinitrc
in it place this
Code:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec name of DE/WM you want to start

then startx

it should work provided you install xorg files you need to have a GUI environment.

Last edited by BW-userx; 11-04-2016 at 08:08 PM.
 
Old 11-04-2016, 09:02 PM   #3
frobuddy2
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
So lemme try it and see. Ohhhhhh it glitched out somehow. weird. ill have to reinstall. then ill try again
 
Old 11-04-2016, 09:21 PM   #4
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
If you did a minimal CentOS 7 installation, that won't install any desktop gui.

If you did a CentOS 7 install that included a desktop, possibly your systemd is set to use a non-graphical mode, equivalent of runlevel 3. If so, as root from a terminal, issue
Code:
systemctl isolate graphical.target
and your graphical desktop should start. There is a different systemctl command to set the default target.
 
Old 11-05-2016, 08:52 AM   #5
frobuddy2
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
K im sure it will work
 
Old 11-05-2016, 08:53 AM   #6
frobuddy2
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Which install lets me use that code?
 
Old 11-05-2016, 08:53 AM   #7
frobuddy2
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
To get me a GUI
 
Old 11-05-2016, 09:05 AM   #8
frobuddy2
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by Doug G View Post
If you did a minimal CentOS 7 installation, that won't install any desktop gui.

If you did a CentOS 7 install that included a desktop, possibly your systemd is set to use a non-graphical mode, equivalent of runlevel 3. If so, as root from a terminal, issue
Code:
systemctl isolate graphical.target
and your graphical desktop should start. There is a different systemctl command to set the default target.
I did minimal install but since i have to reinstall it i got the workstation one! wait. does it work with the code?
 
Old 11-05-2016, 04:32 PM   #9
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
The workstation edition includes gnome3 desktop. The centos website has information about what's included with different editions.
 
Old 11-05-2016, 04:58 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,507

Rep: Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114
The CentOS ISOs that you can download are DVD, Minimal, Net install, Everything, LiveGnome and LiveKDE.

The DVD allows you to select what components you want to install, The Live versions will install the same components as what you see. Minimal will just install the basic components needed to get a running system. The net install will allow you to select components but they are downloaded from the internet versus installing from local media. Everything is all possible packages from the entire repository and is 7GB

I would pick the DVD ISO. The easiest would be to reinstall but the DVD ISO is 4GB versus minimal 603MB.

https://wiki.centos.org/Download

If you select a desktop package the installer will configure it to start at boot up.

Last edited by michaelk; 11-05-2016 at 05:05 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ubuntu login circle: type userid+p/w, wait a few seconds, returns to login prompt Dart Linux - Newbie 2 10-21-2013 02:33 PM
cant login locally keep getting login prompt over and over on redhat linux 5.4 sankarm72 Linux - Newbie 8 04-03-2012 12:06 AM
When power is reset Linux server sits at login prompt, want this to login automatical jenniekingsland Linux - Newbie 1 09-07-2010 07:29 AM
CentOS 5 (none)login : prompt athreyavc Linux - Software 2 04-17-2008 07:07 AM
stuck at the localhost prompt geoff3 Mandriva 7 01-30-2007 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 PM.

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