Using Google G Suite as a Spam Filter

I’ve run my own mail server for about 20 years now. I always took pride in the fact that I had complete control over my email and that none of it sat in the “cloud”. Well, I relented, kind of. The amount of spam coming through my email server well exceeds that of genuine email. Originally the problem was mainly contained to my email account; probably because I’ve had it for so long; but then my wife’s email account started to cop it as well.

Continue reading

Fixing Terminal Beep in Cinnamon Desktop

I recently started a new job where IRC is used internally. I installed irssi and configured it to “beep” when my nick is mentioned, but nothing would come out of the speakers. Even the beep command would fail. I have a theory that it’s due to the Macbook I use not having a “PC speaker”, but I’m not 100% sure as I managed to fix things pretty quicky using this train of thought. Here are the commands that fixed it.

Continue reading

libvirtd Segfault – Start request repeated too quickly for libvirtd.service (Solved)

Today I came across the following issue after an upgrade of libvirtd:

[root@karma ~]# service libvirtd start

Oct 19 17:48:43 karma kernel: libvirtd[4469]: segfault at 0 ip 00007f38f342ccf7 sp 00007f38efb5cf88 error 4 in libvirt_driver_qemu.so[7f38f33c3000+133000]
Oct 19 17:48:43 karma systemd: libvirtd.service: main process exited, code=killed, status=11/SEGV
Oct 19 17:48:43 karma systemd: Unit libvirtd.service entered failed state.
Oct 19 17:48:43 karma systemd: libvirtd.service failed.
Oct 19 17:48:43 karma systemd: libvirtd.service holdoff time over, scheduling restart.
Oct 19 17:48:43 karma systemd: start request repeated too quickly for libvirtd.service
Oct 19 17:48:43 karma systemd: Failed to start Virtualization daemon.
Oct 19 17:48:43 karma systemd: Unit libvirtd.service entered failed state.
Oct 19 17:48:43 karma systemd: libvirtd.service failed.

It looks like libvirtd is segfaulting immediately, leading to systemd restarting it over and over, eventually failing due to it failing so quickly.
Continue reading

Installing a VNC Server on RHEL/SL/Centos 6.5

It’s so easy to get RHEL based operating systems to work as an RDP server these days.

  1. Install the EPEL repo

  2. For CentOS/SL:
    yum install xrdp tigervnc-server

    For RHEL:

    rpm -i http://ftp.iinet.net.au/pub/centos/6.5/updates/x86_64/Packages/tigervnc-server-1.1.0-8.el6_5.x86_64.rpm
    yum install xrdp
  3. service xrdp start
  4. chkconfig xrdp on

For RHEL:

Silky Smooth MythTV Playback

The judder on my MythTV frontend has been driving me crazy for a while now. There was a very simple fix for this: RTFM.

The MythTV team have put together an entire manual on avoiding judder.

It turned out that my judder problem was due to a few problems:

My Nvidia settings was set to enable PowerMiser. This tells the video card to back off whenever it thinks it’s not under enough load.

I was missing the following line in my Xorg conf:

Option "FlatPanelProperties" "Scaling = Native"

I didn’t have proper playback settings in the following menu:

Setup -> Setup -> Appearance Go to the “Video Mode Settings”

I set everything to 1080p and auto.

I don’t know which setting fixed the problem, but it’s nice and smooth now!