Results 1 to 9 of 9

Thread: Lubuntu auto login

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Beans
    56

    Lubuntu auto login

    hello I installed lubuntu-desktop on an old computer for my cousins kids
    from the lucid mini.iso
    can someone help me set up auto login for them?
    Last edited by JUSTINBEAIRD; May 4th, 2010 at 09:00 AM.

  2. #2
    Join Date
    Jul 2006
    Location
    Here
    Beans
    9,703

    Re: Lubuntu auto login

    /etc/lxdm/default.conf

    just uncomment to activate it & put your name.

    mine looks like this.
    Last edited by kerry_s; May 21st, 2010 at 03:37 PM.

  3. #3
    Join Date
    Nov 2008
    Beans
    13

    Re: Lubuntu auto login

    thanks, it works for me

  4. #4
    Join Date
    Apr 2007
    Beans
    26

    Re: Lubuntu auto login

    Worked great for me too - if anyone else wants to do this, it's just a few easy steps:

    Open Accessories->LXTerminal

    Type the text below and hit enter

    Code:
    sudo leafpad /etc/lxdm/default.conf
    Type your password when prompted, and hit enter again.

    Add this line to the text beneath the [base] section, substituting your username:

    Code:
    autologin=myusername
    Save the file, and you're done!

    Thanks for the advice
    Last edited by w1zard; May 11th, 2010 at 10:42 AM.

  5. #5
    Join Date
    Jul 2006
    Location
    Here
    Beans
    9,703

    Re: Lubuntu auto login

    Quote Originally Posted by w1zard View Post
    Worked great for me too - if anyone else wants to do this, it's just a few easy steps:

    Open Accessories->LXTerminal

    Type the text below and hit enter

    Code:
    sudo leafpad /etc/lxdm/default.conf
    Type your password when prompted, and hit enter again.

    Add this line to the text beneath the [base] section, substituting your username:

    Code:
    autologin=myusername
    Save the file, and you're done!

    Thanks for the advice
    your suppose to use "gksudo" for graphical programs, then you can just use your alt+f2 run command.

    i actually use a script for mine in /usr/local/bin which overides the leafpad command, i have nopasswd set in sudoers for it:
    Code:
    #!/bin/bash
    
    test=`stat -c %U "$@"`
    if [ "$test" == "root" ]; then
    	gksudo /usr/bin/leafpad "$@" &
    else
    	/usr/bin/leafpad "$@" &
    fi
    exit 0
    makes life easy.
    Last edited by kerry_s; May 21st, 2010 at 03:37 PM.

  6. #6
    Join Date
    Apr 2007
    Beans
    26

    Re: Lubuntu auto login

    Thanks for the tips! This certainly makes life easier

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
  •