Sie sind auf Seite 1von 4

12/27/2018 Boot into Text Mode and Login Automatically - Ubuntu Sharing

Home
Contact

Ubuntu Sharing
Ubuntu Tips | Ubuntu Howtos | Ubuntu Tutorials

>

Boot into Text Mode and Login Automatically


Published in
Posted by Meilin in Security

This simple tutorial will show you how to boot your Ubuntu directly into text mode and log-in automatically
without entering username/password by manual.

First make Ubuntu boot into text mode:

Hit Ctrl+Alt+T to launch a terminal window. Then edit /etc/default/grub with your favorite editor, for example:

sudo gedit /etc/default/grub

Find out this line:


GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

change it into:
GRUB_CMDLINE_LINUX_DEFAULT="text"

Apply changes:

file:///media/verthex/32gig/Boot%20into%20Text%20Mode%20and%20Login%20Automatically%20-%20Ubuntu%20Sharing.html 1/4
12/27/2018 Boot into Text Mode and Login Automatically - Ubuntu Sharing
sudo update-grub

At next boot, your Ubuntu will directly boot into text mode, you can start graphical interface via this command:
sudo lightdm

Automatic login without username/password in text mode:

Add -a <your-user-name> to the line:

exec /sbin/getty -8 38400 tty1

in file /etc/init/tty1.conf

For example, auto login with user meilin:


exec /sbin/getty -8 38400 tty1 -a meilin

/etc/init/tty1.conf is the upstart job that runs at the appropriate time to start the terminal session on tty1. Adding
the -a option tells getty to call the login program with the -f option to sign that user in, bypassing the user
prompt from getty and the password prompt from login.

via askubuntu

No user responded in " Boot into Text Mode and Login Automatically
"
Recent Posts

How to Install Gnome-Pie 0.6.5 in Ubuntu 15.10, 15.04, 14.04


How to Install Podcast Client ‘Vocal’ in Ubuntu 14.04
Ubuntu 15.04: different wallpapers on each workspace
Install Missing Session Icons/logos for Ubuntu 14.04/14.10 Login Screen
XFCE 4.12 Finally Released After 2 Years and 10 Months of Work

Linode

file:///media/verthex/32gig/Boot%20into%20Text%20Mode%20and%20Login%20Automatically%20-%20Ubuntu%20Sharing.html 2/4
12/27/2018 Boot into Text Mode and Login Automatically - Ubuntu Sharing

Ubuntu Sharing is hosted on a Linode virtual private server running Ubuntu 12.04 LTS Server Edition

Categories
Backup
Compiz
General
Internet
Mozilla Firefox
Security

Archives

Select Month

Popular Posts
Sorry. No data so far.

file:///media/verthex/32gig/Boot%20into%20Text%20Mode%20and%20Login%20Automatically%20-%20Ubuntu%20Sharing.html 3/4
12/27/2018 Boot into Text Mode and Login Automatically - Ubuntu Sharing

Google Pixelbook.

Buy now

Free shipping.

© 2005-2012 All rights reserved. Ubuntu Sharing

file:///media/verthex/32gig/Boot%20into%20Text%20Mode%20and%20Login%20Automatically%20-%20Ubuntu%20Sharing.html 4/4

Das könnte Ihnen auch gefallen