This isn't a LightDM problem, it's either your script is not valid or X
/ your video drivers have changed.

I'd suggest you make your script not abort when xrandr fails.

** Package changed: lightdm (Ubuntu) => xorg-server (Ubuntu)

-- 
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/1644624

Title:
  lightdm does not start after upgrade from 14.04.5 to 16.04.1

Status in xorg-server package in Ubuntu:
  New

Bug description:
  After upgrading from 14.04.5 to 16.04.1 lightdm does not start. Only
  error I could find reported was:

  [+0.19s] DEBUG: Launching process 1927: /usr/share/lightdm_xrandr
  [+0.21s] DEBUG: Process 1927 exited with return value 1
  [+0.21s] DEBUG: Seat seat0: Exit status of /usr/share/lightdm_xrandr: 1
  [+0.21s] DEBUG: Seat seat0: Stopping display server due to failed setup script
  [+0.21s] DEBUG: Sending signal 15 to process 1922
  [+0.59s] DEBUG: Process 1922 exited with return value 0

  Looking at /usr/share/lightdm_xrandr output:
  #!/bin/sh
  xrandr --output Virtual1 --primary --mode 1920x1200

  # /usr/share/lightdm_xrandr
  xrandr: Failed to get size of gamma for output default
  warning: output Virtual1 not found; ignoring

  # xrandr --listproviders
  Providers: number : 0

  # xrandr --listmonitors
  xrandr: Failed to get size of gamma for output default
  Monitors: 1
   0: +*default 1920/508x1200/317+0+0  default

  Changing
   xrandr --output Virtual1 --primary --mode 1920x1200

  to
   xrandr --output default --primary --mode 1920x1200

  
  leads to display of 1024x768 on a monitor capable of 1920x1200. Doesn't look 
nice!
  It worked with 14.04.5 seamless. I'd never had to think of it until upgrading!

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: lightdm 1.18.3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24
  Uname: Linux 4.4.0-47-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  Date: Thu Nov 24 19:19:53 2016
  InstallationDate: Installed on 2014-02-10 (1017 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
  LightdmConfig:
   [Seat:*]
   display-setup-script=/usr/share/lightdm_xrandr
   greeter-session=lightdm-gtk-greeter
   user-session=xubuntu
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: lightdm
  UpgradeStatus: Upgraded to xenial on 2016-11-24 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1644624/+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