Change Fedora CLI mode to GUI mode !!!

Posted on 2007-08-03
Last Modified: 2013-12-16

     Basically am a Windows admin  My Previous Admin had left the Linux Server in automatic CLI boot mode. I need to boot into GUI mode. The Linux server is also a Asterisk Dialer used for Call Centre Purpose. I need to boot into GUI mode by default to backup some folders. Am not that good in CLI mode. So experts please help me out. I tried ctrl + alt + f7. but it does not appear to work. Its a Fedora core Linux server.
Question by:sunilswain
    LVL 45

    Assisted Solution


    You can switch to GUI mode by typing:

      init 5

    At boot time, modify the boot parameter line so that it contains the digit '5' as a parameter.  If the line already has a '3' as a parameter, replace that one, otherwise add the '5'.

    Good Luck,
    LVL 2

    Assisted Solution

    You should edit /etc/inittab

    Look for the line that ends :initdefault: (usually about 20 lines down from the top)

    This needs to be edited to read:

    This will automatically boot into X11 (GUI)
    LVL 28

    Accepted Solution

    Or you can log in at the CLI and type 'startx' (no quotes) from the command line.
    LVL 5

    Author Comment

    jesper solution was the most timely n fast... i could enter GUI mode without re-booting. So i would give max points to him. thanks guys !!!
    LVL 2

    Expert Comment

    You did say 'I need to boot into GUI mode by default to backup some folders' in your question. Which is what I answered in my solution.

    Oh well.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now