Skip to content

lightum crashed on startup #45

@WhyNotHugo

Description

@WhyNotHugo

On a MacBook Air 2013, running ArchLinux-amd64.

$ uname -a
Linux athena.barrera.io 3.19.0-1-ARCH #1 SMP PREEMPT Mon Feb 9 07:08:20 CET 2015 x86_64 GNU/Linux

kbdlight and xbacklight work fine on this system, so it would seem that all the modules to handle keyboard backlighting and screen brightness are in place.

$ lightum -fw 2        
lightum v2.3.1 running in auto mode 
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.Solid.PowerManagement was not provided by any .service files
Can't manage screen backlight on this system.
Please disable backlight with config option 'workmode='1' or command line switch '-w 1'.
If you believe this is an error, open a bug report: https://github.com/poliva/lightum/issues

With more debugging:

$ lightum -fvd 2 -w 2
CONFIG:
        manualmode: 0
        ignoreuser: 1
        ignoresession: 0
        workmode: 2
        queryscreensaver: 0
        maxbrightness: 255
        minbrightness: 0
        maxbacklight: 15
        minbacklight: 1
        polltime: 300
        idleoff: 5
        screenidle: 30
        fulldim: 0

lightum v2.3.1 running in auto mode 
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.Solid.PowerManagement was not provided by any .service files
Can't manage screen backlight on this system.
Please disable backlight with config option 'workmode='1' or command line switch '-w 1'.
If you believe this is an error, open a bug report: https://github.com/poliva/lightum/issues

$ lightum -fw 1        
lightum v2.3.1 running in auto mode 

** (lightum:4416): WARNING **: GetCurrentSession failed: The name org.freedesktop.ConsoleKit was not provided by any .service files
[1]    4416 segmentation fault (core dumped)  lightum -fw 1

With more debugging:

$ lightum -fvd 1 -w 1
CONFIG:
        manualmode: 0
        ignoreuser: 1
        ignoresession: 0
        workmode: 1
        queryscreensaver: 0
        maxbrightness: 255
        minbrightness: 0
        maxbacklight: 15
        minbacklight: 1
        polltime: 300
        idleoff: 5
        screenidle: 30
        fulldim: 0

lightum v2.3.1 running in auto mode 

** (lightum:4809): WARNING **: GetCurrentSession failed: The name org.freedesktop.ConsoleKit was not provided by any .service files
[1]    4809 segmentation fault (core dumped)  lightum -fvd 1 -w 1

The latter seems to look for ConsoleKit, but, AFAIK, it's been deprected since circa 2012.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions