LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-30-2006, 02:52 PM   #1
seanpearman
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
Newbie - How to exit CUI and enter GUI


Hi All,

I'm new to the forum(and linux), so hi to everyone.

I have just installed Fedora Core 6, and have been playing about to familarise myself with the system. I was following a tutorial to install a RealVNC (which worked), but my system hasnt rebooted in the GUI mode. I think it is the CUI mode??? I have three windows - a clock, something similar to command promt and firefox.

I think i need to enter a command for the system to reboot in the GUI but not sure. Please help!

Thanks in advance.

Sean
 
Old 12-30-2006, 03:34 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
It sounds to as if you do have a GUI. A command line interface, no gui, looks like a dos prompt, a cursor is usually present, but no icons and no clock.

What desktop did you install? KDE, Gnome, are the two most common, and there are many more.

You can stop the Xserver by pressing Ctrl+Alt+Backspace. If what you were looking at disappears, that was the GUI. Restart it with the command 'startx' ( without the quotes ).
If you want the system to re-boot, as root type 'shutdown -r now'. If you want it to power off, type as root 'shutdown -h now'.
 
Old 12-31-2006, 07:20 AM   #3
seanpearman
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Help

Thanks, I'm starting to learn a bit about linux now.

I pressed ctrl alt backspace, and it closed the GUI and left me with a flashing cursor on what i presume is the CUI mode. (kept trying to reload the GUI though - very annoying)

I typed startx and this reloaded the login screen and left me at the desktop I described earlier. So I think I have maybe done something for it to restart in a different GUI.

How can I get it to revert back to the original (default) GUI?

from what I have been reading, I think i may need to execute a yum command to reload the correct GUI.
 
Old 12-31-2006, 07:52 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
In the console, enter "init 3" and then "init 5". That should restart the gui mode. Then log in.
Also check the /etc/inittab file. If it has the line: "id:3:initdefault:" edit it to "id:5:initdefault:"
 
Old 12-31-2006, 08:12 AM   #5
seanpearman
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Ok, I have managed to execute both commands (init 3 & init 5), I logged in and it has loaded the same GUI. I tried to run the command /etc/inittab/ but it returned "Permission Denied". I also run it from the root login and got the same result.

The loading screen, login screen are how they were originally, its just when I login the desktop has changed. I think it is still running the default GUI but with different settings.

I think I may have clicked something along the lines of making the desktop 3d, or 3d windows......would this have caused my issue?
 
Old 12-31-2006, 09:02 AM   #6
seanpearman
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I ve managed to find the yum command that may have caused my issue. But I dont understand any of it(probably shouldnt have entered it then, uh):

yum install fetchmail wget bzip2 unzip zip rmap opens sl lynx fileutils ncftp gcc gcc-c++

Any Ideas?
 
Old 12-31-2006, 10:32 AM   #7
seanpearman
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Issue Resolved

Hi,

Just thought I would let you guys know that I have managed to sort the issue. I used the following command:
yum install gnome-session

Thanks
 
Old 12-31-2006, 10:43 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I'm glad you got the problem fixed. You misunderstood about /etc/inittab however. I meant to edit the file, not run it.
It is the configuration for the init process. This is the first process ( process 0) that runs and starts up every thing else. The init levels determine which services you want started, which are different for single user mode, or multi-user console mode, or multiuser GUI mode. Some Linux distros use different runlevels then others. Most notably debian derivatives and slackware.
 
  


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
Cant Enter GUI ( FEDORA) BaAa3 Linux - Newbie 33 11-30-2006 06:50 PM
cannot enter GUI mode with geforce fx5200 me_max2k1 Linux - Newbie 6 12-22-2005 09:07 PM
how enter the command enviroment in GUI ztdep Linux - Software 1 07-20-2005 06:58 AM
How to get into CUI rather than GUI When system boots praveenv Linux - Newbie 4 08-14-2004 09:33 AM
Mandrake doesn’t enter GUI Tank400 Mandriva 3 04-25-2004 02:51 PM

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

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