LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-25-2011, 12:34 AM   #1
aletta
Member
 
Registered: Dec 2011
Location: Vancouver, BC Canada
Distribution: Centos 6.3
Posts: 48

Rep: Reputation: Disabled
Question Help! Made a Centos live CD, now in text mode on hard drive. what now?


I have downloaded about All I can recall needing to set up the graphical interface-prefer to use the KDE desktop I had before when using version 5.7. However, I have no idea how to go about it. I have heard all I could find on an install but none could take me beyond btng the hard drive and being in text mode.My previous install was not nearly so bare bones. I was just really anxious to get my new Wacom tablet working.

Please if you could walk me throng to being back in my Comfortable desktop environment, I would really appreciate if it helps it is a x 86-64 machine with AMD processors.

That aside, Merry Greetings for the Season.

Last edited by aletta; 12-25-2011 at 12:44 AM.
 
Old 12-25-2011, 07:52 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The first thing to do is to determine if your installation defaulted to booting to text mode instead of GUI.

Look at file /etc/inittab. If you see this line "id:3:initdefault:", then change it to "id:5:initdefault:". The 3 refers to runlevel 3 (text mode) and the 5 refers to runlevel 5 (GUI).

Once that change is made, you will then boot into GUI mode.

If you are now booted into text mode, issue the command "startx" (without quotes) to get to GUI mode.
 
1 members found this post helpful.
Old 12-29-2011, 06:48 PM   #3
aletta
Member
 
Registered: Dec 2011
Location: Vancouver, BC Canada
Distribution: Centos 6.3
Posts: 48

Original Poster
Rep: Reputation: Disabled
Thanks that fixed the problem but I am puzzled where I can edit the gui which pops up for login, the old one gave me choice of which x windows environment I wanted to work in, and depending what I am doing I want the option of changing as needed. Instructions how to accomplish this would be most appreciated.
 
Old 12-29-2011, 07:19 PM   #4
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 534
Blog Entries: 3

Rep: Reputation: 118Reputation: 118
Post

You can switch back and forth between KDE and GNOME by doing the following on the command line:

Code:
$ switchdesk gnome
Will change your default window manager from KDE to Gnome.

Code:
$ switchdesk kde
Will change your default window manager from Gnome to KDE

The choices are 'gnome', 'kde', and 'xdm'.

Once you choose one, then you can fire up X with:

Code:
$ startx
If you're already running in say, Gnome, then you can also just do the following:

Code:
$ startkde &
You can also simply edit /etc/sysconfig/desktop directly:

Code:
# vi /etc/sysconfig/desktop
and make changes to reflect the following changes if you desire KDE, for example:

Code:
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
You'll need to do that as root, as indicated above, of course

For other distros, you may edit ~/.xinitrc directly.

bigrigdriver already pointed out how to change from runlevel 3 to runlevel 5 on boot by editing your inittab. In Redhat based distros like CentOS, runlevel 3 is text console based while runlevel 5 launches X and your default display manager upon system boot - this is only neccessarily so for Redhat based distros (runlevel definitions are different in various Unices).

Personally, I don't want all that extra overhead unless I specifically have a reason to be running in a GUI so I like runlevel 3 as my default on boot and then I simply manually run 'startx'. An added advantage of this approach is that when I log off, I go back to a text console based login prompt and gain back all that memory that was being used by the GUI.

Running the 'switchdesk' app allows you to choose your default, but it only works on Redhat based OSes like CentOS, Fedora, and I believe it is included in Unbreakable Linux too.

For example, if you were running in say, Slackware, the tool to use for choosing your default desktop is 'xwmconfig'

This works as root, or as a non-priviliged user. If you run it as root then all new user accounts you create will default to what you have chosen. If you run it as a non-priviliged user then it will change the default window manager for that particular user.

One final note when editing system files directly:

  • Consider making a backup of your files prior to editing.
  • Make one change at a time and then test, if you broke it, then you know exactly what it was and how to put it back.
  • Have real beer afterward - only virtual beers should be consumed when fiddling about as the superuser!
I hope that helps

Kindest regards,

.

Last edited by tallship; 12-29-2011 at 07:43 PM. Reason: maek pritty
 
1 members found this post helpful.
Old 12-31-2011, 09:27 PM   #5
aletta
Member
 
Registered: Dec 2011
Location: Vancouver, BC Canada
Distribution: Centos 6.3
Posts: 48

Original Poster
Rep: Reputation: Disabled
Wonderful, I am happily rediscovering the wonderfulness of working from the commandline and gaining back all that memory, with the options of an occasional mindwalk in the esthetics of my done-up desktop. I have another niggling setup related problem, although it corrrectly lists my ps2 mouse it does not start up except with the KDE desktop. Since I am still fiddling around tying to get my 470-ctl wacom tablet working , I had thought I encounter where to fix my mouse problems also, but so far not so.

I really appreciate all the help I am getting in this forum.
 
Old 02-02-2012, 10:09 PM   #6
aletta
Member
 
Registered: Dec 2011
Location: Vancouver, BC Canada
Distribution: Centos 6.3
Posts: 48

Original Poster
Rep: Reputation: Disabled
AS I have since upgrade to Centos 6.2 and added memory to make it 2G from 512mb it is a whhole new ball game but I have been learning a lot, but for the purpose of keeping it all going I consider this thread solved.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I am trying to boot a live cd from my hard drive InMiserysShadow Linux - Software 4 12-14-2008 08:09 PM
Get into a hard drive with a Live CD Gene-o Linux - Newbie 2 11-15-2007 09:52 PM
mounting hard drive from live CD? ocicat Ubuntu 2 06-01-2007 02:03 AM
How to find that Hard Drive is in degraged mode ? nitinkushwah Linux - Hardware 1 12-03-2006 05:50 AM
DMA Mode of Hard Drive Ace2005 Linux - Hardware 6 07-21-2005 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 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