I made a couple of observations which may or may not be useful.
When starting a guest session in Lubuntu, these lines show up in
lightdm.log:
[+36.45s] DEBUG: Seat seat0 changes active session to
[+36.45s] CRITICAL: session_get_login1_session_id: assertion 'session != NULL'
failed
They are not present when starting a guest session in Ubuntu. Please see
attachment for context.
The "Seat seat0 changes active session to " message is written by
login1_active_session_changed_cb() in src/lightdm.c. Apparently the
session ID isn't passed correctly to that function.
Another thing I noticed is that the "no session for pid ..." message
does not appear if I make this change:
--- /etc/apparmor.d/abstractions/lightdm.orig
+++ /etc/apparmor.d/abstractions/lightdm
@@ -54,7 +54,7 @@
@{PROC}/ati rm,
@{PROC}/ati/** rm,
@{PROC}/sys/vm/overcommit_memory r,
- owner @{PROC}/** rm,
+ @{PROC}/** rm,
# needed for gnome-keyring-daemon
@{PROC}/*/status r,
# needed for bamfdaemon and utilities such as ps and killall
But that would give the guest user access to everything in the /proc
directory, also processes which are owned by other users. Probably not a
good idea from a security POV.
** Attachment added: "lightdm.log-extract.txt"
https://bugs.launchpad.net/ubuntu/+source/lxsession/+bug/1273524/+attachment/4688385/+files/lightdm.log-extract.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1273524
Title:
LXDE guest session shows error message "no session for pid <pid for
lxsession>"
To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1273524/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs