Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Another autologin how to

  1. #1
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Another autologin how to

    1
    Last edited by kerry_s; August 20th, 2008 at 01:39 AM.

  2. #2
    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
    Here is my tty1 file in its entirety:

    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
    Thanks again for the howto and I hope this helps someone.

  3. #3
    Join Date
    Jun 2007
    Beans
    5
    Distro
    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. #4
    Join Date
    Feb 2006
    Location
    Norway
    Beans
    29
    Distro
    Ubuntu

    Re: Another autologin how to

    Quote Originally Posted by xi0n0ix View Post
    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

    Code:
    gaim &

  5. #5
    Join Date
    Mar 2007
    Location
    #
    Beans
    737

    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.
    Is this for enhancing your E-peen?

  6. #6
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    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. #7
    Join Date
    Feb 2007
    Beans
    16

    Re: Another autologin how to

    Quote Originally Posted by regomodo View Post
    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?

  8. #8
    Join Date
    Mar 2007
    Location
    #
    Beans
    737

    Re: Another autologin how to

    Quote Originally Posted by VileTimes View Post
    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
    Is this for enhancing your E-peen?

  9. #9
    Join Date
    Jun 2007
    Location
    Calgary, Canada
    Beans
    1
    Distro
    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
    should be

    Code:
    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.

  10. #10
    Join Date
    Dec 2007
    Beans
    6
    Distro
    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

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •