You are not logged in.

#1 2012-06-30 05:09:48

Plus
Member
Registered: 2011-09-24
Posts: 17

[SOLVED] LXDM Autologin Issue

I am attempting to configure autologin for LXDE using LXDM by editing /etc/lxdm/lxdm.conf (autologin=username).  When I do so, I am logged into a session that looks unfamiliar.  It almost looks like a base openbox session or something with no wallpaper, no autostart scripts, etc.  If I manually choose LXDE from the session dropdown menu in LXDM, the proper session loads.  When choosing Default from the session dropdown menu in LXDM, I am logged into this unfamiliar session.  Anyone have any ideas on how to fix this?  Here is my /etc/lxdm/lxdm.conf file:

[base]
## uncomment and set autologin username to enable autologin
# autologin=

## uncomment and set timeout to enable timeout autologin,
## the value should >=5
# timeout=10

## default session or desktop used when no systemwide config
session=/usr/bin/startlxde

## uncomment and set to set numlock on your keyboard
# numlock=0

## set this if you don't want to put xauth file at ~/.Xauthority
# xauth_path=/tmp

## greeter used to welcome the user
greeter=/usr/lib/lxdm/lxdm-greeter-gtk

[server]
## arg used to start xserver, not fully function
# arg=/usr/bin/X -background vt1

[display]
## gtk theme used by greeter
gtk_theme=Waldorf

## background of the greeter
# bg=/usr/share/backgrounds/default.png

## if show bottom pane
bottom_pane=1

## if show language select control
# lang=1

## if show keyboard layout select control
# keyboard=0

## the theme of greeter
theme=Industrial

[input]

[userlist]
## if disable the user list control at greeter
disable=0

## whitelist user
white=

## blacklist user
black=

Last edited by Plus (2012-09-08 19:12:52)

Offline

#2 2012-06-30 11:57:27

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [SOLVED] LXDM Autologin Issue

The configuration file is correct and LXDM should start LXDE by default, unless you override the default session in a file ~/.dmrc. If you have such a file, try renaming/removing it. If you don't, then I have no clue.

Offline

#3 2012-07-02 14:27:18

Plus
Member
Registered: 2011-09-24
Posts: 17

Re: [SOLVED] LXDM Autologin Issue

No ~/.dmrc file here.  Any LXDE gurus have any other ideas?  I would like to stick with LXDM if possible but I guess I can always switch to Slim or no DM at all if I have to.

Offline

#4 2012-07-05 13:29:32

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: [SOLVED] LXDM Autologin Issue

I am using Arch with LXDE and LXDM and autologin is working with simple "autologin=<user-name>" entry in /etc/lxdm/lxdm.conf file.  I am not sure why it is not working in your case.

Offline

#5 2012-09-08 19:12:24

Plus
Member
Registered: 2011-09-24
Posts: 17

Re: [SOLVED] LXDM Autologin Issue

Terminator wrote:

The configuration file is correct and LXDM should start LXDE by default, unless you override the default session in a file ~/.dmrc. If you have such a file, try renaming/removing it. If you don't, then I have no clue.

It turns out Terminator was right.  I'm not sure where I was looking before but I do have a ~/.dmrc file and it was set to Session=openbox instead of Session=lxde.  I changed the setting and everything is working great now.  Thanks!

Offline

Board footer

Powered by FluxBB