← Back to team overview

desktop-packages team mailing list archive

[Bug 899469] Re: lightdm support for a failsafe-x mode

 

Nevermind; this is done through upstart, what was I thinking...

** Package changed: lightdm (Ubuntu) => xdiagnose (Ubuntu)

** Changed in: xdiagnose (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/899469

Title:
  lightdm support for a failsafe-x mode

Status in “xdiagnose” package in Ubuntu:
  Invalid

Bug description:
  If lightdm cannot start the X server, it should make one try of a
  fallback X session.

  LightDM probably wants to make the failsafe command line a
  configuration item, but in Ubuntu it should be set to:

    /usr/share/xdiagnose/failsafeXServer

  This launches a minimal X environment using the barebones fbdev (or
  vesa) video driver.

  [Testcase]
  $ sudo echo 'foo' >> /etc/X11/xorg.conf
  $ sudo service lightdm start
  $ sudo cat /var/log/lightdm/x-0.log |  grep EE
       (EE) Problem parsing the config file
       (EE) Error parsing the config file
  # Notice at this point no X session is running, console just shows some random log text, and lightdm is no longer running
  $ sudo /usr/share/xdiagnose/failsafeXServer
  # A graphical session comes up.
  # Now remove 'foo' from the end of /etc/X11/xorg.conf (or delete xorg.conf if that's the only contents)

  [lightdm log]
  [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
  [+0.00s] DEBUG: Starting Light Display Manager 1.0.6, UID=0 PID=2318
  [+0.00s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
  [+0.00s] DEBUG: Registered seat module xlocal
  [+0.00s] DEBUG: Registered seat module xremote
  [+0.00s] DEBUG: Adding default seat
  [+0.00s] DEBUG: Starting seat
  [+0.00s] DEBUG: Starting new display for automatic login as user bryce
  [+0.00s] DEBUG: Starting local X display
  [+0.01s] DEBUG: Using VT 7
  [+0.01s] DEBUG: Activating VT 7
  [+0.01s] DEBUG: Logging to /var/log/lightdm/x-0.log
  [+0.01s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
  [+0.01s] DEBUG: Launching X Server
  [+0.01s] DEBUG: Launching process 2322: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
  [+0.01s] DEBUG: Waiting for ready signal from X server :0
  [+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
  [+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
  [+0.02s] DEBUG: Process 2322 exited with return value 1
  [+0.02s] DEBUG: X server stopped
  [+0.02s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
  [+0.02s] DEBUG: Releasing VT 7
  [+0.02s] DEBUG: Display server stopped
  [+0.02s] DEBUG: Stopping display
  [+0.02s] DEBUG: Display stopped
  [+0.02s] DEBUG: Stopping X local seat, failed to start a display
  [+0.02s] DEBUG: Stopping seat
  [+0.02s] DEBUG: Seat stopped
  [+0.02s] DEBUG: Stopping lightdm, required seat has stopped
  [+0.02s] DEBUG: Stopping display manager
  [+0.02s] DEBUG: Display manager stopped
  [+0.02s] DEBUG: Stopping Light Display Manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdiagnose/+bug/899469/+subscriptions


References