What appears to be happening is the greeter is not aware it is running
inside Unity System Compositor and so it trying to directly access the
video drivers. This fails because it is not running as root.

The cause seems to be LightDM is setting MIR_SOCKET to the name of the
U-S-C socket but this no longer works (possibly due to a change in bug
1290345).

The solution is to set MIR_SERVER_HOST_SOCKET instead, which is the
recommended/correct variable to tell a Mir server the socket of the
parent server (U-S-C in this case) to connect to.

** Also affects: lightdm (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lightdm
   Importance: Undecided => High

** Changed in: lightdm (Ubuntu)
   Importance: Undecided => High

** Changed in: lightdm (Ubuntu)
     Assignee: (unassigned) => Robert Ancell (robert-ancell)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1583624

Title:
  Mir cannot open a tty when started by lightdm

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1583624/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to