Remote logging with syslog

Today i played around with syslogd and here is what I learned:

To enable syslog to recieve logs from remote machines you have to give the syslogd an -r parameter. I Debian you have edit /etc/inet.d/syslogd to enable remote logging. A bug has allready been filed about this #205239

On other systems like RedHat you can configure it in /etc/sysconfig/syslog where you set SYSLOGD_PARAMS=”-r”

Now restart syslog with:

machine:~# /etc/init.d/sysklogd restart

To configure the clients edit /etc/syslog.conf:

#Remote logging to
*.* @

And restart syslog like above (now on you client).

NOTE - You can only have comments on newlines. This example is WRONG!!

*.* @ #My log machine<

DVD cover dimensions

I also found that the size (dimensions) of a DVD cover should be: 272mm x 184mm. When giving the cover 3mm overfill the size is 278mm x 190mm.

I also found this for a booklet:

The pictures above is taken from A1cds (but not directly linked to).

SVG rasterizer with Batik

At work I sit at a fairly slow machine so it takes forever to transform svg files to high resolution bitmap pictures. Also Java has a default upper memory limit which is quickly excited when exporting to high resolution bitmap pictures. This problem is solved when the default upper limit is increased: -Xmx128m (use 128MB RAM)

I ssh’ed home to my desktop machine and tried to use Batik there. But I got the exception:

Error: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

This happens when no X server is running but I googled around for while and found a solution to the problem: -Djava.awt.headless=true

So I ended up with something like this:

user@debian:~$ java -Xmx128m -Djava.awt.headless=true -jar batik-rasterizer.jar -dpi 300 -d out.png in.svg

A section about date and time in

On my way to work I got a crazy thought. IIRC at least 3 questions about how to set time and date has been asked on the danish Debian help forum. This should be addressed with writing a section about how to set date and time on a Debian box. The section should contain a little info about date, rdate with cron and a third command to set the date (which I can’t remember the name).


GNOME keyboard repeat stroke- and gDesklet Starterbar trouble

Today after the regualy update of my Debian unstable desktop a had some serious problems with my keyboard in gnome :( When holding down a key the stroke wasn’t repeated. Very annoying when using arrow keys (in console mode).

After a little research I found out that even though the new packages introduced this crappy thing the problem wasn’t within the new packages but instead in my configuration i my home-dir.

I used more that a hour to locate the exact configration file:


Most of the time was used googleing for an answer but after a while I decided to try figure out the problem myself and I eventually found the file above.

Another bad thing about my update was that the gdesklet package introduced a broken starterbar. After some research I found out that I now needed the python-xdg package to run… I have made a bug report in this.

Update: - It seems that it wasn’t a bug after all… just my reading skills ;)