Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to logout of X to console?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lodger
n00b
n00b


Joined: 16 Apr 2002
Posts: 53

PostPosted: Mon Apr 22, 2002 3:46 am    Post subject: How to logout of X to console? Reply with quote

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
View user's profile Send private message
Fragadelic
n00b
n00b


Joined: 18 Apr 2002
Posts: 26

PostPosted: Mon Apr 22, 2002 4:44 am    Post subject: Reply with quote

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
View user's profile Send private message
lodger
n00b
n00b


Joined: 16 Apr 2002
Posts: 53

PostPosted: Tue Apr 23, 2002 12:01 am    Post subject: Reply with quote

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
View user's profile Send private message
garyura
n00b
n00b


Joined: 18 Apr 2002
Posts: 12

PostPosted: Tue Apr 23, 2002 12:38 am    Post subject: Reply with quote

The clean way to getout from the X is open the xterm or what ever then type " init 3 " .
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Apr 23, 2002 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message
lodger
n00b
n00b


Joined: 16 Apr 2002
Posts: 53

PostPosted: Tue Apr 23, 2002 12:40 am    Post subject: Reply with quote

Thank you very much.

Roger
Back to top
View user's profile Send private message
impaler
n00b
n00b


Joined: 19 Apr 2002
Posts: 5

PostPosted: Wed Apr 24, 2002 5:38 pm    Post subject: use failesafe session Reply with quote

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
View user's profile Send private message
friedmud
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 258
Location: Austin, TX USA

PostPosted: Wed Apr 24, 2002 6:55 pm    Post subject: Hmmm..... Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum