![]() Registered Member ![]()
|
I already had ck-launch-session in my .xinitrc. After some research on various threads, I managed to fix my consolekit setup. First I needed to add the lines:
Second, I needed to set the kernel option:
Now my output from ck-list-sessions looks like:
Now I am the active user, is-local shows TRUE and login-session-id (which was empty before) now shows the correct values. Everything works like a charm now, I can adjust brightness and use restart/shutdown from within KDE. ![]() Meriox: I can see that in your ck-list-sessions output login-session-id is empty, so maybe you need to enable the aforementioned kernel option? |
![]() Registered Member ![]()
|
The kernel options has an entry CONFIG_AUDITSYSCALL=Y
Added at the end of /etc/pam.d/login entry:
but in my ck-list-sessions output login-session-id is empty
In the kernel log I found several errors: 03/02/2012 11:00:27 p.m. ACPI BIOS bug: multiple APIC / MADT found, using 0 03/02/2012 11:00:28 p.m. [Firmware Bug] ACPI: BIOS _OSI (Linux) query ignored 03/02/2012 11:00:28 p.m. [Firmware Bug] ACPI: No _BQC method, can not Determine initial brightness 03/02/2012 11:00:28 p.m. Using PCI host bridge windows from ACPI, if Necessary, use "pci = nocrs" and report a bug |
![]() Administrator ![]()
|
Please confirm it is yes with the currently running kernel by running:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
no such file in that directory
never configured the kernel and not compile. CONFIG_AUDITSYSCALL=Y entry I found in / boot/config-3.0.0-16-generic
Last edited by meriox on Sat Mar 03, 2012 7:21 am, edited 1 time in total.
|
![]() Administrator ![]()
|
It seems /proc/config.gz is not standard or enabled by all distributions. Odd.
As an alternative....
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Answer:
It seems to me that the problem with login-session-id empty does not cause an error with the brightness of the screen. I checked ck-list-sessions on a notebook from my friend. At a friend login-session-id is empty, but also adjust the screen brightness using the slider works normally. Save energy and brightness control in a laptop from my friend working properly. Are errors in the kernel of the logos are not meaningful?
|
![]() Administrator ![]()
|
Those messages are not necessarily conclusive - as some graphics cards (especially those by Ati and Nvidia) using their own methods for changing the screen brightness.
In any case, your session seems to be marked as active, which is the important part. When attempting to change the brightness, can you confirm that Polkit is operating correctly? It is likely logging into somewhere in /var/log (this changes depending on distribution however).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I do not know which file is responsible for Polkit but when I press FN+F6 (dimming) and Fn+F7 (brighter) then change the files kern.log and syslog.txt in a directory /var/log After using the keys brightening/dimming Output from /var/log/syslog.txt:
Output from /var/log/kern.log:
|
![]() Administrator ![]()
|
Those keys are likely "hardware keys" for which the BIOS is acting to change the screen brightness.
The error message also indicates that the Kernel is not aware of the appropriate keycodes to handle both buttons.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]