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
linux rhel
add a comment |
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
linux rhel
Do you mean the terminal displays root@myName~1 ?
– Ramesh
Oct 24 '13 at 18:36
add a comment |
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
linux rhel
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
linux rhel
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
add a comment |
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
add a comment |
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:
- "Meh It's a server anyways. All I need is command line."
- Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.
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 toyum 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.
- Install Xorg via
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.
add a comment |
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.
add a comment |
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:
- "Meh It's a server anyways. All I need is command line."
- Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.
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 toyum 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.
- Install Xorg via
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.
add a comment |
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:
- "Meh It's a server anyways. All I need is command line."
- Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.
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 toyum 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.
- Install Xorg via
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.
add a comment |
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:
- "Meh It's a server anyways. All I need is command line."
- Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.
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 toyum 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.
- Install Xorg via
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.
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:
- "Meh It's a server anyways. All I need is command line."
- Since it's a new install, start over again, but pick an installation profile that's likely to install a GUI.
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 toyum 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.
- Install Xorg via
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.
edited Oct 24 '13 at 19:23
answered Oct 24 '13 at 18:51
Bratchley
11.8k64388
11.8k64388
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
edited Oct 24 '13 at 19:08
answered Oct 24 '13 at 18:52
Seananigans
7219
7219
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Do you mean the terminal displays root@myName~1 ?
– Ramesh
Oct 24 '13 at 18:36