Jump to content
Galactic

How to start with a login shell in text mode

Recommended Posts

Hello,

I have a pcDuino v2, and in board-config, I have choose to start in text mode ( if I work with GUI/LXDE I run lightdm ). But when I turn power on, after boot, I am directly in root user account; I've not a login shell.

root@ubuntu:~#

And in this case, logout has no effect!!

What can I do in order to have a login shell in text mode.

Thanks.

 

Share this post


Link to post
Share on other sites

Hi all,

 

After boot process, I would have something like this (it's my Linux/Slackware computer) :

Welcome to Linux 3.10.17 (tty1)
pc-asus login :

and not like that (actually on my pcDuino/Ubuntu) :

root@ubuntu~#:

or :

ubuntu@ubuntu~$:

It seem that at the end of boot process, "login process" is ignored and we go directly to the root account.

Share this post


Link to post
Share on other sites

Hi,

 

I was also facing the same issue and I found this : 

“to get rid of annoying root autologins rename “/etc/init/openvt.conf” to “/etc/init/openvt.conf.noboot” and edit “/etc/default/autogetty” to disable tty and serial autologin”

In a comment of this topic : https://www.the-greathouses.net/blog/2013/03/pcduino-u-boot-part-1/

It work well for me!

 

Hope it will help you if you haven't solved your issue yet!

 

Regards,

 

76MPaul

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×