On Sun, Sep 24, 2017 at 01:10:32PM +0200, Armin K. wrote:
> On 24.9.2017 13:56, DGSJ wrote:
> > Hello,
> > 
> > I'm having some problems with Upower in my BLFS (7.10) with xfce, build on
> > a previous LFS (7.10).
> > 
> > The installed versions are:
> > Upower 0.99.4
> > xfce4-power-manager-1.6.0
> > 
> > If you try to use the energy administrator in the configuration menu
> > (hardware section), it simply doesn't work.
> > 
> > There is also another issue with the exit session menu. Although the icons
> > for reboot, suspend or shutdown are present, they are not active. It is not
> > possible to hibernate o turn off the computer with them.
> > (I have also check if there were any problems with permissions or sudoers,
> > but it doesn't work even as root)
> > 
> > I think that there is a problem with Upwer. If you try to call it from the
> > command line, the following error is displayed
> > 
> > ------------------------------------------------------------------------
> > upower:1704): libupower-glib-WARNING **: Couldn't connect to proxy: No se
> > pudo conectar: No existe el fichero o el directorio
> > ------------------------------------------------------------------------
> > (I couldn't get connected: No file or directory found)
> > 
> > Regarding the kernel configuration, as I keep it frequently updated, there
> > is not any more CONFIG_TIMER_STATS.
> > 
> > I would appreciate any help. Thank you!
> > 
> > 
> > The messages displayed at the end of the session are:
> > 
> > -------------------------------------------------------------
> > /usr/bin/startxfce4: X server already running on display :0
> > gpg-agent[1750]: WARNING: "--write-env-file" is an obsolete option - it has
> > no
> > effect
> > gpg-agent: ya hay un agente gpg ejecutándose - no se inicia otro
> > 
> > (xfce4-session:1744): xfce4-session-WARNING **: gpg-agent returned no PID
> > in
> > the variables
> > GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will
> > not be saved or shared with other applications.
> > Activating service name='org.a11y.atspi.Registry'
> > Successfully activated service 'org.a11y.atspi.Registry'
> > SpiRegistry daemon is running with well-known name -
> > org.a11y.atspi.Registry
> > 
> > (xfsettingsd:1784): libupower-glib-WARNING **: Couldn't connect to proxy:
> > No
> > se pudo conectar: No existe el fichero o el directorio
> > libGL error: failed to create dri screen
> > libGL error: failed to load driver: i915
> > 
> > (polkit-gnome-authentication-agent-1:1782): polkit-gnome-1-WARNING **:
> > Error
> > getting authority: Error initializing authority: No se pudo conectar: No
> > existe el fichero o el directorio
> > 
> > (xfce4-power-manager-settings:1831): libupower-glib-WARNING **: Couldn't
> > connect to proxy: No se pudo conectar: No existe el fichero o el directorio
> > 
> > (xfce4-power-manager-settings:1831): GLib-GIO-CRITICAL **:
> > g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)'
> > failed
> > 
> > (xfce4-session:1744): GLib-WARNING **: GError set over the top of a
> > previous
> > GError or uninitialized memory.
> > This indicates a bug in someone's code. You must ensure an error is NULL
> > before it's set.
> > The overwriting error message was: Failed to connect to socket
> > /var/run/dbus/system_bus_socket: No existe el fichero o el directorio
> > 
> > (xfce4-session:1744): Gtk-CRITICAL **: IA__gtk_widget_set_visible:
> > assertion
> > 'GTK_IS_WIDGET (widget)' failed
> > 
> > (xfce4-session:1744): GLib-GObject-CRITICAL **: g_object_unref: assertion
> > 'G_IS_OBJECT (object)' failed
> > xinit: connection to X server lostc
> > -------------------------------------------------------------------
> 
> In both cases, you'd need to install PAM and reconfigure shadow to use it.
Yes, so I did. I've checked PAM (1.3.0), its libraries and the configuration
file.
> 
> For sysv: Install consolekit2 with PAM support, configure its PAM module,
It is installed and configured in /etc/pam.d/system-session, as in the
instructions of BLFS 7.10
> start your xfce4 session with ck-launch-session startxfce4.
Yes, I placed it in the ~/.xinitrc.
> 
> For systemd: Rebuild systemd with PAM module, configure it, then just start
> xfce4 the way you'd usually start it.
> -- 
> http://lists.linuxfromscratch.org/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page

-- 
--------------------------
Daniel Gutiérrez San José
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to