Bug 7708

Summary: Lightdm-1.0.11-1.mga2 does not work
Product: Mageia Reporter: Georges Eckenschwiller <paiiou>
Component: RPM PackagesAssignee: Jani Välimaa <jani.valimaa>
Status: RESOLVED OLD QA Contact:
Severity: critical    
Priority: Normal CC: jani.valimaa, stormi-mageia
Version: 2Keywords: Triaged
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: lightdm CVE:
Status comment:

Description Georges Eckenschwiller 2012-10-04 16:47:23 CEST
I make a minimal installation : XDM + IceWm-light

I install lightdm-gtk-greeter and deps.
I will configure the Display Manager with MCC.

=> MCC does not propose lightdm

I copy the file /usr/share/X11/dm.d/29lightdm.conf (file from mageia 3)
=> MCC propose lightdm.

I choose lightdm and I confirm

=>Failure starting graphical display

I tried with the configuration files of mageia 3, but it is always in failure.
Comment 1 Jani Välimaa 2012-10-04 17:58:10 CEST
IIRC lightdm was pretty broken until I started to do some changes to it. I guess this happened after mga2.

What does /var/log/lightdm/lightdm.log say?

CC: (none) => jani.valimaa

Comment 2 Georges Eckenschwiller 2012-10-05 08:33:02 CEST
I have not directory /var/log/lightdm, nor thus of file.
On the other hand, in the log messages, I saw this:

prefdm.service :main process exited, code=exited, status=1
prefdm.service: holdoff time over, sheduling restart
Unit prefdm.service entered failed state

These three lines are repeated several times

I then checked the functioning of the script prefdm, by adding lines such as
echo "$variable" > /home/georges/variable.txt

I find
$DISPLAYMANAGER = LIGHTDM
$dm= LIGHTDM
$preferred = /usr/bin/lightdm

It seems to me nevertheless correct
Comment 3 Georges Eckenschwiller 2012-10-05 09:31:54 CEST
I then made a try by using the package of cauldron.
Here, lightdm display and I can choose a user.
I give my password.

But the connection is refused.

In a root console, I visualize the logs of lightdm.
lightdm.log :
Started session 1620 with service 'lightdm', username, 'georges'
Session 1620 got 1 message(s) from PAM
Prompt greeter got 1 message(s)

x-0-greeter.log:
Failed to open sessions directory: Error opening directory '/usr/share/xsessions : no such file or directory
Comment 4 Jani Välimaa 2012-10-23 18:51:15 CEST
'/usr/sbin/chksession --generate=/usr/share/xsessions' as root might help with your issue with cauldron pkg.
Comment 5 Manuel Hiebel 2012-10-26 23:06:53 CEST
(will do nothing other as this bug seems confusing)

Source RPM: (none) => lightdm

Comment 6 Georges Eckenschwiller 2012-10-27 16:05:48 CEST
I have just made a new installation.
I added the packages of cauldron:
lightdm-1.4.0-6mga3, ligthdm-gtk-greeter-1.3.1-1mga3, libligthdm-gobject1_0-1.4.0-6mga3, accountservice-0.6.25-2mga3

With these packages, the functioning is correct.

However, according to snapshot that I saw to ubuntu, it would miss:
- 2 Icons, above on the right
 - the clock 
- the stop button
Georges Eckenschwiller 2012-10-27 16:16:06 CEST

Summary: Lightdm does not work => Lightdm-1.0.11-1.mga2 does not work

Comment 7 Jani Välimaa 2012-10-27 16:18:34 CEST
Probably missing icon theme pkg. Try with gnome-icon-theme. Icon theme is also configurable in lightdm-gtk-greeter.conf.
Comment 8 Georges Eckenschwiller 2012-11-01 19:53:38 CET
Hello,

Effectively, it is necessary to modify the lightdm-gtk-greeter.conf file to obtain both icones.
Seen the current problems with oxygen, I chose:
- theme-name=Raleigh
- icon-theme-name=Tango

These themes exist automatically with Xfce.

Therefore, the button Shutdown exists now.

I think that it would be good of update to the new version of lightdm for mageia 2.
Samuel Verschelde 2013-08-29 16:37:25 CEST

Keywords: (none) => Triaged
CC: (none) => stormi
Assignee: bugsquad => jani.valimaa

Comment 9 Jani Välimaa 2013-08-29 16:44:50 CEST
As mga2 is near EOL I'm not going to devote much time to fix lightdm. Actually I'm closing this as OLD.

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