Comment 19 for bug 89711

Revision history for this message
p0ssum (pstroud) wrote :

In the process of building an automated backend to run under Xvfb, I ran into this issue, or at least I think it was, I could not see the GUI;-)

Anyhow, I tried removing all of the following:

      rm -rf /tmp/ksocket*
      rm -rf /tmp/kde-paul
      rm -rf /tmp/.X11-unix/[d0-9].*
      rm -rf /tmp/orbit-paul
      rm -rf ~/.DCOP*
      rm -rf /var/tmp/kdecache-paul

and nothing worked, I poured through lsof, netstat, and everything else looking for something I was missing. Here is where the strace hung:
(strace dcop --all-sessions --user paul amarok player isPlaying)

read(5, 0x7ffffac82560, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(5, "\34\270\t\0\1\0\240\3\4\0\0\0\3168\232\26\0008\232\26\210"..., 32) = 32
write(4, "\1\2\1\0h\0\0\0004\0\0\0", 12) = 12
write(4, "\0\0\0\20anonymous-11008\0\0\0\0\7amarok\0\0"..., 96) = 96
write(4, "\0\0\0\0\26\2328\316", 8) = 8
read(4,

I noticed this was while reading:

access("/home/paul/.Xauthority", R_OK) = 0
open("/home/paul/.Xauthority", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0600, st_size=208, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4eafe47000
read(6, "\1\0\0\6mythtv\0\00212\0\22MIT-MAGIC-COOKIE"..., 4096) = 208

Once I removed my .Xauthority file, everything was find. Dont know if this helps anyone else, but I figured it was worth a try...