Bug 3936 - LXDM doesn't create Consolekit Session post-login
Summary: LXDM doesn't create Consolekit Session post-login
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords: validated_update
Depends on:
Blocks: 5789
  Show dependency treegraph
 
Reported: 2011-12-30 02:19 CET by Ahmed Al Ahmed
Modified: 2012-05-16 12:11 CEST (History)
9 users (show)

See Also:
Source RPM: lxdm-0.2.0-2.mga1.src.rpm
CVE:
Status comment:


Attachments
.xsession-errors (84.76 KB, text/plain)
2012-05-06 00:13 CEST, Dave Hodgins
Details

Description Ahmed Al Ahmed 2011-12-30 02:19:52 CET
Description of problem:
LXDM doesn't create Consolekit Session after the user login with his/her non-root user account. This is the result of running the command ck-list-sessions through terminal:
[fitlad@localhost ~]$ ck-list-sessions
Session1:
	unix-user = '500'
	realname = 'fitlad'
	seat = 'Seat2'
	session-type = ''
	active = FALSE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = ''
	remote-host-name = ''
	is-local = FALSE
	on-since = '2011-12-30T00:58:12.241353Z'
	login-session-id = '1'

However, If the user changes his/her default Display Manager to GDM, the problem is solved; GDM will register the user as active and local. Thus, LXDM is a broken package! User cannot Shutdown, Reboot, Suspend, Hibernate nor even mount a removable media such as usb drives through PCManFM. If someone compares LXDM in the Mageia Repository with the ones available in other Distributions like Ubuntu, Fedora and openSUSE, he/she will notice that the other distributions get LXDM working perfectly. LXDM suppose to be the default DM for LXDE users not GDM. Thanks


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

How reproducible:
Every time the user attempts to login via LXDM

Steps to Reproduce:
1.Make lXDM as your default Display Manager
2.Login with your non-root user-name
3.open terminal and run ck-list-sessions
Ahmed Al Ahmed 2011-12-30 02:21:59 CET

CC: (none) => a.al_ahmed

Comment 1 Manuel Hiebel 2011-12-30 14:19:44 CET
Hi, thanks for reporting this bug.
As there is no maintainer for this package I added the committers in CC.

(Please set the status to 'assigned' if you are working on it)

CC: (none) => ennael1, fundawang, mageia

Comment 2 Marja Van Waes 2012-04-19 21:50:45 CEST
We do have a maintainer now :)

Assigning

CC: (none) => marja11
Assignee: bugsquad => oliver.bgr

Comment 3 Oliver Burger 2012-04-25 19:57:07 CEST
I'm not sure, this can be fixed in old lxdm 0.2.x
We are using 0.4.x in Cauldron since december and it's working there. I will look into it.
Comment 4 Oliver Burger 2012-04-26 19:28:36 CEST
There is now lxdm-0.2.0-2.1 in core/updates_testing to validate
---------------------------------------------------------------

This update solves a problem with the consolekit session, when
starting lxde from lxdm in Mageia1.

This issue was reported as Bug 3936 in Mageia bugzilla.

---------------------------------------------------------------


Steps to reproduce:
- Change dm in Mga1 to lxdm
- start lxde session
- open a terminal and type ck-list-sessions
     the value for is_local is given as false
- Update the package
- restart the dm (or better reboot)
- start a lxde session
- Do the above again
     and the value should be given as true.

Assignee: oliver.bgr => qa-bugs

Oliver Burger 2012-04-26 19:31:59 CEST

CC: (none) => oliver.bgr

Comment 5 Oliver Burger 2012-04-26 19:33:02 CEST
Tested myself on x86_64 and it was ok.
Comment 6 Dave Hodgins 2012-05-06 00:13:26 CEST
Created attachment 2191 [details]
.xsession-errors

In addition to the errors shown in the attachment, at the
startup of gnome, I'm getting a popup with the message

There is a problem with the configuration server.
(/usr/lib/gconf-sanity-check-2 exited with status 256)

Doesn't look like ~/.profile is getting sourced either,
so the locale etc, is not being set properly.
Comment 7 Dave Hodgins 2012-05-06 00:14:27 CEST
ck-list-sessions output is ok, so the actual bug is fixed.

I'll have to check to see if the problems I'm seeing are
a regression or not.

CC: (none) => davidwhodgins

Comment 8 Dave Hodgins 2012-05-06 00:36:30 CEST
It also results in a resolution of 1280x960 instead of my chosen
1280x1024.
Comment 9 Dave Hodgins 2012-05-06 00:54:16 CEST
I've confirmed the bugs I'm finding are not regressions.  Do you want
to push this update as is and I'll open a new bug report, or do you
want take a look at the problems first?

I can't log in to kde, as it's trying to write to /root/tmp, and fails.

With gnome, the resolution gets changed, and the locale is not set
properly, causing problems for some programs.
Comment 10 Oliver Burger 2012-05-07 11:52:19 CEST
Yes, please push it.
I will have a look into the other things separately.
Comment 11 Dave Hodgins 2012-05-08 00:51:01 CEST
Ok.  I'll open a separate bug report for the other problems.

Could someone from the sysadmin team push the srpm
lxdm-0.2.0-2.1.mga1.src.rpm
from Core Updates Testing to Core Updates.

Avisory: This update solves a problem with the consolekit session, when
starting lxde from lxdm in Mageia1.

https://bugs.mageia.org/show_bug.cgi?id=3936

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Dave Hodgins 2012-05-08 00:56:05 CEST

Blocks: (none) => 5789

Comment 12 Thomas Backlund 2012-05-16 12:11:26 CEST
Update pushed.

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


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