goose2000
Posts: 3
Joined: Mon Sep 03, 2012 11:15 pm

Back to command line login ?

Wed Sep 05, 2012 11:34 pm

Hi, I setup my RPI to boot with an interface (startx). No I have some new goals and want to boot into the command line. Is there a way I can change that or do I need to re-do the SD card all over?

Or, is there a way to exit the login screen, and go to command line?

User avatar
Licaon_Kter
Posts: 240
Joined: Wed Sep 05, 2012 10:12 am
Location: Between the keyboard and the chair.

Re: Back to command line login ?

Thu Sep 06, 2012 12:54 am

CTRL-ALT-F1 -> to command line, login, then run 'service stop lightdm' to stop the login manager

for the next time edit sudo nano /etc/inittab and there should be a default something like id:5:initdefault:
that you change to id:3:initdefault:

more info: http://elinux.org/RPi_Debian_Auto_Login
BFQ+BFS or RT on a RPi? 4'real: https://github.com/licaon-kter/ (source and compiled!)

goose2000
Posts: 3
Joined: Mon Sep 03, 2012 11:15 pm

Re: Back to command line login ?

Thu Sep 06, 2012 2:21 am

Excellent! Thought that should be doable.

Thanks to Licaon_Kter

spitecho
Posts: 24
Joined: Tue Jul 10, 2012 12:03 am
Location: internet

Re: Back to command line login ?

Thu Sep 06, 2012 3:13 am

You can also run sudo raspi-config and change the "boot_behaviour" setting.

User avatar
Licaon_Kter
Posts: 240
Joined: Wed Sep 05, 2012 10:12 am
Location: Between the keyboard and the chair.

Re: Back to command line login ?

Fri Sep 07, 2012 8:50 am

yeah of course, I forgot about that :?
BFQ+BFS or RT on a RPi? 4'real: https://github.com/licaon-kter/ (source and compiled!)

psutton
Posts: 178
Joined: Thu Jan 12, 2012 10:45 pm
Location: Devon
Contact: Website Twitter

Re: Back to command line login ?

Wed Sep 12, 2012 8:28 pm

I would suggest learning both methods, using raspi-config sounds great (so thanks for that) , but at least by learning the manual way you get an understanding of what the config program is doing, and know where to look if it fails to do what you expected.

Return to “Beginners”