Bug 3578 - The login fails with lxdm and systemd
Summary: The login fails with lxdm and systemd
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: Junior_job, PATCH
Depends on: 2740
Blocks: 2120
  Show dependency treegraph
 
Reported: 2011-12-02 17:35 CET by Georges Eckenschwiller
Modified: 2011-12-06 00:04 CET (History)
4 users (show)

See Also:
Source RPM: lxdm
CVE:
Status comment:


Attachments
Modified package src.rpm (294.66 KB, application/octet-stream)
2011-12-02 17:39 CET, Georges Eckenschwiller
Details
Corrected package (294.70 KB, application/octet-stream)
2011-12-03 07:48 CET, Georges Eckenschwiller
Details
fix login and numlock (1.02 KB, patch)
2011-12-05 18:06 CET, Georges Eckenschwiller
Details | Diff

Description Georges Eckenschwiller 2011-12-02 17:35:19 CET
Description of problem:
The login will always fail with lxdm and systemd

Version-Release number of selected component (if applicable):
lxdm-0.4.1

Searching the Internet has given this:
https://bugzilla.redhat.com/show_bug.cgi?id=661600

In /etc/ lxdm/ lxdm.conf I therefore valid line:
arg=/usr/bin/X -background vt1
and operation is correct.

To be fully operational, it must also:
- Fix the bug #2740
- Add a postscript in lxdm package: chksession-z
- Validate numlock in /etc/lxdm/lxdm.conf
Comment 1 Georges Eckenschwiller 2011-12-02 17:39:07 CET
Created attachment 1164 [details]
Modified package src.rpm

I modified the package lxdm for my personal use.

You cann adapt it to Mageia depo
Comment 2 Manuel Hiebel 2011-12-02 18:33:31 CET
Hi, thanks for reporting this bug.
As there is no maintainer for this package I added the committers in CC.

Keywords: (none) => Junior_job, PATCH
CC: (none) => ennael1, fundawang, mageia
Blocks: (none) => 2120
Depends on: (none) => 2740

Comment 3 Georges Eckenschwiller 2011-12-03 07:48:32 CET
Created attachment 1166 [details]
Corrected package

Attention, a line of patch numlock is WRONG.
We must change the line as follows:
numlock = 1

The correct package is attached

I'm sorry

Attachment 1164 is obsolete: 0 => 1

Comment 4 Anssi Hannula 2011-12-05 04:38:48 CET
For the record, I've now fixed bug #2740 in cauldron/mga2 and the suggested chksession in %post is no longer necessary.

LXDM now seems to work fine on my system.

CC: (none) => anssi.hannula

Comment 5 Georges Eckenschwiller 2011-12-05 12:01:56 CET
I just did a minimal installation this morning
(I choose customize desktop, in the next window I uncheck all the groups, in the next window I check "with X" and I uncheck documentation)

After rebooting, I install task-xfce-minimal and lxdm.

Two problems remain:
- Unable to login
- Numlock is not active for the login window (that is less serious)

I think the proposed patch is necessary.
Comment 6 Anssi Hannula 2011-12-05 17:58:05 CET
Can you please attach the proposed patch?
Comment 7 Georges Eckenschwiller 2011-12-05 18:06:58 CET
Created attachment 1179 [details]
fix login and numlock

Yes of course
(It was contained in the package proposed)
Comment 8 Anssi Hannula 2011-12-05 18:22:05 CET
Well, AFAICS enabling numlock always would cause problems on e.g. those laptops that have a numpad among the "normal" keys, causing login to easily fail.

e.g. KDM doesn't touch numlock at all, so I wonder what breaks it for lxdm (i.e. why is it not already in the correct state, or does LXDM itself disable it).

Thanks for the information that login doesn't work, I'll look into it.
Comment 9 Georges Eckenschwiller 2011-12-05 18:30:14 CET
(In reply to comment #8)
> Well, AFAICS enabling numlock always would cause problems on e.g. those laptops
> that have a numpad among the "normal" keys, causing login to easily fail.
> 
> e.g. KDM doesn't touch numlock at all, so I wonder what breaks it for lxdm
> (i.e. why is it not already in the correct state, or does LXDM itself disable
> it).
> 
> Thanks for the information that login doesn't work, I'll look into it.

Good evening,

I can not answer you, I have no laptop to test.
If your side you can not test, you can leave open the activation of numlock.
Comment 10 Anssi Hannula 2011-12-06 00:04:12 CET
I reproduced the issue on a minimal installation in virtualbox.
I've added the arg= hunk of the patch, but selected vt8 instead of vt1.

I've left the numlock state as is for now. I looked at LXDM source code and it indeed leaves it be when it is not configured, so something else should be setting it (unfortunately I don't immediately know what that should be).

Closing as FIXED as the login issue has been fixed. Please reopen if that is not the case.

Thanks for the report.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.