View previous topic :: View next topic |
Author |
Message |
lodger n00b

Joined: 16 Apr 2002 Posts: 53
|
Posted: Mon Apr 22, 2002 3:46 am Post subject: How to logout of X to console? |
|
|
Gentoo boots to gdm but when I want to leave
X gdm offers either shutdown or reboot. I would
like to logout to the console. How can I set this up
w/o being a programmer?
Thanks,
Roger |
|
Back to top |
|
 |
Fragadelic n00b


Joined: 18 Apr 2002 Posts: 26
|
Posted: Mon Apr 22, 2002 4:44 am Post subject: |
|
|
CTRL-ALT-F1 or CTRL-ALT-F2, etc will get you to a console prompt but unfortunately when a display manager like GDM or KDM is running, you can't really get to pure console unless you do the CTRL-ALT-F1(F2,F3,F4) and then issue a 'killall -KILL X'. |
|
Back to top |
|
 |
lodger n00b

Joined: 16 Apr 2002 Posts: 53
|
Posted: Tue Apr 23, 2002 12:01 am Post subject: |
|
|
Fragadelic,
Well that's not very elegant at all.
There must be some way to close
X cleanly and go directly to the command line.
Roger[/quote] |
|
Back to top |
|
 |
garyura n00b


Joined: 18 Apr 2002 Posts: 12
|
Posted: Tue Apr 23, 2002 12:38 am Post subject: |
|
|
The clean way to getout from the X is open the xterm or what ever then type " init 3 " . |
|
Back to top |
|
 |
delta407 Bodhisattva


Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Apr 23, 2002 12:39 am Post subject: |
|
|
Switching to real consoles is the easiest solution -- kdm for one restarts X whenever it dies automatically. (Though, the Skipjack beta included an option to drop to command line from the greeter box... how'd they do that, anyway?) |
|
Back to top |
|
 |
lodger n00b

Joined: 16 Apr 2002 Posts: 53
|
Posted: Tue Apr 23, 2002 12:40 am Post subject: |
|
|
Thank you very much.
Roger |
|
Back to top |
|
 |
impaler n00b

Joined: 19 Apr 2002 Posts: 5
|
Posted: Wed Apr 24, 2002 5:38 pm Post subject: use failesafe session |
|
|
You can use different session to login.
gdm offer you failsafe session (xterm) and failsafe session (gnoterm)
I usually do xterm.
It's not pretty - small fonts in non-movable window.
Well, default font can be changed and window can be repositioned by modifying session script.
To change/see your available session you should look in Settings -
Advanced tab I believe.
I usually go to xterm session and login as root
Then I do
Code: | /etc/init.d/xdm stop |
- it stops xdm and I'm back to console window with login prompt.
To get back to xdm I do
Code: | /etc/init.d/xdm start |
or reboot - usually I need to get rid of xdm only for system changes and I need to reboot anyway. |
|
Back to top |
|
 |
friedmud Apprentice


Joined: 18 Apr 2002 Posts: 258 Location: Austin, TX USA
|
Posted: Wed Apr 24, 2002 6:55 pm Post subject: Hmmm..... |
|
|
Well, if you want to be able to get out of X why are using a *dm at all???
Just stop making whatever dm your using start on boot - and then login on the console and issue a "startx" instead.
Then when you logout of X (or kill it with CTRL+ALT+BKSPC) you will be back to the console you logged in on before.
a *dm is for people who never want to just use console - don't use one if you dont want a graphical display all the time.
Derek |
|
Back to top |
|
 |
|