On Tue, 2017-09-26 at 22:19 +0200, DGSJ wrote:
> On Sun, Sep 24, 2017 at 09:14:39PM +0200, Pierre Labastie wrote:
> > On 24/09/2017 19:41, DGSJ wrote:
> > > 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.
> > 
> > I cannot help for that part (I have never used power management
> > since I have
> > a desktop computer). I guess some options in the kernel might be
> > missing...
> > > > > 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)
> > 
> > Just to check: you have enabled the required kernel
> > options,"Suspend to RAM
> > and standby" and "|Hibernation (aka 'suspend to disk')" (in
> > "||Power
> > management and ACPI options"). Also, you need pm-utils, but if you
> > see the
> > hibernate/suspend icons, I think it means pm-utils is installed.
> > Pierre|||
> 
> pm-utils work. In fact, I can suspend the computer from the command
> line.
> Uhmm, I suspect that there is a problem with the authorizations. This
> is
> (part) of the log shown by statx:
> 
> xauth:  file /root/.serverauth.1475 does not exist
> 
> X.Org X Server 1.19.3
> Release Date: 2017-03-15
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 4.11.3 i686
> 
> (polkit-gnome-authentication-agent-1:1562): polkit-gnome-1-WARNING
> **:
> Error
> getting authority: Error initializing authority: No se pudo conectar:
> No
> existe el fichero o el directorio
> (Couldn't connect: There is not file or directory)
> 

This looks like either system or session d-bus is not running. Did you
try starting your session with (ck-launch-session) dbus-launch-session
--exit-with-session startxfce4

> So I'll try to reinstall PAM, Shadow, Polkit ...
> 
> BTW any ideas why file /root/.serverauth.1475 does not exist?
> 

-- 
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