Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-30-2006, 02:52 PM
|
#1
|
LQ Newbie
Registered: Dec 2006
Posts: 6
Rep:
|
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
|
|
|
12-30-2006, 03:34 PM
|
#2
|
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,364
|
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'.
|
|
|
12-31-2006, 07:20 AM
|
#3
|
LQ Newbie
Registered: Dec 2006
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
12-31-2006, 07:52 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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:"
|
|
|
12-31-2006, 08:12 AM
|
#5
|
LQ Newbie
Registered: Dec 2006
Posts: 6
Original Poster
Rep:
|
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?
|
|
|
12-31-2006, 09:02 AM
|
#6
|
LQ Newbie
Registered: Dec 2006
Posts: 6
Original Poster
Rep:
|
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?
|
|
|
12-31-2006, 10:32 AM
|
#7
|
LQ Newbie
Registered: Dec 2006
Posts: 6
Original Poster
Rep:
|
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
|
|
|
12-31-2006, 10:43 PM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
All times are GMT -5. The time now is 11:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|