Welcome to the forums!
To disable GDM edit the file /etc/default/grub and replace GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" with GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text", then generate a new Grub2 config file:
NOTE: You can delete the quiet option to make the boot process verbose and delete splash to disable the splash screen.
You can use mgetty to auto login to a virtual console. Install it (it's in the universe repo):
Code:
sudo apt-get install mingetty
Then edit /etc/init/tty1.conf to something like:
Code:
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/mingetty --autologin USERNAME tty1 linux
Of course, you have to replace USERNAME with your login name.
And finally, to auto start your application when you are logging in to vc1 (tty1) add something like:
Code:
if [[ $(tty) = /dev/tty1 ]]; then
command
fi
to your ~/.bash_profile file.
Replace command with the command you want to run.
Bookmarks