LinuxQuestions.org
Visit Jeremy's Blog.
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 10-05-2011, 03:23 PM   #1
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Rep: Reputation: Disabled
Linux - Creating Graphical console


I have installed Redhat6(unregistered version).
While installation i've choosen basic option.
Now that Redhat is installed,i'm able to access only through command line console.
I've tried startx,but not working
Please help me in creating graphical one.

Thanks in advance!

--
Anil Anji
 
Old 10-05-2011, 03:35 PM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Quote:
Originally Posted by anjumanu321 View Post
I have installed Redhat6(unregistered version).
You should either register it or get a different distro (such as CentOS, if you want it to be like RHEL). Otherwise you won't be able to use the package manager (an essential feature).
 
Old 10-05-2011, 09:39 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Assuming your repo list still pts to the install media (have a look in /etc/yum.repos.d)
Code:
yum grouplist

# the pick the nearest to desktop/gnome and

yum groupinstall <groupname>
https://access.redhat.com/kb/docs/DOC-2531

you might want to consider Centos instead; a free version of RHEL, inc updates, but no support.

Last edited by chrism01; 10-10-2011 at 04:42 PM. Reason: fix missing ' ]'
 
Old 10-06-2011, 10:27 PM   #4
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Original Poster
Rep: Reputation: Disabled
well..thnx for ur suggestions. i'm actually preparing for RHCSA & RHCE certification, hence needed red hat.
Are the config files of centos & red hat the same?
 
Old 10-07-2011, 01:29 AM   #5
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
check for the packages of gnome or kde
Code:
#rpm -qa | grep gnome

#rpm -qa | grep kde

post the output

and in case you have not installed the packages you can check the DVD through which you have installed for RPMs

You will find the RPMs inside Server/Packages

Last edited by deep27ak; 10-07-2011 at 04:15 AM.
 
1 members found this post helpful.
Old 10-07-2011, 01:52 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Hi anjumanu321,

Assuming that you have a legal (evaluation) copy:

You say you are preparing for RHCSA / RHCE, if you use M. Jang's latest Study Guide, have a look at pages 437 & 438. Those explain how to create a repository from the RHEL 6 DVD. Pages leading up to it do all the explaining. Once that is set up you can use yum/rpm to install packages that are on the DVD.

If you don't have that book I would suggest borrowing/buying it (or something similar).

Both CentOS and Scientific Linux can be used instead of RHEL, although there are (minor) differences.

Hope this helps.
 
Old 10-07-2011, 11:06 AM   #7
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Original Poster
Rep: Reputation: Disabled
#rpm -qa | grep gnome

#rpm -qa | grep kde //

i have tried d abv commands..but it shows nothing..
 
Old 10-07-2011, 11:21 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by anjumanu321 View Post
well..thnx for ur suggestions. i'm actually preparing for RHCSA & RHCE certification, hence needed red hat.
Are the config files of centos & red hat the same?
Yes...CentOS is 99.9% IDENTICAL to RHEL, but free, and community supported. The differences are VERY minimal. Without paying for RHEL, you won't be able to install via online repositories, or know how to configure them. Those are good things if you want to get a certification.
Quote:
Originally Posted by anjumanu321
#rpm -qa | grep gnome
#rpm -qa | grep kde //
i have tried d abv commands..but it shows nothing..
Spell out your words. And the reason it doesn't show anything, is because you haven't installed them yet.

Last edited by TB0ne; 10-07-2011 at 11:22 AM.
 
Old 10-08-2011, 02:56 AM   #9
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
REPLY
Code:
#rpm -qa | grep gnome

#rpm -qa | grep kde //

i have tried d abv commands..but it shows nothing..

Then it seems you don't have installed the graphical console RPM's which you will have to do manually

So if your yum is configured then you can install the package using

Code:
#yum -y install kde*

#yum -y install gnome*

and if the yum is not configured then lookout for the packages inside the dvd from which you have installed red hat

Configure yum and then install the above mentioned packages.

Last edited by deep27ak; 10-08-2011 at 02:58 AM.
 
1 members found this post helpful.
Old 10-09-2011, 02:35 AM   #10
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Original Poster
Rep: Reputation: Disabled
I have tried creating a repository from the RHEL 6 DVD:

# mkdir /mnt/test
# mount /dev/cdrom /mnt/test
# cp -rv /mnt/test/media.repo /etc/yum.repos.d/rhel.repo

After this, i have opened rhel.repo and found the following lines...

[InstallMedia]
name=Red Hat Enterprise Linux 6.0
media aid=12xxxxxx.xxxxx
metadata_expire=-1
gpgcheck=0
cost=500


-- i have added baseurl to the above lines:
baseurl=file:///mnt/test/rhel6/server

-- and after that when i do yum clean all, i get the following error:

"No such file or directory: '/var/cache/yum/i386/server' "

-- Guess i have given the baseurl wrong....can anyone correct this?

Thanks in advance..

--
Anil Anji
 
Old 10-09-2011, 03:09 AM   #11
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Hi,

Try this:
Code:
# Create new repository directory
mkdir -p /mnt/Repo/Rhel_6.1_Dvd

# mount dvd
mount /dev/cdrom /mnt/test

# copy dvd to repo directory
cp -ar /mnt/test/. /mnt/Repo/Rhel_6.1_Dvd

# backup repo file(s)
cd /etc/yum.repos.d
mv *repo /root
rm -rf *

# create repo file
vi rhel.6.1.dvd.repo

# add the following content
[rhel61dvd]
name=Red Hat 6.1 DVD on local partition
baseurl=file:///mnt/Repo/Rhel_6.1_Dvd/
enabled=1
gpgkey=file:///mnt/Repo/Rhel_6.1_Dvd/RPM-GPG-KEY-redhat-beta,file:///mnt/Repo/Rhel_6.1_Dvd/RPM-GPG-KEY-redhat-release
gpgcheck=1

# Check rhnplugin.conf file
vi /etc/yum/pluginconf.d/rhnplugin.conf
make sure that enabled is set to 0 (zero)

# import gpg keys
rpm --import /mnt/Repo/Rhel_6.1_Dvd/RPM-GPG-KEY-redhat-beta
rpm --import /mnt/Repo/Rhel_6.1_Dvd/RPM-GPG-KEY-redhat-release

# clean up yum and update
yum clean all
yum update
Hope this helps.
 
1 members found this post helpful.
Old 10-09-2011, 04:33 AM   #12
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Original Poster
Rep: Reputation: Disabled
Perfect!!! am now able to install the packages...
Thanks a ton druuna..
 
Old 10-09-2011, 04:37 AM   #13
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
You're welcome
 
Old 10-09-2011, 05:00 AM   #14
hen770
Member
 
Registered: Oct 2010
Distribution: Arch
Posts: 136

Rep: Reputation: 7
Just keep in mind though, that in case that you would like to install a pkg taht it isn't on the disk you cannot do so.
 
Old 10-09-2011, 06:28 AM   #15
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Original Poster
Rep: Reputation: Disabled
Just keep in mind though, that in case that you would like to install a pkg taht it isn't on the disk you cannot do so. ////

yep..am just using Red Hat for certification purpose...after that i'll jump to CentOS or Debian..
 
  


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
kernel 2.6.34: no graphical console Robert S Linux - General 4 08-09-2010 03:39 AM
Creating a new Graphical Virtual Console Byakuya6 Red Hat 2 03-17-2009 02:13 PM
Virtual graphical console benjalien Linux - Software 2 06-10-2005 11:39 AM
Graphical + Console Tredo Linux - General 3 11-18-2004 12:37 PM
creating a graphical installer for a custom linux distribution waresd Linux - Distributions 4 06-06-2002 09:27 AM


All times are GMT -5. The time now is 01:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration