KDE 3.2.3 on Debian Unstable
I have a setup with a powerful "application server" dedicated to running my applications. This machine has 2 x XP2200, 512MB and a filesystem spread accross 8 disks (6 scsi).
My workstation is a diskless PC running an X server against kdm on the application server, basically a thin client.
Everything is running fine, except:
Starting most (any?) KDE applications takes 5 seconds or more. This time is certainly not spend waiting for hardware resources.
'strace -T konsole' reveals that something tries to connect to /tmp/.X11-unix/X0 six times during startup, waiting one second between each attempt. Finally the application sees reason and connects to the remote X server making konsole appear. The attempts to connect to the non-existant local X server seem to be a terrible waste of time.
<snip>
uname({sys="Linux", node="lyn", ...}) = 0 <0.000062>
socket(PF_FILE, SOCK_STREAM, 0) = 4 <0.000087>
uname({sys="Linux", node="lyn", ...}) = 0 <0.000050>
uname({sys="Linux", node="lyn", ...}) = 0 <0.000061>
connect(4, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = -1 ENOENT (No such file or directory) <0.000104>
close(4) = 0 <0.000061>
rt_sigprocmask(SIG_BLOCK, [CHLD], [],
= 0 <0.000074>
rt_sigaction(SIGCHLD, NULL, {SIG_DFL},
= 0 <0.000071>
rt_sigprocmask(SIG_SETMASK, [], NULL,
= 0 <0.000061>
nanosleep({1, 0}, {1, 0}) = 0 <1.002515>
uname({sys="Linux", node="lyn", ...}) = 0 <0.000064>
socket(PF_FILE, SOCK_STREAM, 0) = 4 <0.000087>
uname({sys="Linux", node="lyn", ...}) = 0 <0.000053>
uname({sys="Linux", node="lyn", ...}) = 0 <0.000050>
connect(4, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = -1 ENOENT (No such file or directory) <0.000106>
close(4) = 0 <0.000059>
rt_sigprocmask(SIG_BLOCK, [CHLD], [],
= 0 <0.000068>
rt_sigaction(SIGCHLD, NULL, {SIG_DFL},
= 0 <0.000070>
rt_sigprocmask(SIG_SETMASK, [], NULL,
= 0 <0.000062>
nanosleep({1, 0}, {1, 0}) = 0 <1.002543>
uname({sys="Linux", node="lyn", ...}) = 0 <0.000009>
socket(PF_FILE, SOCK_STREAM, 0) = 4 <0.000030>
uname({sys="Linux", node="lyn", ...}) = 0 <0.000007>
uname({sys="Linux", node="lyn", ...}) = 0 <0.000007>
connect(4, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = -1 ENOENT (No such file or directory) <0.000033>
close(4) = 0 <0.000016>
rt_sigprocmask(SIG_BLOCK, [CHLD], [],
= 0 <0.000008>
rt_sigaction(SIGCHLD, NULL, {SIG_DFL},
= 0 <0.000009>
rt_sigprocmask(SIG_SETMASK, [], NULL,
= 0 <0.000008>
nanosleep({1, 0}, {1, 0}) = 0 <1.002374>
</snip>
What is causing this silly behaviour? -and how do I get rid of it?
Best Regards,
Michael A.