Mint LXDE 10 automatic login? SOLVED

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
al.adab
Level 2
Level 2
Posts: 66
Joined: Sat Aug 08, 2009 8:51 pm

Mint LXDE 10 automatic login? SOLVED

Postby al.adab » Tue Feb 22, 2011 12:01 pm

hello, just come back to Mint :)

I can't set Mint to log in automatically, for some reason...

Menu>Preferences>Users&Groups>Password (change to) "not asked on login" didn't help.

Neither did
viewtopic.php?f=90&t=65964&p=380992&hilit=automatic+login#p380992
("dgod" is nowhere in the file, so don't know what else I should replace with my username...I tried to replace "base" but it didn't work").

Can you please help?
Last edited by al.adab on Tue Feb 22, 2011 2:10 pm, edited 1 time in total.

AlbertP
Level 16
Level 16
Posts: 6709
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Mint LXDE 10 automatic login?

Postby AlbertP » Tue Feb 22, 2011 12:29 pm

Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.

al.adab
Level 2
Level 2
Posts: 66
Joined: Sat Aug 08, 2009 8:51 pm

Re: Mint LXDE 10 automatic login?

Postby al.adab » Tue Feb 22, 2011 12:50 pm

thanks but /etc/slim.conf is empty...
the edit command I'm using is leafpad

User avatar
Aging Technogeek
Level 13
Level 13
Posts: 4595
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: Mint LXDE 10 automatic login?

Postby Aging Technogeek » Tue Feb 22, 2011 1:31 pm

To log in automatically in Mint 10 LXDE, open a terminal and type

Code: Select all

 sudo leafpad /etc/xdg/lxdm/lxdm.conf


enter your password and, when the file opens, change the first two lines from this

Code: Select all

#autologin=mint
#session=/usr/bin/startmintlxde


to this

Code: Select all

autologin=john
session=/usr/bin/startmintlxde


Replace "john" with your user name.

Save the changed file and close the window and the terminal. You should now be set to log in automatically.
Registered Linux User 483387

al.adab
Level 2
Level 2
Posts: 66
Joined: Sat Aug 08, 2009 8:51 pm

Re: Mint LXDE 10 automatic login?

Postby al.adab » Tue Feb 22, 2011 2:09 pm

Thanks tons. It worked :)

fish_b0oy
Level 1
Level 1
Posts: 2
Joined: Sun Apr 03, 2011 9:38 am

Re: Mint LXDE 10 automatic login? SOLVED

Postby fish_b0oy » Sun Apr 03, 2011 9:44 am

Sorry that I'm writing here. But your method doesn't work for me!
I have installed linux mint lxde version today with all the updates...
Here is my lxdm.conf file:

Code: Select all

[base]
autologin=user
session=/usr/bin/startmintlxde
# numlock=0
greeter=/usr/lib/lxdm/lxdm-greeter-gtk

last_session=mint-lxde.desktop

last_lang=

[server]
# arg=/usr/bin/X -nr vt1

[display]
gtk_theme=Mint-X-Metal
bg=/usr/share/backgrounds/linuxmint-julia/emvalibe_silver.jpg
bottom_pane=1
lang=1
theme=Mint

[input]


user is my username :)

allow_guests
Level 1
Level 1
Posts: 22
Joined: Wed May 18, 2011 2:01 am

Re: Mint LXDE 10 automatic login? SOLVED

Postby allow_guests » Wed May 18, 2011 2:06 am

It works for me if I edit this file instead: /etc/lxdm/default.conf

That file is linked to two others:
/etc/alternatives/lxdm.conf
/etc/xdg/lxdm/live.conf
Why don't you allow guest posts? Do you have any idea how much time it takes to register (which requires JS)?


Return to “Newbie Questions”

Who is online

Users browsing this forum: inkoalawetrust, MintBean, mogette, Tech Freak and 16 guests