Last update: 05.01.2005
DebianSome things to remember about Debian.
X11If you want your Xfree86 to listen on TCP, have a look at /etc/X11/xinit/xserverrc or the Xservers file of your display manager (eg. xdm:/etc/X11/xdm/Xservers, kdm3:/etc/kde3/kdm/Xservers ...). You find the start command for your Xserver in there. The option "-nolisten tcp" is what you are looking for. Just remove this Option.
Yes it isn't a secure connection if you do an "xhost +remotehost" and connect from the remote host. But there are cases it might be necessary.
Apache: Premature end of script headersOne reason for this can be that you have changed the apache user. The result is, that Virtual Domains work, but a cgi-bin in a user-dir doesn't. The solution ist to move /usr/lib/apache/suexec away and restart (reload isn't enough) apache. From now on suexec is disabled.
Other reasons are for example DOS-Format or the wrong location of the interpreter.
Debian and vanilla kernels with initrdThe Dabian kernels have a little cramfs patch. I couldn't find it anywhere, so I can't use "mkcramfs" for the vanilla initrd. I installed genromfs and changed the following line in /etc/mkinitrd/mkinitrd.conf:
MKIMAGE='genromfs -d %s -f /boot/initrd.tmp.$$ > /dev/null; gzip -c -9 /boot/initrd.tmp.$$ > %s'