You are not logged in.

#1 2013-09-17 06:45:05

OlaffTheGreat
Member
Registered: 2013-06-03
Posts: 107

[SOLVED] lxdm autologin won't work since last upgrade

Hi,
Since last upgrade, lxdm won't autologin anymore.

I had a lxdm.conf.pacnew file wich added only a commented line that I added into the conf file, wich does look like this :

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

## 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
#session=/usr/bin/openbox-session

## 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

# not ask password for users who have empty password
# skip_password=1
## 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 
# uncomment this if you really want xserver listen to tcp
# tcp_listen=1
# uncoment this if you want reset the xserver after logou
# reset=1

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

## 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=

Since there were no uncommented lines added, I assumed it would make no difference.

Edit :
Now, the system goes to the login screen instead of autologin.
lxdm brings me to my session if I log in however.

Last edited by OlaffTheGreat (2013-09-21 18:00:09)


Lenovo Thinkpad x230 i5-3320M 2.6GHz 250GB SSD (M4) 16GB
SSD | SeaBIOS | GPT | BTRFS | OpenRC | Xfce4 | Zsh | Tmux | Spacemacs
* "Aware Newbie" *
Ibus IM for language script support (e.g. 日本語 - 中文)

Offline

#2 2013-09-17 09:34:52

jv2112
Member
Registered: 2011-07-23
Posts: 160

Re: [SOLVED] lxdm autologin won't work since last upgrade

Does the login procedure work at all ?

Is the user name set correctly ?   "autologin=Olaff"


Life is pleasant. Death is peaceful. It's the transition that's troublesome. Isaac Asimov - / -

Offline

#3 2013-09-17 10:53:15

OlaffTheGreat
Member
Registered: 2013-06-03
Posts: 107

Re: [SOLVED] lxdm autologin won't work since last upgrade

Hum ! What was I thinking ! I gave half of the informations ! I edit the original post.


Lenovo Thinkpad x230 i5-3320M 2.6GHz 250GB SSD (M4) 16GB
SSD | SeaBIOS | GPT | BTRFS | OpenRC | Xfce4 | Zsh | Tmux | Spacemacs
* "Aware Newbie" *
Ibus IM for language script support (e.g. 日本語 - 中文)

Offline

#4 2013-09-17 13:18:27

ajbibb
Member
Registered: 2012-02-12
Posts: 142

Re: [SOLVED] lxdm autologin won't work since last upgrade

I had the same problem after an upgrade a week or so ago.  I'm not at my Linux machine at the moment, but from memory these are the changes I made to my conf file.  After these my autologin works again.

1)  I removed the leading spaces before all of the uncommented lines.  I think the space before autologin= was the key, but I went through and took them out from every line anyway.  Seems stupid, but I think that change may have been what made it work.

2) This line had been commented out in my original conf file

arg=/usr/bin/X -background vt1

but I accepted the uncommented line as a change from the pacnew file.  I went back and commented it out again.

Best I can recall those are the only two changes I made and autologin now works again.

Offline

#5 2013-09-17 21:27:33

OlaffTheGreat
Member
Registered: 2013-06-03
Posts: 107

Re: [SOLVED] lxdm autologin won't work since last upgrade

Well, not solved yet.
I commented back the new line added from the .pacnew modification

arg=/usr/bin/X -background vt1

, and because the boot process complained about tcp, I then uncommented the following line

tcp_listen=1

I also tried to remove those spaces in front of autologin as you suggested, but without success.
Can you post your lxdm.conf ?


Lenovo Thinkpad x230 i5-3320M 2.6GHz 250GB SSD (M4) 16GB
SSD | SeaBIOS | GPT | BTRFS | OpenRC | Xfce4 | Zsh | Tmux | Spacemacs
* "Aware Newbie" *
Ibus IM for language script support (e.g. 日本語 - 中文)

Offline

#6 2013-09-17 22:35:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] lxdm autologin won't work since last upgrade

Can I ask why you need lxdm, if all you want is autologin?

I use this combined with this, works perfectly.

Offline

#7 2013-09-17 22:47:21

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED] lxdm autologin won't work since last upgrade

There is this solved bug which might help. Which version of lxdm are you using?


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#8 2013-09-17 23:21:52

ajbibb
Member
Registered: 2012-02-12
Posts: 142

Re: [SOLVED] lxdm autologin won't work since last upgrade

Here is my current /etc/lxdm/lxdm.conf file.  Hope something in here can help you out. 

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

## 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=1

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

# not ask password for users who have empty password
# skip_password=1

## 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
# uncomment this if you really want xserver listen to tcp
# tcp_listen=1
# uncoment this if you want reset the xserver after logou
# reset=1

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

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

## if show bottom pane
bottom_pane=1

## if show language select control
lang=

## 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=1

## whitelist user
white=

## blacklist user
black=

Not sure why OlaffTheGreat uses LXDM, but I use it because you get it for free as part of the LXDE group, and I'm too lazy to change it.  My security is the 30 to 40 character passphrase I need to unlock my encrypted drives.  Then having to type in an 8 character easily guessed user password is beyond annoying.

I just checked my pacman cache files and it looks like the upgrade to 0.4-1-25 is when I first got the error (currently listed as 9 days ago which would be about right).  I upgraded, booted and got the login screen that I was not supposed to.  I had just merged the pacnew file so it was fresh in my head and made the changes I described.  Booted again and got the autologin and I didn't think another thing about it until I saw this post earlier today.  Upgraded again this weekend to 0.4-1-27 with no problems.

Offline

#9 2013-09-18 06:45:57

OlaffTheGreat
Member
Registered: 2013-06-03
Posts: 107

Re: [SOLVED] lxdm autologin won't work since last upgrade

@tomk, there's no special reason to use lxdm. On debian I tryed several dm, as gdm, nodm, slim, lxdm, and a startx autologin, as you suggested me.
When I installed archlinux, I just went on the simplest and let lxdm that was installed by default with lxde. If it gets too much trouble, I might change to another tool.
Thanks for the systemd tip page however (still not at ease with these new protocols).

@clfarron4,

community/lxdm 0.4.1-27 (lxde) [installed: 0.4.1-26]

.
The bug report you mentionned is interresting. I'm reading it, I might solve it eventualy.

@ajbibb, thanks for your conf, pretty much looks like mine.


Lenovo Thinkpad x230 i5-3320M 2.6GHz 250GB SSD (M4) 16GB
SSD | SeaBIOS | GPT | BTRFS | OpenRC | Xfce4 | Zsh | Tmux | Spacemacs
* "Aware Newbie" *
Ibus IM for language script support (e.g. 日本語 - 中文)

Offline

#10 2013-09-21 18:00:53

OlaffTheGreat
Member
Registered: 2013-06-03
Posts: 107

Re: [SOLVED] lxdm autologin won't work since last upgrade

solved by upgrade to v0.4-1-27


Lenovo Thinkpad x230 i5-3320M 2.6GHz 250GB SSD (M4) 16GB
SSD | SeaBIOS | GPT | BTRFS | OpenRC | Xfce4 | Zsh | Tmux | Spacemacs
* "Aware Newbie" *
Ibus IM for language script support (e.g. 日本語 - 中文)

Offline

Board footer

Powered by FluxBB