LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-24-2011, 03:43 AM   #1
Nitesh Vashisht
LQ Newbie
 
Registered: Nov 2011
Posts: 8

Rep: Reputation: Disabled
Red face Having a problem starting CentOS 6 in GUI mode


I recently started the CentOS 6 on vertual machine and it is not starting in GUI mode....
 
Old 11-24-2011, 03:51 AM   #2
basica
Member
 
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 101

Rep: Reputation: 21
Are you using VMware or VirtualBox?
Did you choose a minimal install or desktop install?
What happens if you type startx in the prompt?

EDIT: Thanks for pointing out the typo, aazkan!

Last edited by basica; 11-24-2011 at 04:43 AM.
 
Old 11-24-2011, 04:35 AM   #3
aazkan
Member
 
Registered: Jan 2008
Posts: 72

Rep: Reputation: 5
Hi,

You can do a X server, gnome-desktop etc. install afterwards and it's probably a typo, it should be startx
Not sure about the VMware or VirtualBox tho, have not encountered X (provided it has been installed) refusing to start on either.
 
Old 11-24-2011, 11:06 AM   #4
Nitesh Vashisht
LQ Newbie
 
Registered: Nov 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
May be its not working on vm ware..with startx...let me find out...if i get i will let you know..nd thnx
 
Old 11-24-2011, 11:09 AM   #5
Nitesh Vashisht
LQ Newbie
 
Registered: Nov 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
I intsalled both minimal and server but it not starting in gui mode when type Startx it is showing bash:startx:command not found
 
Old 11-24-2011, 11:11 AM   #6
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,089

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
Quote:
I intsalled both minimal and server but it not starting in gui mode when type Startx it is showing bash:startx:command not found
Did you select a desktop environment?
You need to install adesktop environment for a gui.

Last edited by EDDY1; 11-24-2011 at 11:12 AM.
 
Old 11-24-2011, 11:12 AM   #7
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 866

Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by Nitesh Vashisht View Post
I intsalled both minimal and server but it not starting in gui mode when type Startx it is showing bash:startx:command not found
if you install minimal you got a bare centOS version. you need to do

Quote:
# yum grouplist
# yum groupinstall <packagename>

Where <packagename> is put your desktop of your choice.

$ startx

to start your desktop.

Last edited by jmc1987; 11-24-2011 at 11:13 AM.
 
Old 10-10-2012, 10:52 AM   #8
ankit19111
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
hello guys, have installed centos6 using vmware but i cannot find gui screen of it. black screen appears asking username & password but after login also no gui appers. i typed startx but it is also nt working.. command cannot found comes in response... pls help... kindly waiting for reply
 
Old 10-10-2012, 09:23 PM   #9
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 866

Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by ankit19111 View Post
hello guys, have installed centos6 using vmware but i cannot find gui screen of it. black screen appears asking username & password but after login also no gui appers. i typed startx but it is also nt working.. command cannot found comes in response... pls help... kindly waiting for reply
You need to install a GUI Package

Code:
# yum grouplist
Find the desktop package and install it with

Code:
# yum groupinstall "package name"
 
Old 10-11-2012, 05:23 AM   #10
ankit19111
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Even #yum grouplist is nt workin... in response this error comes: cannot find a valid baseurl for repo: base
 
Old 10-11-2012, 05:28 AM   #11
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,239

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
1.
Code:
yum repolist
2. check the contents of the files in /etc/yum.repos.d
repos are defined in these files eg
Code:
adobe-linux-x86_64.repo  CentOS-Media.repo  puppetlabs.repo
CentOS-Base.repo         CentOS-Vault.repo  puppetlabs.repo.rpmnew
CentOS-Debuginfo.repo    google-earth.repo
 
Old 12-28-2012, 07:30 PM   #12
jogiejoka
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
Smile

I had the same problem and realized my eth0 interface was not up. Try this "ifup eth0".
 
  


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] samba GUI starting problem cnt Linux - Server 1 08-01-2011 01:30 AM
[SOLVED] CentOS 5.5 Starting udev Problem peridian Red Hat 5 07-27-2010 02:15 AM
GUI mode problem praneethgv Linux - Newbie 3 11-24-2008 03:40 AM
starting BLFS in GUI mode by default mohit.jain Linux From Scratch 3 11-29-2006 04:45 AM
Problem starting GUI with Solaris 10! infantpapa Solaris / OpenSolaris 4 12-22-2005 04:42 AM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration