Bug#600365: gksu on GNU/kFreeBSD

Petr Salinger Petr.Salinger at seznam.cz
Mon Dec 13 18:58:01 UTC 2010


>> Please can you try whether "xhost +local:" before "gksu gnome-system-log"
>> does help for you ?
>>
> Yes, it works then.
>
> Before:
>
> $ gksu gnome-system-log
> kvm_open: kvm_nlist: No such file or directory
> No protocol specified
>
> (gnome-system-log:8938): gnome-system-log-CRITICAL **: Unable to parse arguments: Cannot open display:
> LibGTop-Server: pid 8949 received eof.
>
> And gnome-system-log not displayed.
>
> Then do:
>
> $ xhost +local:
> non-network local connections being added to access control list
>
> After this gnome-system-log is displayed:
>
> $ gksu gnome-system-log
> kvm_open: kvm_nlist: No such file or directory
> $ LibGTop-Server: pid 9202 received eof.


The attached patch fixes/workrounds it for me.

The problem is that for tty/pipes/sockets
the data might not be ready, but the code
in gksu-run-helper.c assumes that they are :-(

Petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gksu-run-helper.diff
Type: text/x-diff
Size: 501 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20101213/1c09200e/attachment.diff>


More information about the pkg-gnome-maintainers mailing list