I got the greeter working, but there are 2 other issues. The following
assumes you are using the unity8 greeter to launch a unity7 session

if (seat-type == unity)
   The greeter loads, authenticates, a black screen is briefly shown, and the 
greeter comes back up. My theory here is that lightdm is trying to start unity7 
on the same VT as the greeter, and this is making USC mad. I believe this will 
be fixed in USC in the future, but is there a work around we could have for the 
time being?

if (seat-type == xlocal)
   The log in /var/log/lightdm for the greeter is called (null)-greeter.log. I 
think this is because the code path taken doesn't call display_server_set_name 
in time. I used to know the answer to this, but I've since forgotten. I'm going 
to dig into this part further today, but if you have input, let me know.

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

Title:
  Mir cannot open a tty when started by lightdm

Status in Light Display Manager:
  In Progress
Status in Light Display Manager 1.18 series:
  In Progress
Status in lightdm package in Ubuntu:
  Triaged
Status in lightdm source package in Xenial:
  Triaged

Bug description:
  From mir-greeter.log (and with minor instrumentation from RAOF)

  ERROR: QMirServer - Mir failed to start
  qtmir.screens: ScreenController::ScreenController
  qtmir.mir: MirServer created
  qtmir.mir: Command line arguments passed to Qt: ("/usr/bin/unity8", 
"--mode=greeter")
  ERROR: 
/home/josh/Documents/mir/verbose-error-for-vt-finding/src/server/graphics/default_configuration.cpp(133):
 Throw in function 
mir::DefaultServerConfiguration::the_graphics_platform()::<lambda()>
  Dynamic exception type: 
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error>
 >
  std::exception::what: Exception while creating graphics platform
  ERROR: 
/home/josh/Documents/mir/verbose-error-for-vt-finding/src/platforms/mesa/server/kms/linux_virtual_terminal.cpp(238):
 Throw in function int 
mir::graphics::mesa::LinuxVirtualTerminal::find_active_vt_number()
  Dynamic exception type: 
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error>
 >
  std::exception::what: Failed to find the current VT. Tried:
        /dev/tty0:
                Failed to open read-only: Permission denied
                Failed to open write-only: Permission denied
        /dev/tty:
                Failed to open read-only: No such device or address
                Failed to open write-only: No such device or address

  
  This occurs when trying to start the unity8 greeter under unity system 
compositor

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to