Public bug reported:

I have not a standard DE configuration and I'm using xfsettingsd without
session manager. I cannot use xfce settings manager because it requires
xfwm and I'm using a different window manager. At start xfsettingsd
complains about missing session manager but it continue to work. Such a
configuration works perfectly well beside the fact that xfsettingsd
registers a lid close/open event handler and tries to shutdown monitor
outputs when the lid is closed. Here is a debug output of the lid close
event - http://paste.ubuntu.com/11902403/

The problem is that when the lid is closed all processes are killed upto 
lightdm (login screen). I noticed that because one of my notebooks has 'eDP1' 
display type and everything works as expected with it. Apparently this problem 
occurs only for display types with 'LVDS' and 'PANEL' in their names:
[code]
    for (n = 0; n < helper->outputs->len; ++n)
    {
        output = g_ptr_array_index (helper->outputs, n);
        g_assert (output);

        /* Try to find the internal display */
        if (g_str_has_prefix (output->info->name, "LVDS")
            || strcmp (output->info->name, "PANEL") == 0)
        {
            lvds = output;
            break;
        }
    }

    if (!lvds)
        return;
[/code]

As a workaround I hex edited the binary replacing 'LVDS' with 'LVDD'.
Still I'd prefer a more robust solution. Should the display state be
manipulated at all by the xfsettingsd upon lid event? Shouldn't this be
pm-utils task or xfce4-power-manager?

-----------------------------------------------------------------------------
$ lsb_release -rd
Description:    Ubuntu 14.04.2 LTS
Release:        14.04

$ apt-cache policy xfce4-settings
xfce4-settings:
  Installed: 4.11.2-1ubuntu2
  Candidate: 4.11.2-1ubuntu2
  Version table:
 *** 4.11.2-1ubuntu2 0
        500 http://de.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: xfce4-settings (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  xfsettingsd kills my current session upon lid event

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-settings/+bug/1475956/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to