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

Thread: How to auto-login on xubuntu 14.04

  1. #1
    Join Date
    Feb 2014
    Beans
    17

    How to auto-login on xubuntu 14.04

    Hey.

    I'm using Xubuntu 14.04 and I'm interested in logging in directly to the desktop. I've, in my user settings, my account configured not to ask for a password on login. However, I still need to press "enter", which kind of annoyes me.

    Is there a way to boot directly to the desktop?

    PS: My title is kind of bad, perhaps you (an admin) should change it to something more descriptive.
    Last edited by mmf2; February 18th, 2014 at 07:06 AM.

  2. #2
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    4,272
    Distro
    Ubuntu Development Release

    Re: Logging in directly to the desktop - No password whatsoever

    Quote Originally Posted by mmf2 View Post
    PS: My title is kind of bad, perhaps you (an admin) should change it to something more descriptive.
    You can change title for Yourself (advanced editor)...

  3. #3
    Join Date
    Feb 2014
    Beans
    17

    Re: Logging in directly to the desktop - No password whatsoever

    Quote Originally Posted by zika View Post
    You can change title for Yourself (advanced editor)...
    I don't know what to write...

  4. #4
    Join Date
    Apr 2012
    Beans
    5,910

    Re: Logging in directly to the desktop - No password whatsoever

    I'm not on 14.04 yet, but it sounds like you set up nopasswdlogin rather than autologin (they are different things)

    If things haven't changed too much then you should be able to configure lightdm (which I *think* is used by Xubuntu) for autologin either by editing the lightdm.conf file or by using the lightdm-set-defaults utility

    Code:
    sudo /usr/lib/lightdm/lightdm-set-defaults --autologin username
    See https://wiki.ubuntu.com/LightDM#Autologin

  5. #5
    Join Date
    Feb 2014
    Beans
    17

    Re: Logging in directly to the desktop - No password whatsoever

    Quote Originally Posted by steeldriver View Post
    I'm not on 14.04 yet, but it sounds like you set up nopasswdlogin rather than autologin (they are different things)

    If things haven't changed too much then you should be able to configure lightdm (which I *think* is used by Xubuntu) for autologin either by editing the lightdm.conf file or by using the lightdm-set-defaults utility

    Code:
    sudo /usr/lib/lightdm/lightdm-set-defaults --autologin username
    See https://wiki.ubuntu.com/LightDM#Autologin
    Hey steeldriver. Thank's for the help but unfortunately, it did not work. When I try that, it says "command not found".

  6. #6
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to auto-login on xubuntu 14.04

    Quick check found

    https://launchpad.net/ubuntu/+source/lightdm/+changelog

    - Remove lightdm-set-defaults and gdmflexiserver.
    I did have a quick play last night with this - setting in users and groups to not want password at login, adding autologin to the lightdm.conf - just ended up with no authentication and no way seemingly at the login to do so.

  7. #7
    Join Date
    Feb 2014
    Beans
    17

    Re: How to auto-login on xubuntu 14.04

    Quote Originally Posted by Elfy View Post
    Quick check found

    https://launchpad.net/ubuntu/+source/lightdm/+changelog



    I did have a quick play last night with this - setting in users and groups to not want password at login, adding autologin to the lightdm.conf - just ended up with no authentication and no way seemingly at the login to do so.
    So, if I understand correctly, by deleting lightdm-set-defaults and gdmflexiserver I'll accomplish what I want?

  8. #8
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to auto-login on xubuntu 14.04

    No idea, I didn't try it. If you break it you get to keep both bits at least. Try it in a vm

  9. #9
    Join Date
    Feb 2014
    Beans
    17

    Re: How to auto-login on xubuntu 14.04

    I don't feel very comfortable trying something like that.. I hate to break my OS!

    Btw, does your trash icon also bug when not empty?

  10. #10
    Join Date
    Aug 2009
    Location
    Aberdeen, UK
    Beans
    18
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to auto-login on xubuntu 14.04

    I was reading this thread and got auto-login working ok in Xubuntu 14.04

    I think in older version of Xubuntu, 11.10, for example, the lightdm conf files was at "/etc/lightdm/lightdm.conf" (as per soloution at http://ubuntuforums.org/showthread.php?t=1864527) but now it is at "/etc/lightdm/lightdm.conf.d/10-xubuntu.conf".

    So, I just changed this from...

    [SeatDefaults]
    user-session=xubuntu
    ...to...

    [SeatDefaults]
    user-session=xubuntu
    autologin-user=cfi-user
    ...and now it is logging in fine. My username is "cfi-user", so change that to yours. "cfi-user" might seem an odd name, but this is an embedded customer service kiosk thing.
    I'm a web developer working with Open Source LAMP and AJAX (PHP, JS, MySQL, CSS). I've worked in design and IT too. Been writing code for 20 years. I work at SSOFB in Aberdeen Scotland. I've also lived in London, Edinburgh, Sydney and Glasgow.

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
  •