[ale] gksu launch speed

Jim Popovitch jimpop at yahoo.com
Wed Oct 4 12:10:26 EDT 2006


On Wed, 2006-10-04 at 09:21 -0400, Jerry Yu wrote:
> could you do 'strace gksu' and watch what the system calls are when it
> pauses for that 5~10s, assume the boxen itself is decent and nslookup
> works for the hostname and such?

It's my work laptop (Ubuntu Dapper) fairly decent hardware.  Nslookup
does not resolve the hostname, it's set to 127.0.0.1 in /etc/hosts and
external DNS systems won't have an entry for it.  Nslookup does resolve
the IP address(es) assigned by DHCP... a well as the PTRs for those IPs.

strace shows a bunch of these during the "hang time":

read(3, 0xbff99310, 32) = -1 EAGAIN (Resource temporarily unavailable)


If I change my DISPLAY env to something strange, then run "strace gksu
true" from that terminal, I do see a bunch of lookup errors and connects
refused.  Much different than the EAGAIN errors when DISPLAY is set to
":0.0" 

Strange,

-Jim P.

> 
> On 10/3/06, Jim Popovitch <jimpop at yahoo.com> wrote:
>         Is it just me or does gnome gksu normally take 5 or 10 seconds
>         before it
>         graps the screen/mouse/etc and prompts for root's password?
>         
>         If it's not just me, any ideas on what to do to make it a bit
>         faster?
>         
>         Tia, 
>         
>         -Jim P.
>         
>         _______________________________________________
>         Ale mailing list
>         Ale at ale.org
>         http://www.ale.org/mailman/listinfo/ale
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list