Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316597 - x11-apps/xinit: .serverauth.$$ files in $HOME directory after ungraceful X exits
Summary: x11-apps/xinit: .serverauth.$$ files in $HOME directory after ungraceful X exits
Status: RESOLVED DUPLICATE of bug 379441
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL: https://launchpad.net/ubuntu/+source/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-21 23:38 UTC by Phill
Modified: 2019-03-03 22:35 UTC (History)
0 users

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 Phill 2010-04-21 23:38:41 UTC
xorg-server 1.7.6

I run x from the startx script, there is now a minor proliferation of .serverauth.$$ files appearing in my home directory, this has bee identified in other distros as a symptom of ungraceful X exits and has a simple cure:

in startx the auth file  is 


and if changed to 


then the symptoms cease.


I suspect there may be advantages to the gentoo distributed startx file, for multiple users maybe, but thought this should possibly be reported here.

Reproducible: Sometimes

Steps to Reproduce:
1. Start X with the startx script
2. Restart the computer
3. ls ~/ - should show a .serverauth.xxxx file



Expected Results:  
there should be no .serverauth.xxxx file left after reboot

emerge --info



Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 21 Apr 2010 22:15:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ "
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB es"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl aim all-options alsa aspell auth auto-completion autoipd automount avahi bash-completion berkdb binary-drivers bittorrent bonjour bzip2 case cdda cddb cdparanoia cdrkit cdrom cdrtools cg cgi chm cli clipboard colors config-log consolekit context cracklib crypt css cups curl curlwrappers cxx daemon dbus desktopglobe dga dhcp dhcpcd dirac directfb divx djvu dovecot-sasl dri dvd dvdarchive dvdchapjump dvdnav dvi emerald epiphany fat fbcon fbcondecor fbdev fbsplash firefox3 fortran fortune ftp fuse games gdbm gif gpm grub gstreamer gtk hal hardened html http httpd iconv id3 id3tag imagemagick injection ipv6 jadetex john jpeg lame laptop largefile latex libsexy libssh2 libwww lm_sensors logrotate md5sum mdnsresponder-compat mixer mmx mode-force mode-owner mode-paranoid modperl modules mozilla mp3 mpe mpe-sdk mpeg mpu401 msn mudflap mysql mysqli nat ncurses net network networking nfs nls nmap nntp normalize nptl nptlonly nvidia offensive ogg opengl openmp openssl opensslcrypt oscar pam passwd passwdqc pcre perl php pidgin pm-utils png pop3d pppd procmail ps python quarantine quota quotas radius rar raytracerx rdesktop readline reflection regex resolvconf rss rsync rtf samba sametime screen sendmail session sftp sms sound spam-auth-user spl sse sse2 ssl ssse3 stream symlink sysfs syslog tcpd transparency tremor truetype ui underscores unicode unzip video vim vorbis wad wav wavpack weather webinterface webmail wifi win32codecs winbind winetools wmf wps x264 x86 xfce xfs xhtml xorg xterm xterm-color xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB es" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-23 10:53:11 UTC
> in startx the auth file  is 
> 
> 
> and if changed to 
> 
> 
> then the symptoms cease.

Try to be a bit more verbose... :)
What's your xinit version?
The Ubunto bug actually says:

Edit the file "/usr/bin/startx". Find the line that says:
xserverauthfile=$HOME/.serverauth.$$
Edit it to say:
xserverauthfile=$XAUTHORITY
Comment 2 Matt Turner gentoo-dev 2019-03-03 22:35:14 UTC

*** This bug has been marked as a duplicate of bug 379441 ***