Results 1 to 7 of 7

Thread: Autologin in Lubuntu 12.04, what USERNAME?

  1. #1
    Join Date
    May 2012
    Beans
    291
    Distro
    Ubuntu Development Release

    Autologin in Lubuntu 12.04, what USERNAME?

    Hi, I installed Lubuntu 12.04 via Wubi. How can I find my USERNAME to enable autologin in Lubuntu 12.04?
    LXTerminal shows USERNAME@ubuntu:~$
    User Settings/Users and Groups shows a different USERNAME.

    Caution novice computer users, don't edit without fear of dealing with problems.

    Enable auto login with LXDM (lightweight display manager) in Lubuntu 12.04:

    Add autologin=USERNAME to /etc/lxdm/default.conf

    gksudo leafpad /etc/lxdm/default.conf
    gksudo leafpad /etc/lxdm/lxdm.conf (?)

  2. #2
    Join Date
    Feb 2011
    Location
    Somewhere...
    Beans
    1,554
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Autologin in Lubuntu 12.04, what USERNAME?

    The username in the terminal is the actual username on the system. The username in User Settings is just the display name. Use the first one.

  3. #3
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Autologin in Lubuntu 12.04, what USERNAME?

    The terminal command
    Code:
    ls /home
    will also tell you the name to use.

  4. #4
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: Autologin in Lubuntu 12.04, what USERNAME?

    Wubi defaults the display name to the windows account you installed on and the ubuntu userid to the lower case of the windows logon.

    The idea is: Windows account: John, Ubuntu username: john. Then when you logon to Ubuntu you see "John".

    But in practice many people login to Windows as: Administrator or M5123, and pick an ubuntu username of e.g. john.

    So you see Administrator when you logon and your Ubuntu desktop, but your username is still john.

    If you don't fit into the "John/john" category, I recommend changing it to avoid confusion: http://askubuntu.com/a/143872/14916

  5. #5
    Join Date
    May 2012
    Beans
    291
    Distro
    Ubuntu Development Release

    Re: Autologin in Lubuntu 12.04, what USERNAME?

    Thank's zombifier25, ajgreeny & bcbc. Adding autologin=USERNAME to default.conf & lxdm.conf USERNAME from USERNAME@ubuntu:~$ or User Settings/Users and Groups doesn't work. I have installed Lubuntu 12.04 through Wubi on Windows XP. Any help appreciated.

    @bcbc
    Code:
    sudo cat /etc/passwd | grep USERNAME (from USERNAME@ubuntu:~$)
    USERNAME (from USERNAME@ubuntu:~$):x:1000:1000:USERNAME (from login screen LXDM),,,:/home/USERNAME (from USERNAME@ubuntu:~$):/bin/bash

  6. #6
    Join Date
    May 2012
    Beans
    291
    Distro
    Ubuntu Development Release

    Re: Autologin in Lubuntu 12.04, what USERNAME?

    [SOLVED] [lubuntu] Autologin in Lubuntu 12.04, what USERNAME?

    WARNING! Caution, don't try on production machines without fear of dealing with problems. Write autologin-user=USERNAME (from USERNAME@ubuntu:~$ or ls /home) below [SeatDefaults]!

    gksudo leafpad /etc/lightdm/lightdm.conf

    [SeatDefaults]
    greeter-session=lightdm-gtk-greeter
    user-session=Lubuntu
    autologin-user=USERNAME (from USERNAME@ubuntu:~$ or ls /home)
    autologin-user-timeout=0

  7. #7
    Join Date
    May 2012
    Beans
    291
    Distro
    Ubuntu Development Release

    Re: Autologin in Lubuntu 12.04, what USERNAME?

    [SOLVED] [lubuntu] Autologin in Lubuntu 12.10

    WARNING! Caution, proceed with care! (# default at fresh 12.10 installation)

    Open LXTerminal:
    gksudo leafpad /etc/lightdm/lightdm.conf

    Code:
    #[SeatDefaults]
    #greeter-session=lightdm-gtk-greeter
    #user-session=Lubuntu
    
    [SeatDefaults]
    greeter-session=lightdm-gtk-greeter
    user-session=Lubuntu
    autologin-user=USERNAME
    autologin-user-timeout=0

Tags for this Thread

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
  •