You are not logged in.
Hi, I like booting to the terminal with no GUI since I might turn on the computer just for doing some computation-intensive tasks but I would like to have the convenience of the login managers from Gnome/Ubuntu. I don`t know what the real name is but if you boot to the GUI in Ubuntu this login can happen automatically-no need to fill the username and password, so, how is it possible to to this auto-login in the terminal when you first start up your ArchLinux or other distro without the overhead of starting the GUI `question mark`(i don`t know why but in the openbox session or firefox my keyboard layout is different than in the terminal)
Last edited by Alberto Ferreira (2009-04-24 15:31:15)
Offline
http://wiki.archlinux.org/index.php/Start_X_at_boot
Specifically installing gdm and adding it to the deamons list in rc.conf will do it
Last edited by Zariel (2009-04-21 00:28:22)
Offline
I don't think that's what Alberto was asking - I think he wants to auto-login at the command prompt when he boots up (ie. instead of booting to the familiar "Username:" prompt, he just wants to go immediately to a terminal.)
Offline
http://littlesvr.ca/linux-stuff/article … onsole.php
That might help get you started, although I personally see no good reason for this ...
Offline
The reason is that I don't want to execute startx right away but I don't like logging in at the terminal either. So that when I boot the pc, as soon as the booting sequence is ready the pc is ready to work .. (because I'm the only pc user it's boring as hell to always login)
Following crouse's link didn't work for me:
All the lines in the files that the guy talks about are different than in ARCH and when I compile the program it gives the warning :"incompatible implicit declaration of build-in function "execlp"".
Last edited by Alberto Ferreira (2009-04-21 16:40:21)
Offline
I have put this line at the end of /etc/inittab
# Example lines for starting a login manager
x:5:once:/bin/su -c 'bash --login -c startx' -l <username> &> /dev/null < /dev/null
Then when I boot in GUI (telinit 5 at the kernel command line or change the default runlevel) it automatically log me in.
Offline
It didn-t work for me :s
Offline
Remember reading an article about this in the wiki a while back ago, maybe this could be useful:
http://wiki.archlinux.org/index.php/Aut … on_startup
Last edited by PJ (2009-04-22 13:08:36)
Offline
Thanks, used the link and followed the compiling instructions. It works
Offline