Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfce4-power-manager fails to run
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
adippl
n00b
n00b


Joined: 10 Feb 2015
Posts: 8

PostPosted: Tue Feb 10, 2015 10:05 pm    Post subject: xfce4-power-manager fails to run Reply with quote

I have problem, I cant run xfce4-power-manager on normal user. When I use root xfce4-power-manager can't connect to session.

Here is log (xfce4-power-manager --no-daemon)

Code:

(xfce4-power-manager:8936): xfce4-power-manager-WARNING **:
xfpm_suspend_sudo_init failed : The program "sudo" was not found

** (xfce4-power-manager:8936): CRITICAL **: dbus_g_proxy_new_for_name_owner:
assertion 'connection != NULL' failed

** (xfce4-power-manager:8936): CRITICAL **: Unable to create proxy on
/org/freedesktop/DBus

** (xfce4-power-manager:8936): CRITICAL **: dbus_g_connection_get_connection:
assertion 'gconnection' failed
Naruszenie ochrony pamięci [in polish memoey protection voided/breached]



Do i just need sudo or what? I can't test this because my eth0 doesn't work. If u can help. https://forums.gentoo.org/viewtopic-t-1010576.html

Thanks in advance
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Wed Feb 11, 2015 12:44 pm    Post subject: Reply with quote

is sudo installed?

Code:
emerge -s sudo
Back to top
View user's profile Send private message
adippl
n00b
n00b


Joined: 10 Feb 2015
Posts: 8

PostPosted: Wed Feb 11, 2015 4:08 pm    Post subject: Reply with quote

I installed sudo added me to sudoers
But it still doesn't work

with sudo and without

Code:
adip@laptop ~ $ sudo xfce4-power-manager --dump

(xfce4-power-manager:23948): GLib-WARNING **:
(/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gerror.c:381):g_error_new_valist:
runtime check failed: (domain != 0)

(xfce4-power-manager:23948): xfce4-power-manager-WARNING **: Unable to connect
to session manager : Nie udało się połączyć z menadżerem sesji (Cannot connect to session manager):
SESSION_MANAGER environment variable not defined

** (xfce4-power-manager:23948): CRITICAL **: dbus_g_proxy_new_for_name_owner:
assertion 'connection != NULL' failed

** (xfce4-power-manager:23948): CRITICAL **: Unable to create proxy on
/org/freedesktop/DBus

** (xfce4-power-manager:23948): CRITICAL **: dbus_g_connection_get_connection:
assertion 'gconnection' failed



adip@laptop ~ $ xfce4-power-manager --dump

** (xfce4-power-manager:23959): CRITICAL **: dbus_g_proxy_new_for_name_owner:
assertion 'connection != NULL' failed

** (xfce4-power-manager:23959): CRITICAL **: Unable to create proxy on
/org/freedesktop/DBus

** (xfce4-power-manager:23959): CRITICAL **: dbus_g_connection_get_connection:
assertion 'gconnection' failed
Naruszenie ochrony pamięci

I have installed glib
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum