View Full Version : Another autologin how to
kerry_s
November 20th, 2006, 05:14 AM
1
VileTimes
April 24th, 2007, 10:27 PM
Just a note for anyone trying to get this autologin method working in Feisty, follow all of the steps as per an Edgy install with the exception of editing the tty1 file. Instead of adding a line like this:
respawn /sbin/getty -n -l /usr/bin/autologin 38400 tty1
... make sure your edit looks like this:
respawn
exec /sbin/getty -n -l /usr/bin/autologin 38400 tty1
Here is my tty1 file in its entirety:
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5
stop on runlevel 0
stop on runlevel 1
stop on runlevel 6
stop on shutdown
respawn
exec /sbin/getty -n -l /usr/bin/autologin 38400 tty1
Thanks again for the howto and I hope this helps someone.
xi0n0ix
June 13th, 2007, 10:44 AM
Hello,
Great tutorial! Worked like a charm!
I was just wondering, how would I automatically start a program (PD for example) after auto startx completes...
So when I (re)boot the system I am automatically logged in, X automatically starts, and then my program automatically starts and runs..
Do I just add a line at the bottom of my ~/.profile like 'exec pd' or do I need more to make sure that X is started properly and has finished.
thanks
mark
ways
June 18th, 2007, 03:31 PM
Hello,
Great tutorial! Worked like a charm!
I was just wondering, how would I automatically start a program (PD for example) after auto startx completes...
So when I (re)boot the system I am automatically logged in, X automatically starts, and then my program automatically starts and runs..
Do I just add a line at the bottom of my ~/.profile like 'exec pd' or do I need more to make sure that X is started properly and has finished.
thanks
mark
you add the program name and an '&' in ~/.xprofile
gaim &
regomodo
July 8th, 2007, 06:22 PM
something is wrong with this "howto". It works fine until i reboot where tty1 hangs at
# running local bootscripts (etc/rc.local)
I have to get into tty2 and then login, thus rendering the autologin procedure useless.
kerry_s
July 8th, 2007, 08:31 PM
now a days you should use gdm, it use's less resources and everything is so tied into a login manager, that when you don't use one you get all these little quirks/errors that continue to build up. i've run several tests and with gdm it use's less resources then startx, i have no idea why.
VileTimes
July 8th, 2007, 09:23 PM
something is wrong with this "howto". It works fine until i reboot where tty1 hangs at
# running local bootscripts (etc/rc.local)
I have to get into tty2 and then login, thus rendering the autologin procedure useless.
I was experiencing the same issue until I changed the tty1 file.
Did you try what I wrote in my reply up above?
regomodo
July 9th, 2007, 03:12 PM
I was experiencing the same issue until I changed the tty1 file.
Did you try what I wrote in my reply up above?
@ viletimes - no i didn't see yours. I'll give it another try. Cheers for the heads up
jkat
September 3rd, 2007, 10:05 PM
Excellent article. One small error, though, in the inittab changes for Dapper: a colon is needed after respawn, ie.
1:2345:respawn /sbin/getty -n -l /usr/bin/autologin 38400 tty1
should be
1:2345:respawn:/sbin/getty -n -l /usr/bin/autologin 38400 tty1
Otherwise at boot init responds with errors of the action field being too long.
UmbraMalison
December 5th, 2007, 11:41 AM
Hi,
i just can't get this to work on my machine.
im using feisty fawn, and i took note of VileTimes' tty information. but to no avail.
i've read and re-read the entire post. but perhaps there is something i keep missing.
my error is:
init: tty1 main process (3279) terminated with status 1
the tty1 is completely dead, i have to change to tty2 to do anything.
Has anyone else seen this before? perhaps some recent updates has caused my machine to behave differently to the fesity fawn that VileTimes used??
any help would be great, thanks
UmbraMalison
December 10th, 2007, 12:18 PM
if you have problems getting this to work like i did. See this post where ive described the solution i used.
http://ohioloco.ubuntuforums.org/showthread.php?p=3926755#post3926755
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.