RED HAT LOGIN problem with root











up vote
2
down vote

favorite












I want to log in to my new installed RHEL 6.2
I tried to log in with root, and password that I created during the installation process, but after log in this appears root@myName ~1# : what should I write? I wrote startx but it didn't work










share|improve this question
























  • Do you mean the terminal displays root@myName~1 ?
    – Ramesh
    Oct 24 '13 at 18:36















up vote
2
down vote

favorite












I want to log in to my new installed RHEL 6.2
I tried to log in with root, and password that I created during the installation process, but after log in this appears root@myName ~1# : what should I write? I wrote startx but it didn't work










share|improve this question
























  • Do you mean the terminal displays root@myName~1 ?
    – Ramesh
    Oct 24 '13 at 18:36













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I want to log in to my new installed RHEL 6.2
I tried to log in with root, and password that I created during the installation process, but after log in this appears root@myName ~1# : what should I write? I wrote startx but it didn't work










share|improve this question















I want to log in to my new installed RHEL 6.2
I tried to log in with root, and password that I created during the installation process, but after log in this appears root@myName ~1# : what should I write? I wrote startx but it didn't work







linux rhel






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 at 20:16









Rui F Ribeiro

38.3k1475126




38.3k1475126










asked Oct 24 '13 at 18:31









meral

133




133












  • Do you mean the terminal displays root@myName~1 ?
    – Ramesh
    Oct 24 '13 at 18:36


















  • Do you mean the terminal displays root@myName~1 ?
    – Ramesh
    Oct 24 '13 at 18:36
















Do you mean the terminal displays root@myName~1 ?
– Ramesh
Oct 24 '13 at 18:36




Do you mean the terminal displays root@myName~1 ?
– Ramesh
Oct 24 '13 at 18:36










2 Answers
2






active

oldest

votes

















up vote
7
down vote



accepted










My initial reading is that you were expecting a graphical environment. Correct me if I'm wrong. Either way, you're looking at the command prompt and can start using the system however you were wanting to use it as long as you're OK with command line.



From the bit about startx not working, it sounds like you installed a basic server during the initial install. Starting with RHEL6 this doesn't install a GUI. You can approach this three ways:




  1. "Meh It's a server anyways. All I need is command line."

  2. Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.


  3. Manually install the GUI components and manually start/configure the X server. If you're brand new, I'd say that if you go with this option this is easiest path:




    • Install Xorg via yum groupinstall "X Window System"

    • Install GNOME (my preference, you can do KDE if you want) via yum groupinstall Desktop

    • Switch to the graphical mode (runlevel 5) via telinit 5


    • Once in, open /etc/inittab (you can use gedit or something like that, you may have to yum install gedit to get the editor, though) and ensure the default run level (what the system boots to automatically) is set to 5:



      id:5:initdefault:


    • If you're really paranoid, you can check the above with a reboot command.





EDIT:



I should note that the above assumes that you're already registered with RHN, otherwise you don't have yum repos to install the above from (well, you do, but the process of installing from the DVD is probably too complicated for new users). If you're uncomfortable with doing the rhn_register in order to do the registration (which is a guided TUI so it's not hard to use if you're using hosted and not Satellite, which I'm going to take a wild guess and assume you're not doing) then a reinstall is probably the best case.



Really depends on what your comfort level with the various options is.






share|improve this answer






























    up vote
    1
    down vote













    What precisely is your goal? If it was just to log in as root, you did do that and you have access to the system, but it sounds like you might be wanting a graphical login instead of the command line.



    If that's your goal, then you'll need to make sure that you have X and a desktop installed, then switch your default runlevel to 5.



    Section 35.3 lists the steps: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/sn-switching-to-gui-login.html



    Edit:
    The linked doc also has the steps for using your installation DVD as a repository, but as Joel mentioned, it is probably less complicated as a new user to do a re-install with the desktop packages installed from the get-go.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "106"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














       

      draft saved


      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f97460%2fred-hat-login-problem-with-root%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      7
      down vote



      accepted










      My initial reading is that you were expecting a graphical environment. Correct me if I'm wrong. Either way, you're looking at the command prompt and can start using the system however you were wanting to use it as long as you're OK with command line.



      From the bit about startx not working, it sounds like you installed a basic server during the initial install. Starting with RHEL6 this doesn't install a GUI. You can approach this three ways:




      1. "Meh It's a server anyways. All I need is command line."

      2. Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.


      3. Manually install the GUI components and manually start/configure the X server. If you're brand new, I'd say that if you go with this option this is easiest path:




        • Install Xorg via yum groupinstall "X Window System"

        • Install GNOME (my preference, you can do KDE if you want) via yum groupinstall Desktop

        • Switch to the graphical mode (runlevel 5) via telinit 5


        • Once in, open /etc/inittab (you can use gedit or something like that, you may have to yum install gedit to get the editor, though) and ensure the default run level (what the system boots to automatically) is set to 5:



          id:5:initdefault:


        • If you're really paranoid, you can check the above with a reboot command.





      EDIT:



      I should note that the above assumes that you're already registered with RHN, otherwise you don't have yum repos to install the above from (well, you do, but the process of installing from the DVD is probably too complicated for new users). If you're uncomfortable with doing the rhn_register in order to do the registration (which is a guided TUI so it's not hard to use if you're using hosted and not Satellite, which I'm going to take a wild guess and assume you're not doing) then a reinstall is probably the best case.



      Really depends on what your comfort level with the various options is.






      share|improve this answer



























        up vote
        7
        down vote



        accepted










        My initial reading is that you were expecting a graphical environment. Correct me if I'm wrong. Either way, you're looking at the command prompt and can start using the system however you were wanting to use it as long as you're OK with command line.



        From the bit about startx not working, it sounds like you installed a basic server during the initial install. Starting with RHEL6 this doesn't install a GUI. You can approach this three ways:




        1. "Meh It's a server anyways. All I need is command line."

        2. Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.


        3. Manually install the GUI components and manually start/configure the X server. If you're brand new, I'd say that if you go with this option this is easiest path:




          • Install Xorg via yum groupinstall "X Window System"

          • Install GNOME (my preference, you can do KDE if you want) via yum groupinstall Desktop

          • Switch to the graphical mode (runlevel 5) via telinit 5


          • Once in, open /etc/inittab (you can use gedit or something like that, you may have to yum install gedit to get the editor, though) and ensure the default run level (what the system boots to automatically) is set to 5:



            id:5:initdefault:


          • If you're really paranoid, you can check the above with a reboot command.





        EDIT:



        I should note that the above assumes that you're already registered with RHN, otherwise you don't have yum repos to install the above from (well, you do, but the process of installing from the DVD is probably too complicated for new users). If you're uncomfortable with doing the rhn_register in order to do the registration (which is a guided TUI so it's not hard to use if you're using hosted and not Satellite, which I'm going to take a wild guess and assume you're not doing) then a reinstall is probably the best case.



        Really depends on what your comfort level with the various options is.






        share|improve this answer

























          up vote
          7
          down vote



          accepted







          up vote
          7
          down vote



          accepted






          My initial reading is that you were expecting a graphical environment. Correct me if I'm wrong. Either way, you're looking at the command prompt and can start using the system however you were wanting to use it as long as you're OK with command line.



          From the bit about startx not working, it sounds like you installed a basic server during the initial install. Starting with RHEL6 this doesn't install a GUI. You can approach this three ways:




          1. "Meh It's a server anyways. All I need is command line."

          2. Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.


          3. Manually install the GUI components and manually start/configure the X server. If you're brand new, I'd say that if you go with this option this is easiest path:




            • Install Xorg via yum groupinstall "X Window System"

            • Install GNOME (my preference, you can do KDE if you want) via yum groupinstall Desktop

            • Switch to the graphical mode (runlevel 5) via telinit 5


            • Once in, open /etc/inittab (you can use gedit or something like that, you may have to yum install gedit to get the editor, though) and ensure the default run level (what the system boots to automatically) is set to 5:



              id:5:initdefault:


            • If you're really paranoid, you can check the above with a reboot command.





          EDIT:



          I should note that the above assumes that you're already registered with RHN, otherwise you don't have yum repos to install the above from (well, you do, but the process of installing from the DVD is probably too complicated for new users). If you're uncomfortable with doing the rhn_register in order to do the registration (which is a guided TUI so it's not hard to use if you're using hosted and not Satellite, which I'm going to take a wild guess and assume you're not doing) then a reinstall is probably the best case.



          Really depends on what your comfort level with the various options is.






          share|improve this answer














          My initial reading is that you were expecting a graphical environment. Correct me if I'm wrong. Either way, you're looking at the command prompt and can start using the system however you were wanting to use it as long as you're OK with command line.



          From the bit about startx not working, it sounds like you installed a basic server during the initial install. Starting with RHEL6 this doesn't install a GUI. You can approach this three ways:




          1. "Meh It's a server anyways. All I need is command line."

          2. Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.


          3. Manually install the GUI components and manually start/configure the X server. If you're brand new, I'd say that if you go with this option this is easiest path:




            • Install Xorg via yum groupinstall "X Window System"

            • Install GNOME (my preference, you can do KDE if you want) via yum groupinstall Desktop

            • Switch to the graphical mode (runlevel 5) via telinit 5


            • Once in, open /etc/inittab (you can use gedit or something like that, you may have to yum install gedit to get the editor, though) and ensure the default run level (what the system boots to automatically) is set to 5:



              id:5:initdefault:


            • If you're really paranoid, you can check the above with a reboot command.





          EDIT:



          I should note that the above assumes that you're already registered with RHN, otherwise you don't have yum repos to install the above from (well, you do, but the process of installing from the DVD is probably too complicated for new users). If you're uncomfortable with doing the rhn_register in order to do the registration (which is a guided TUI so it's not hard to use if you're using hosted and not Satellite, which I'm going to take a wild guess and assume you're not doing) then a reinstall is probably the best case.



          Really depends on what your comfort level with the various options is.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 24 '13 at 19:23

























          answered Oct 24 '13 at 18:51









          Bratchley

          11.8k64388




          11.8k64388
























              up vote
              1
              down vote













              What precisely is your goal? If it was just to log in as root, you did do that and you have access to the system, but it sounds like you might be wanting a graphical login instead of the command line.



              If that's your goal, then you'll need to make sure that you have X and a desktop installed, then switch your default runlevel to 5.



              Section 35.3 lists the steps: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/sn-switching-to-gui-login.html



              Edit:
              The linked doc also has the steps for using your installation DVD as a repository, but as Joel mentioned, it is probably less complicated as a new user to do a re-install with the desktop packages installed from the get-go.






              share|improve this answer



























                up vote
                1
                down vote













                What precisely is your goal? If it was just to log in as root, you did do that and you have access to the system, but it sounds like you might be wanting a graphical login instead of the command line.



                If that's your goal, then you'll need to make sure that you have X and a desktop installed, then switch your default runlevel to 5.



                Section 35.3 lists the steps: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/sn-switching-to-gui-login.html



                Edit:
                The linked doc also has the steps for using your installation DVD as a repository, but as Joel mentioned, it is probably less complicated as a new user to do a re-install with the desktop packages installed from the get-go.






                share|improve this answer

























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  What precisely is your goal? If it was just to log in as root, you did do that and you have access to the system, but it sounds like you might be wanting a graphical login instead of the command line.



                  If that's your goal, then you'll need to make sure that you have X and a desktop installed, then switch your default runlevel to 5.



                  Section 35.3 lists the steps: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/sn-switching-to-gui-login.html



                  Edit:
                  The linked doc also has the steps for using your installation DVD as a repository, but as Joel mentioned, it is probably less complicated as a new user to do a re-install with the desktop packages installed from the get-go.






                  share|improve this answer














                  What precisely is your goal? If it was just to log in as root, you did do that and you have access to the system, but it sounds like you might be wanting a graphical login instead of the command line.



                  If that's your goal, then you'll need to make sure that you have X and a desktop installed, then switch your default runlevel to 5.



                  Section 35.3 lists the steps: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/sn-switching-to-gui-login.html



                  Edit:
                  The linked doc also has the steps for using your installation DVD as a repository, but as Joel mentioned, it is probably less complicated as a new user to do a re-install with the desktop packages installed from the get-go.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Oct 24 '13 at 19:08

























                  answered Oct 24 '13 at 18:52









                  Seananigans

                  7219




                  7219






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f97460%2fred-hat-login-problem-with-root%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      サソリ

                      広島県道265号伴広島線

                      Accessing regular linux commands in Huawei's Dopra Linux