LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   desktop question (https://www.linuxquestions.org/questions/linux-software-2/desktop-question-330079/)

darklandz 06-03-2005 05:49 PM

desktop question
 
well, i'm pretty noob in linux, i just installed redhat 9 with the gnome desktop, is it possible to switch back to console mode (non-grafical view) and back on ?

Mega Man X 06-03-2005 06:08 PM

Hi darklandz!

Welcome to LQ.org. You could use some virtual terminals, like pressing ctrl + alt + F[1-6]. This can change slightly from one distro to another, but usually F keys between 1 and 6 are virtual terminals and F7 is the graphical server. You can also boot totally into a command line prompt by editing your /etc/inittab file. Here is an example:

Code:

# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
# The default runlevel.
id:2:initdefault:

This also can be slightly different from one distribution to another. Read the description on your /etc/inittab. In this case, if I login with graphical mode, if I wanted to switch to single user/command line, I'd change the id line to this:
id:1:initdefault:

If I remember correct, Redhat has 3 for command line and 5 for graphical, but read it carefully ;).

As I said, changing that line will give you a command line login. When you reach the command line, login and type "startx" to, well, start the X server :)

Regards!

kencaz 06-03-2005 06:09 PM

Ctrl+Alt+F1 through F6 to open the 6 virtual consoles...
Ctrl+Alt+F7 get's you back to X...

KC

darklandz 06-03-2005 06:13 PM

works like a charm, thank you :D

darklandz 06-04-2005 12:59 PM

hmm i seem to have other problem now...

i changed it to: id:1:initdefault:

that worked and i booted in single user, non-grafical

now i eddited back like it was original : id:5:initdefault:

This should boot me in grafical mode, but it doesn't ... now when i boot i get a prompt asking for wich level i want to boot in, quite annoying

bglnelissen 07-08-2005 11:03 AM

....
 
DONT READ THE TEXT BELLOW, I JUST FOUND OUT IT IS BULLSHIT.

i think you missed a space there.
try to change:

id:1:initdefault:

into:

id: 1 :initdefault
or
id: 1

greetz.
bas



All times are GMT -5. The time now is 03:41 PM.