If you run X from startx, you'll accumulate large numbers of files in $HOME named .serverauth.????, one for each time you ever ran startx The problem: /usr/bin/startx creates a file called $HOME/.serverauth.$$, runs xinit, then removes the file. If startx exits ungracefully Reproducible: Always Steps to Reproduce: 1.runs startx, runs fine, but with each time, ran startx 2.accumulate large numbers of files in home directory 3. Actual Results: accumulate large numbers of files in $HOME named .serverauth.????
Created attachment 283577 [details] xinit-1.3.1-r1.ebuild xinit ebuild with the startx_no_serverauth.patch
Created attachment 283579 [details, diff] startx_no_serverauth.patch patch for deactivate accumulation of .serverauth.???? in home directory
https://launchpad.net/ubuntu/+source/xinit/+bug/35758 http://shallowsky.com/blog/linux/serverauth.html
*** Bug 316597 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=491cd4d5509dd2f6866a5aaa6184c68915eb9652 commit 491cd4d5509dd2f6866a5aaa6184c68915eb9652 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2019-03-03 22:34:37 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-05-15 18:51:14 +0000 x11-apps/xinit: Version bump to 1.4.1 Use a patch from Debian to resolve bug 379441. Closes: https://bugs.gentoo.org/379441 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-apps/xinit/Manifest | 1 + .../xinit-1.4.1-move-serverauthfile-into-tmp.patch | 22 +++++++ x11-apps/xinit/xinit-1.4.1.ebuild | 76 ++++++++++++++++++++++ 3 files changed, 99 insertions(+)