[gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Helmut Jarausch

Hi,

hopefully someone can help.

I have a system where KDE 4.12.0 / 4.11.5 is very slow.

The log contains many message like

dbus[1366]: [system] Activated service 'org.freedesktop.login1' failed:
  Failed to execute program /usr/libexec/dbus-daemon-launch-helper:  
Success


console-kit-daemon[1387]: CRITICAL:  
polkit_authority_check_authorization:

  assertion 'POLKIT_IS_AUTHORITY (authority)' failed

I have re-emerged sys-apps/dbus dev-libs/dbus-glib  
sys-auth/polkit-kde-agent

as recommended elsewhere but it didn't help.

Does anybody know how to fix this?

Many thanks for hint,
Helmut


Re: [gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Neil Bothwick
On Wed, 15 Jan 2014 12:21:37 +0100, Helmut Jarausch wrote:

> The log contains many message like
> 
> dbus[1366]: [system] Activated service 'org.freedesktop.login1' failed:
>Failed to execute program /usr/libexec/dbus-daemon-launch-helper:  
> Success

I get this on my desktop but not my laptop. I have tried for ages to find
out why it only fails on the desktop and gave up. Now I just "chmod
+x /usr/libexec/dbus-daemon-launch-helper" and it goes away, until the
next update.


-- 
Neil Bothwick

- We are but packets in the internet of Life-


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Helmut Jarausch

On 01/15/2014 12:37:44 PM, Neil Bothwick wrote:

On Wed, 15 Jan 2014 12:21:37 +0100, Helmut Jarausch wrote:

> The log contains many message like
>
> dbus[1366]: [system] Activated service 'org.freedesktop.login1'  
failed:

>Failed to execute program /usr/libexec/dbus-daemon-launch-helper:
> Success

I get this on my desktop but not my laptop. I have tried for ages to  
find

out why it only fails on the desktop and gave up. Now I just "chmod
+x /usr/libexec/dbus-daemon-launch-helper" and it goes away, until the
next update.


Many thanks Neil!

On Jul 02, 2012,  Samuel Suominen wrote

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


Only, this emerge likes to re-emerge several hundreds of packages.

Any comments?
Helmut



Re: [gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Neil Bothwick
On Wed, 15 Jan 2014 12:54:57 +0100, Helmut Jarausch wrote:

> > I get this on my desktop but not my laptop. I have tried for ages to  
> > find
> > out why it only fails on the desktop and gave up. Now I just "chmod
> > +x /usr/libexec/dbus-daemon-launch-helper" and it goes away, until the
> > next update.  
> 
> Many thanks Neil!
> 
> On Jul 02, 2012,  Samuel Suominen wrote
> 
> 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

I tried all that and it made no difference. Bear in mind this machine has
been affected like this for more than two years, there is nothing that
has not been re-emerged in that time yet the issue persists.


-- 
Neil Bothwick

Too many clicks spoil the browse.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Peter Humphrey
On Wednesday 15 Jan 2014 11:37:44 Neil Bothwick wrote:
> On Wed, 15 Jan 2014 12:21:37 +0100, Helmut Jarausch wrote:
> > The log contains many message like
> > 
> > dbus[1366]: [system] Activated service 'org.freedesktop.login1' failed:
> >Failed to execute program /usr/libexec/dbus-daemon-launch-helper:
> > Success
> 
> I get this on my desktop but not my laptop. I have tried for ages to find
> out why it only fails on the desktop and gave up. Now I just "chmod
> +x /usr/libexec/dbus-daemon-launch-helper" and it goes away, until the
> next update.

That's interesting. Now that I look at mine, which doesn't throw those errors, 
I find some unusual permissions:

$ ls -l /usr/libexec/dbus-daemon-launch-helper
-rws--x--- 1 root messagebus 316K Dec  1 17:59 /usr/libexec/dbus-daemon-
launch-helper

Is this the same as what doesn't work for you?

-- 
Regards
Peter




Re: [gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Neil Bothwick
On Wed, 15 Jan 2014 14:17:18 +, Peter Humphrey wrote:

> > I get this on my desktop but not my laptop. I have tried for ages to
> > find out why it only fails on the desktop and gave up. Now I just
> > "chmod +x /usr/libexec/dbus-daemon-launch-helper" and it goes away,
> > until the next update.  
> 
> That's interesting. Now that I look at mine, which doesn't throw those
> errors, I find some unusual permissions:
> 
> $ ls -l /usr/libexec/dbus-daemon-launch-helper
> -rws--x--- 1 root messagebus 316K Dec  1 17:59 /usr/libexec/dbus-daemon-
> launch-helper
> 
> Is this the same as what doesn't work for you?

It is the same as on both the working laptop and non-working desktop?
Those are the permissions set by the dbus install, but one computer
objects to it. The desktop user is a member of every group that the
laptop user belongs to.

Yes, I know that's bad grammar and a preposition is something you should
never end a sentence with.


-- 
Neil Bothwick

Top Oxymorons Number 38: Government organization


signature.asc
Description: PGP signature


[gentoo-user] auvisio white star II

2014-01-15 Thread Silvio Siefke
Hello,

i have become this DVB-T USB Stick, i has installed the firmware and in 
Kernel i has build in the driver. 

siefke ~ $  cat /usr/src/linux-3.12.3-pf/.config | egrep AF9015
CONFIG_DVB_USB_AF9015=y

siefke ~ $  ls /lib/firmware/ | egrep dvb
dvb-usb-af9015.fw

I understand not why the Stick will be activated as Keyboard.

siefke ~ $  dmesg | egrep DVB
[2.948871] usb 1-3: Product: USB2.0 DVB-T TV Stick
[3.362579] DVB: registering new adapter (Afatech AF9015 reference design)
[3.375389] usb 1-3: DVB: registering adapter 0 frontend 0 (Afatech 
AF9013)...
[   10.313875] NEWMI USB2.0 DVB-T TV Stick: Fixing fullspeed to highspeed 
interval: 16 -> 8
[   10.314387] input: NEWMI USB2.0 DVB-T TV Stick as 
/devices/pci:00/:00:1d.7/usb1/1-3/1-3:1.1/input/input11
[   10.314685] hid-generic 0003:15A4:9016.0001: input,hidraw0: USB HID v1.01 
Keyboard [NEWMI USB2.0 DVB-T TV Stick] on usb-:00:1d.7-3/input1


Has someone Idea how can i installed and use the DVB Stick?


Thank you for help & Nice Day
Silvio



Re: [gentoo-user] auvisio white star II

2014-01-15 Thread Daniel Frey
On 01/15/2014 07:01 AM, Silvio Siefke wrote:
> Hello,
> 
> i have become this DVB-T USB Stick, i has installed the firmware and in 
> Kernel i has build in the driver. 
> 
> siefke ~ $  cat /usr/src/linux-3.12.3-pf/.config | egrep AF9015
> CONFIG_DVB_USB_AF9015=y
> 
> siefke ~ $  ls /lib/firmware/ | egrep dvb
> dvb-usb-af9015.fw
> 
> I understand not why the Stick will be activated as Keyboard.
> 
> siefke ~ $  dmesg | egrep DVB
> [2.948871] usb 1-3: Product: USB2.0 DVB-T TV Stick
> [3.362579] DVB: registering new adapter (Afatech AF9015 reference design)
> [3.375389] usb 1-3: DVB: registering adapter 0 frontend 0 (Afatech 
> AF9013)...
> [   10.313875] NEWMI USB2.0 DVB-T TV Stick: Fixing fullspeed to highspeed 
> interval: 16 -> 8
> [   10.314387] input: NEWMI USB2.0 DVB-T TV Stick as 
> /devices/pci:00/:00:1d.7/usb1/1-3/1-3:1.1/input/input11
> [   10.314685] hid-generic 0003:15A4:9016.0001: input,hidraw0: USB HID v1.01 
> Keyboard [NEWMI USB2.0 DVB-T TV Stick] on usb-:00:1d.7-3/input1
> 
> 
> Has someone Idea how can i installed and use the DVB Stick?
> 
> 
> Thank you for help & Nice Day
> Silvio
> 

That's not enough of the dmesg to determine if the device is loading
properly, although it looks like it could be due to it registering the
adapter.

In order to display something you'll need to use something like
vlc/mplayer[2] or mythtv compiled with the dvb flag.

Dan



Re: [gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Peter Humphrey
On Wednesday 15 Jan 2014 14:29:51 Neil Bothwick wrote:
> On Wed, 15 Jan 2014 14:17:18 +, Peter Humphrey wrote:
> > > I get this on my desktop but not my laptop. I have tried for ages to
> > > find out why it only fails on the desktop and gave up. Now I just
> > > "chmod +x /usr/libexec/dbus-daemon-launch-helper" and it goes away,
> > > until the next update.
> > 
> > That's interesting. Now that I look at mine, which doesn't throw those
> > errors, I find some unusual permissions:
> > 
> > $ ls -l /usr/libexec/dbus-daemon-launch-helper
> > -rws--x--- 1 root messagebus 316K Dec  1 17:59 /usr/libexec/dbus-daemon-
> > launch-helper
> > 
> > Is this the same as what doesn't work for you?
> 
> It is the same as on both the working laptop and non-working desktop?
> Those are the permissions set by the dbus install, but one computer
> objects to it. The desktop user is a member of every group that the
> laptop user belongs to.
>
> Yes, I know that's bad grammar and a preposition is something you should
> never end a sentence with.

You pinched my line! I often say that a preposition is a perfectly good word 
to end a sentence with.

-- 
Yours,
Bemused of Tideswell




Re: [gentoo-user] auvisio white star II

2014-01-15 Thread Silvio Siefke
Hello,

On Wed, 15 Jan 2014 07:42:26 -0800 Daniel Frey 
wrote:

> That's not enough of the dmesg to determine if the device is loading
> properly, although it looks like it could be due to it registering the
> adapter.
> 
> In order to display something you'll need to use something like
> vlc/mplayer[2] or mythtv compiled with the dvb flag.

VlC is compiled with dvb. Mplayer want not compiled give error messages. 
The Problem is that this stick is in System as keyboard. I take in and 
change my keyboard layout. Wscan want not install. Hhh so much trouble
for tv. Oh oh Linux sometimes so hard.

Thank you for help & Nice Day
Silvio



[gentoo-user] Which package contains kdeinit4? Was: Purged gnome, lost X. :-(

2014-01-15 Thread Alan Mackenzie
Hi, Alan.

On Sun, Jan 12, 2014 at 01:29:09PM +0200, Alan McKinnon wrote:
> On 12/01/2014 12:11, Alan Mackenzie wrote:
> >> That should get you a consistent system. Now run xfce.
> >> > With luck, it will work as it should.
> >> > If not, we can then start the real debugging
> > No such luck, as yet.  I still get these messages when trying to startx:

> >xfce4-session: GNOME compatibility is enabled and gnome-keyring-daemon 
> > is found on the system. Skipping gpg/ssh-agent startup.
> >env: kdeinit4: No such file or directory
> >env: qdbus: No such file or directory

> > .  Somehow, the remnants of a KDE program are hanging around somewhere.
> > I've no idea what qdbus is, or where I've got it configured.


I'm getting a bit weary with this issue.  Thanks for the help, so far.  I
spent a lot of Sunday evening trying to locate executables/libraries
which still invoke kdeinit4 and qdbus.  To no avail.

Next bright idea: why don't I emerge these two binaries again?  This will
surely help me locate the offending binaries, and even if it doesn't,
might get my X working again as a workaround.

> qdbus comes from qtdbus, it was pulled in by KDE way back when.

I've emerged qtdbus, and the "qdbus" error message has gone.  But I can't
for the life of me locate the package containing kdeinit4.  I've looked
through /usr/portage/kde-base/, but can't identify the KDE base package I
need.  equery only works on already emerged packages.

Which package contains kdeinit4?

> $ equery belongs /usr/bin/qdbus
>  * Searching for /usr/bin/qdbus ...
> dev-qt/qtdbus-4.8.5 (/usr/bin/qdbus)

> It's being launched because you have a KDE app somewhere in your startup
> scripts (or possibly kdeinit4 itself)

> How do you start X? A display manager or using startx?
> What are the contents of the relevant files?

startx.  My .xinitrc contains solely "exec startxfce4".

> -- 
> Alan McKinnon
> alan.mckin...@gmail.com

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Which package contains kdeinit4? Was: Purged gnome, lost X. :-(

2014-01-15 Thread Neil Bothwick
On Wed, 15 Jan 2014 22:35:34 +, Alan Mackenzie wrote:

> I've emerged qtdbus, and the "qdbus" error message has gone.  But I
> can't for the life of me locate the package containing kdeinit4.  I've
> looked through /usr/portage/kde-base/, but can't identify the KDE base
> package I need.  equery only works on already emerged packages.

kdelibs


-- 
Neil Bothwick

God: What one human uses to persecute another.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Walter Dnes
On Wed, Jan 15, 2014 at 02:29:51PM +, Neil Bothwick wrote

> Yes, I know that's bad grammar and a preposition is something you should
> never end a sentence with.

  That is a rule up with which I will not put. (Sir Winston Churchill)

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] opensmtp fatal error: socket: address family not supported

2014-01-15 Thread José Romildo Malaquias
Hello.

When trying opensmtpd on my gentoo linux system, I am getting the
following error message:

# smtpd -vn
configuration OK

# smtpd -vd
debug: init ssl-tree
info: OpenSMTPD 201401061555p1 starting
debug: bounce warning after 4h
debug: using "fs" queue backend
debug: using "ramqueue" scheduler backend
debug: using "ram" stat backend
info: startup [debug mode]
mfa: building simple chains...
mfa: building complex chains...
mfa: done building complex chains
mfa: done building default chain
debug: queue: done loading queue into scheduler
libevent 2.0.21-stable (epoll)
debug: parent_send_config_ruleset: reloading
debug: parent_send_config_mfa: reloading
debug: parent_send_config: configuring smtp
debug: mfa ready
fatal: smtpd: socket: Address family not supported by protocol
warn: lka -> smtp: pipe closed
warn: parent -> smtp: imsg_read: Connection reset by peer
warn: queue -> smtp: pipe closed
fatal: exiting: Connection reset by peer
warn: mfa -> smtp: pipe closed
warn: control -> smtp: pipe closed
warn: mta -> lka: pipe closed
warn: mda -> lka: pipe closed
warn: scheduler -> queue: pipe closed

Any clues on how to fix this?

Romildo



Re: [gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Peter Humphrey
On Wednesday 15 Jan 2014 19:12:16 Walter Dnes wrote:

>   That is a rule up with which I will not put. (Sir Winston Churchill)

IIRC that was a put-down in the House of Commons. I forget who'd been too 
pompous that time, but he got it between the eyes.

-- 
Regards
Peter




[gentoo-user] Re: KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread walt
On 01/15/2014 03:37 AM, Neil Bothwick wrote:
> On Wed, 15 Jan 2014 12:21:37 +0100, Helmut Jarausch wrote:
> 
>> The log contains many message like
>>
>> dbus[1366]: [system] Activated service 'org.freedesktop.login1' failed:
>>Failed to execute program /usr/libexec/dbus-daemon-launch-helper:  
>> Success
> 
> I get this on my desktop but not my laptop. I have tried for ages to find
> out why it only fails on the desktop and gave up. Now I just "chmod
> +x /usr/libexec/dbus-daemon-launch-helper" and it goes away, until the
> next update.

Helmut is still using consolekit.  Are you still using consolekit?

I have no idea if consolekit is relevant here, but Canek has been telling
us that consolekit is abandonware and we should stop depending on it.




[gentoo-user] Nvidia and poor codec performance (sync)

2014-01-15 Thread João Matos
Dear list,

I'm having problem to watch videos on Gentoo, since I can't remember. I got
stripes all the time, but it get worse iv the scene is fast.

A couple days ago, a friend borrowed my Nvidia gt 240, and I started to use
my at-least-seven-year-old onboard Intel card. For my surprise, I can watch
any videos without problem.

Unfortunately I didn't get my card back to do some testing, but I'd like to
share it with you to see if someone had any similar problem. My system is
~amd64, including the nvidia-drivers.

Thank you,

-- 
João Neto
Linux User #461527
http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552


Re: [gentoo-user] KDE slow / console-kit-daemon POLKIT_IS_AUTHORITY failed

2014-01-15 Thread Peter Humphrey
On Thursday 16 Jan 2014 00:31:52 I wrote:
> On Wednesday 15 Jan 2014 19:12:16 Walter Dnes wrote:
> >   That is a rule up with which I will not put. (Sir Winston Churchill)
> 
> IIRC that was a put-down in the House of Commons. I forget who'd been too
> pompous that time, but he got it between the eyes.

I was mistaken, according to 
http://www.winstonchurchill.org/learn/speeches/quotations . Always a timely 
reminder of human frailty.

-- 
Regards
Peter




Re: [gentoo-user] auvisio white star II

2014-01-15 Thread Daniel Frey
On 01/15/2014 12:52 PM, Silvio Siefke wrote:
> Hello,
> 
> 
> VlC is compiled with dvb. Mplayer want not compiled give error messages. 
> The Problem is that this stick is in System as keyboard. I take in and 
> change my keyboard layout. Wscan want not install. Hhh so much trouble
> for tv. Oh oh Linux sometimes so hard.
> 
> Thank you for help & Nice Day
> Silvio
> 

What's the output of `ls -lR /dev/dvb` ?

What's the output of `dmesg | grep -i af9015` ? Anything relevant there?

Have you tried to locate newer firmware?

Dan



[gentoo-user] Anyone using open-vm-tools w/ESXi?

2014-01-15 Thread Daniel Frey
Hi all,

I managed to drag several 3+ year old gentoo webserver installs to
current. That was an interesting experience. I'd say it was difficult
and time-consuming but not impossible. ;-) Believe me, they were kicking
and screaming the whole way.

These are all virtualized under ESXi now so I did some reconfiguration
and decided to add open-vm-tools for shutdown support through the host.
All items for vmware are built into the kernel, and the VMs are working
as they should.

Well, except for starting vmware-tools:

vmsvc[1297]: [ warning] [GLib-GObject] invalid (NULL) pointer instance

vmsvc[1297]: [critical] [GLib-GObject] g_signal_emit_by_name: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed


I've tried rebuilding glib but no luck. I haven't tried changing the USE
flags on glib as of yet (just thought of that now, actually...) It
doesn't seem to affect the host shutdown (which is what I initially
wanted) but it probably shouldn't be crashing. I have a feeling it may
have something to do with VMCI.

I have 5 or 6 gentoo installs running under ESXi, some were new (started
off a new stage3) and they all have this problem. It's not show-stopping
by any means, but has anyone found a solution? Google has not been so
helpful here as most reponses I've found affect Windows.

Dan



Re: [gentoo-user] Which package contains kdeinit4? Was: Purged gnome, lost X. :-(

2014-01-15 Thread Alan McKinnon
On 16/01/2014 00:35, Alan Mackenzie wrote:
> I've emerged qtdbus, and the "qdbus" error message has gone.  But I can't
> for the life of me locate the package containing kdeinit4.  I've looked
> through /usr/portage/kde-base/, but can't identify the KDE base package I
> need.  equery only works on already emerged packages.
> 
> Which package contains kdeinit4?


kde-base/kdelibs



-- 
Alan McKinnon
alan.mckin...@gmail.com