Bug 1254

Summary: Cannot login to certain installed desktops via lxdm
Product: Mageia Reporter: You-Cheng Hsieh <yochenhsieh>
Component: RPM PackagesAssignee: Anssi Hannula <anssi.hannula>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: anssi.hannula, fundawang, mageia, marja11, paiiou
Version: CauldronKeywords: Junior_job
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: lxdm-0.2.0-2.mga1 CVE:
Status comment:
Bug Depends on: 2740    
Bug Blocks:    

Description You-Cheng Hsieh 2011-05-13 03:16:31 CEST
Description of problem:
The tested vm has KDE, Gnome, LXDE, icewm, openbox installed. After installed lxdm and set it as default dm in mcc, the user can only login to KDE/openbox, Gnome/openbox, openbox via lxdm.

Version-Release number of selected component (if applicable):
lxdm-0.2.0-2.mga1

How reproducible:
Always

Steps to Reproduce:
1.Install lxdm
2.Set lxdm as default dm in mcc, restart dm service if asked.
3.At lxdm screen, you can only select limited desktops to login.
Comment 1 Ahmad Samir 2011-05-13 04:54:51 CEST
Yes, that's a limitation in lxdm, it needs to be patched/modified to conform with the way Mageia sets the whole desktop environment sessions, which is not what upstream uses.
Comment 2 You-Cheng Hsieh 2011-05-13 07:03:11 CEST
I suppose slim needs similar patching too?(see bug 1255)  

I just tested a few more dm to see if they have the ibus issue of gdm. These dm are not installed by default, but I think I should report any bugs found so that packagers and maintainers could keep eyes on them.
Comment 3 Ahmad Samir 2011-05-13 17:50:28 CEST
(In reply to comment #2)
> I suppose slim needs similar patching too?(see bug 1255)  

I'll test slim, but IIRC it worked (I've not tried it in a long time though).

> 
> I just tested a few more dm to see if they have the ibus issue of gdm. These dm
> are not installed by default, but I think I should report any bugs found so
> that packagers and maintainers could keep eyes on them.

Yes, if a bug exists it should be reported. :)
Comment 4 Georges Eckenschwiller 2011-09-03 14:57:34 CEST
Regarding lxdm, I think I found the reason and the solution.

The reason :
See : http://wiki.lxde.org/en/LXDM

The solution :
Use the cauldron version :  0.4.1. There should be an update in Mageia 1
+ But we must add a post-install script to package lxdm :
chksession -g
to create. desktop files in /usr/share/xsession/

CC: (none) => paiiou

Manuel Hiebel 2011-09-03 21:25:09 CEST

Keywords: (none) => Junior_job

Comment 5 Georges Eckenschwiller 2011-09-04 07:08:31 CEST
Oups
 the above post-install script is no complete

Complete script :

chksession -g
md /usr/share/xsessions
cp /etc/X11/dm/Sessions/* /usr/share/xsessions


Sorry
Comment 6 Georges Eckenschwiller 2011-09-14 07:41:33 CEST
I found a better solution.
I tested it with KDE4, GNOME, LXDE, Xfce

1 - It must first deal with the bug # 2740
2 - it must be added a post-script "chksession-z" in the package lxdm
Marja Van Waes 2011-11-30 15:24:26 CET

CC: (none) => fundawang, mageia, marja11
Depends on: (none) => 2740

Comment 7 Anssi Hannula 2011-12-05 04:23:27 CET
I've fixed this issue in lxdm-0.4.1-2.mga2 in cauldron / mga2.

http://svnweb.mageia.org/packages?view=revision&revision=176769

Status: NEW => RESOLVED
CC: (none) => anssi.hannula
Resolution: (none) => FIXED
Assignee: bugsquad => anssi.hannula