Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] delayed logout xfce4. lxpolkit segf. dbus probl

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
salmonix
Guru
Guru
Posts: 410
Joined: Sun Jul 16, 2006 12:54 pm

[SOLVED] delayed logout xfce4. lxpolkit segf. dbus probl

  • Quote

Post by salmonix » Tue Dec 13, 2011 8:34 am

Hi there,
I have the symptoms described at http://forums.gentoo.org/viewtopic-t-88 ... art-0.html unresolved post though *kits configured matching http://forums.gentoo.org/viewtopic-t-85 ... art-0.html - at my best...

In short: at logout I have the logout window delayed and responsiveness suffers penalty. I can only log out, but can not reboot or halt. Trying the latters I am prompted to enter a password but that is always rejected. I can not suspend or hybernate.

note: I tried emerging xfce4-session USE='-consolekit' at least 'solved' the stall at logout but not the logout-reboot button problem. now consolekit is back. .
Checking out messages I caught
Dec 13 10:16:37 [kernel] [ 1701.463891] lxpolkit[3288]: segfault at 7f7f962c83d0 ip 00007f7f951fb10d sp 00007fffddaa35a0 error 4 in libc-2.13.so[7f7f95185000+181000]
Replacing lxpolkit with polkit-gnome the segfault message is gone. Now a different comes when trying to log out.
Dec 13 10:28:37 [sudo] pam_unix(sudo:auth): conversation failed
Dec 13 10:28:37 [sudo] pam_unix(sudo:auth): auth could not identify password for [salmonix]
Dec 13 10:28:37 [sudo] salmonix : pam_authenticate: Conversation error ; TTY=unknown ; PWD=/home/salmonix ; USER=root ; COMMAND=/usr/lib64/xfce4/session/xfsm-shutdown-helper
Dec 13 10:31:30 [dbus] [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Dec 13 10:31:30 [dbus] [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success
Dec 13 10:31:30 [console-kit-daemon] CRITICAL: polkit_authority_check_authorization: assertion `POLKIT_IS_AUTHORITY (authority)' failed_
Dec 13 10:31:59 [sudo] salmonix : user NOT authorized on host ; TTY=unknown ; PWD=/home/salmonix ; USER=root ; COMMAND=/usr/lib64/xfce4/session/xfsm-shutdown-helper
ck-list-session says:
Session4:
unix-user = '1001'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-12-13T09:11:08.803421Z'
login-session-id = '7'
Session3:
unix-user = '1001'
realname = '(null)'
seat = 'Seat3'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-12-13T09:11:07.556133Z'
login-session-id = '7'
I also have problem with automounting pendrive etc., perhaps related to this problem. upower -d is complaining:
Dec 13 10:45:37 [dbus] [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Dec 13 10:45:37 [dbus] [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success
and at inserting a pendrive kernel recognizes it but
Dec 13 10:49:46 [dbus] [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Dec 13 10:49:46 [dbus] [system] Activated service 'org.freedesktop.UDisks' failed: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success



Here my faint knowledge is exhausted - I do not have a really clear picture about the pam-*kit-dbus system to navigate further. More, for me this combo is a kind of mess with different syntaxes and all. So, till the shiny day it is cleared up I lean on others advise.

Thanx!
Last edited by salmonix on Tue Dec 13, 2011 12:13 pm, edited 4 times in total.
Quis custodiet ipsos, custodes?
Top
salmonix
Guru
Guru
Posts: 410
Joined: Sun Jul 16, 2006 12:54 pm

  • Quote

Post by salmonix » Tue Dec 13, 2011 10:00 am

News.
I followed http://forums.gentoo.org/viewtopic-t-905296.html Hypnos advise and included polkit in USE flag list and also
-policykit.

However, the main problem - delayed logout, no reboot-halt function - has remained.
Dec 13 13:09:13 [dbus] [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Dec 13 13:09:13 [dbus] [system] Activated service 'org.freedesktop.UPower' failed: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success
Quis custodiet ipsos, custodes?
Top
salmonix
Guru
Guru
Posts: 410
Joined: Sun Jul 16, 2006 12:54 pm

  • Quote

Post by salmonix » Tue Dec 13, 2011 12:12 pm

Ok then.
The solution was simply to change the permission of /usr/libexec/dbus-daemon-launch-helper too+x.

All runs fine - pendrive automount, suspend, no delay...
Quis custodiet ipsos, custodes?
Top
rawdata
n00b
n00b
Posts: 1
Joined: Sun Jul 01, 2012 12:33 am

  • Quote

Post by rawdata » Sun Jul 01, 2012 8:13 pm

salmonix wrote:Ok then.
The solution was simply to change the permission of /usr/libexec/dbus-daemon-launch-helper too+x.

All runs fine - pendrive automount, suspend, no delay...
Thank you, salmonix. This fixed my problems too.
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Mon Jul 02, 2012 7:54 am

salmonix wrote:Ok then.
The solution was simply to change the permission of /usr/libexec/dbus-daemon-launch-helper too+x.

All runs fine - pendrive automount, suspend, no delay...
Never do that, unless you want everyone on your system to be allowed to gain root. As in, that is same as intentionally inserting a vulnerability to your own machine.

The solution is to recompile pkgs like dev-libs/dbus-glib after dev-libs/glib upgrade (as noted by elog in the end of glib emerge)
Propably 'emerge -e sys-apps/dbus dev-libs/dbus-glib' will do the trick if nothing else does
Top
PF4Public
Tux's lil' helper
Tux's lil' helper
Posts: 104
Joined: Mon Jan 28, 2019 8:04 pm

  • Quote

Post by PF4Public » Fri Jun 19, 2020 7:20 pm

For anyone coming here from search:
A proper and easier way of fixing this would be to chown this helper to be owned by root:messagebus
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic