![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
WTF?
![]() Join Date: Jul 2006
Location: Lost!
Beans: 7,154
|
Another autologin how to
1
Last edited by kerry_s; August 19th, 2008 at 08:39 PM.. |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2007
Beans: 16
|
Re: Another autologin how to
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:
Code:
respawn /sbin/getty -n -l /usr/bin/autologin 38400 tty1 ... make sure your edit looks like this: Code:
respawn exec /sbin/getty -n -l /usr/bin/autologin 38400 tty1 Code:
# 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 |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Beans: 5
Ubuntu 7.04 Feisty Fawn
|
Re: Another autologin how to
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 |
|
|
|
|
|
#4 | |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Location: Norway
Beans: 21
Ubuntu Intrepid Ibex (testing)
|
Re: Another autologin how to
Quote:
Code:
gaim & |
|
|
|
|
|
|
#5 |
|
Has an Ubuntu Drip
![]() |
Re: Another autologin how to
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.
__________________
# |
|
|
|
|
|
#6 |
|
WTF?
![]() Join Date: Jul 2006
Location: Lost!
Beans: 7,154
|
Re: Another autologin how to
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.
|
|
|
|
|
|
#7 | |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2007
Beans: 16
|
Re: Another autologin how to
Quote:
Did you try what I wrote in my reply up above? |
|
|
|
|
|
|
#8 |
|
Has an Ubuntu Drip
![]() |
Re: Another autologin how to
@ viletimes - no i didn't see yours. I'll give it another try. Cheers for the heads up
__________________
# |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Location: Calgary, Canada
Beans: 1
Ubuntu 6.06 Dapper
|
Re: Another autologin how to
Excellent article. One small error, though, in the inittab changes for Dapper: a colon is needed after respawn, ie.
Code:
1:2345:respawn /sbin/getty -n -l /usr/bin/autologin 38400 tty1 Code:
1:2345:respawn:/sbin/getty -n -l /usr/bin/autologin 38400 tty1
__________________
Jan Kat jan-kat.blogspot.com |
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Beans: 6
Xubuntu 7.04 Feisty Fawn
|
Re: Another autologin how to
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 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|