The files are
##### is a 5-digit number.
I have a handful of these files in my home directory with a broad range of creation dates spanning a couple of years.
What are these files from? Is it safe to delete them?
You can remove all of them except the newest one. They are created by the
startx script. If X does not shut down gracefully, that files is not removed and stays forever (see that bug).
You can change the line in the
/usr/bin/startx file, to a more handy way:
xserverauthfile= in the script and replace the line with:
Each time you start an X windows session, that file gets created and it is deleted when X session exits normally. If startx exits ungracefully - for instance, if the shutdown sequence sends it a kill signal (the script doesn't catch signals) - the file will never be removed. It is safe to remove these files.
There are probable solutions but I've never tested for side effects. Change following line in your
startx command (