Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906976 - x11-apps/xinit-1.4.2: calling xauth can takes long time to execute
Summary: x11-apps/xinit-1.4.2: calling xauth can takes long time to execute
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-05-23 08:49 UTC by Morteza
Modified: 2023-05-25 03:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morteza 2023-05-23 08:49:05 UTC
hey,
it takes approximately 2s for startx to loop over xauth list
```
for displayname in $authdisplay $hostname$authdisplay; do  
     authcookie=`xauth list "$displayname" \
     | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
```
it's probably noticeable because I use musl which is slower?
this patch https://gitlab.archlinux.org/archlinux/packaging/packages/xorg-xinit/-/blob/main/fs25361.patch seems to be a unrelated but it fixed the issue for me

Reproducible: Always