Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36830 - [lxdm] Latest LXDM 0.4.1-25-i686 breaks autologin.

Attached to Project: Community Packages
Opened by AndrzejL (AndrzejL) - Sunday, 08 September 2013, 23:21 GMT
Last edited by Balló György (City-busz) - Friday, 13 September 2013, 23:45 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 10
Private No

Details

Description:

Upgraded. Was informed about /etc/lxdm/lxdm.conf.pacnew being created. Replaced old .conf with it. Unhashed and modfied the autologin line to read:

autologin=andrzejl

saved the file and rebooted. After that was met with a LXDM login screen.

Its no biggie for most of users but this machine has no physical keyboard and I cannot type in anything before I get xvkbd on the screen ;) so loging in is impossibru...

Had to SSH into the machine and am using KDM for now but please try and fix it soon. Thanks in advance.

Please do not hesitate to ask for additional info. I didn't know what else could be useful.

Cheers.

Andrzej
This task depends upon

Closed by  Balló György (City-busz)
Friday, 13 September 2013, 23:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  lxdm 0.4.1-27
Comment by John (graysky) - Monday, 09 September 2013, 11:07 GMT
Bug also affects lxdm 0.4.1-25 for x86_64 (title may suggest otherwise).
Comment by Vincent Cappe (vcap) - Monday, 09 September 2013, 18:18 GMT
actually the problem appeared in 0.4.1-24, likely due to the pam changes.
Comment by Christian Hesse (eworm) - Wednesday, 11 September 2013, 19:56 GMT
Fixed in git. (Not tested myself, but commit message says so.)
Comment by AndrzejL (AndrzejL) - Friday, 13 September 2013, 00:29 GMT
  • Field changed: Percent Complete (100% → 0%)
It's not fixed. I just tested it. Removed old conf file, upgraded to latest version available in repo. Edited conf file to get autologin. Saved. Disabled KDM enabled LXDM. Rebooted. Was greeted with LXDM login screen. Cheers. Andrzej
Comment by Balló György (City-busz) - Friday, 13 September 2013, 00:47 GMT
Strange, because it works for me with lxdm 0.4.1-26. Please remove lxdm package from your system and install it again to make sure that every configuration file is unmodified. Then uncomment the autologin= line in /etc/lxdm/lxdm.conf, set a valid user name, save, and reboot.

If it still broken with lxdm version 0.4.1-26, then report the problem to the upstream developer, and mention that you are using the current git version on 2013-09-11:
https://sourceforge.net/tracker/?limit=25&group_id=180858&atid=894869&status=1&category=1272912
Comment by Christian Hesse (eworm) - Friday, 13 September 2013, 07:04 GMT
I am already discussing this with dgod. lxdm writes a file /var/lib/lxdm/lxdm.conf that has a wrong session entry (or lxdm handles it incorrectly on autologin, not sure). Please edit or remove this file, then try again.
Comment by Gerry Kessler (renegat) - Friday, 13 September 2013, 07:06 GMT
The way given by Christian Hesse (eworm) only works for one boot, than autologin fails again.
Comment by AndrzejL (AndrzejL) - Friday, 13 September 2013, 12:35 GMT
Removing /var/lib/lxdm/lxdm.conf fixes the autologin for 1 reboot. The /var/ conf file gets re-created after second reboot. Creating symlink ln -s /etc/lxdm/lxdm.conf /var/lib/lxdm/lxdm.conf file changes nothing. Symlink gets overwritten. Copying cp /etc/lxdm/lxdm.conf /var/lib/lxdm/lxdm.conf file works for 1 reboot too. System overwrites that file with stuff like this:

[andrzejl@wishthinkpad ~]$ cat /var/lib/lxdm/lxdm.conf
[base]
autologin=andrzejl
greeter=/usr/lib/lxdm/lxdm-greeter-gtk
last_session=__default__
last_lang=

[server]
arg=/usr/bin/X -background vt1

[display]
gtk_theme=Clearlooks
bottom_pane=1
lang=1
keyboard=0
theme=Industrial

[input]

[userlist]
disable=0
white=
black=

While in the same time the working /etc file looks like this:

[andrzejl@wishthinkpad ~]$ cat /etc/lxdm/lxdm.conf
[base]
## uncomment and set autologin username to enable autologin
autologin=andrzejl

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

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

Cheers.

Andrzej
Comment by Christian Hesse (eworm) - Friday, 13 September 2013, 12:45 GMT
At least we suffer the same problem. ;)

Try something like this for /var/lib/lxdm/lxdm.conf:

[base]
last_session=xfce
last_lang=

The name for last_session should match the desktop file name from /usr/share/xsessions/. Does that work for now?
Comment by Christian Hesse (eworm) - Friday, 13 September 2013, 12:49 GMT
Ah, we have a new commit in git that addresses the issue. Going for a test now. :D
Comment by Balló György (City-busz) - Friday, 13 September 2013, 13:18 GMT
I applied the upstream fix in lxdm 0.4.1-27, which solves the problem on my system. Please test it.
Comment by Christian Hesse (eworm) - Friday, 13 September 2013, 13:20 GMT
No, still not sufficient. I would need some more lines of code... Writing dgod again.
Comment by Christian Hesse (eworm) - Friday, 13 September 2013, 13:24 GMT
@György Balló: Then you do have a ~/.dmrc that has a valid session defined?
Comment by Balló György (City-busz) - Friday, 13 September 2013, 13:36 GMT
It works for me even without a ~/.dmrc file. (It logs in into LXDE automatically.)
Comment by Christian Hesse (eworm) - Friday, 13 September 2013, 13:40 GMT
Ah, ok. I do not have LXDE installed, so it still fails for me.

With the attached patch it works for me as well, tries the global setting in /etc/lxdm/lxdm.conf before falling back to default LXDE.
Comment by Balló György (City-busz) - Friday, 13 September 2013, 13:51 GMT
Please send it to dgod for a review, and if he apply it to the git master, then I'll update the package.
Comment by Christian Hesse (eworm) - Friday, 13 September 2013, 13:53 GMT
Done already. ;)
Comment by Christian Hesse (eworm) - Friday, 13 September 2013, 20:30 GMT
Hmm, looks like I tested a wrong version... Actually dgod already did fix the problem.
So everything should be ok with 0.4.1-27.

Or does anybody still have objections?
Comment by Gerry Kessler (renegat) - Friday, 13 September 2013, 20:49 GMT
LXDM 0.4.1-27 works fine again here!

Loading...