Category: Misc

  • Open VNC virt-viewer (.vv) files on macOS

    I tried to use virt-viewer from homebrew but it didn’t work properly. Instead I decided to write an Automator App that reads the contents of the .vv file and opens the macOS built-in VNC viewer. Create a new Automator Application, and add the “Run Shell Script” action and choose to pass input as arguments. Select…

  • This copy of the Install macOS Catalina application is damaged

    I recently needed to reinstall macOS via USB stick on a laptop that has not been used for a while. I was able to boot from the USB, but when running the installer I was greeted with the “This copy of the Install macOS Catalina application is damaged…” message. Curiously, the same USB stick worked…

  • Nomachine reports “ERROR: Unsupported operating system ‘linux’”

    I’m trying to install Nomachine NX Enterprise Server on Ubuntu, and the installation of the .deb package fails with: NX> 704 ERROR: Unsupported operating system ‘linux’ After looking at the install script, I found a simple solution: sudo touch /etc/debian_version

  • Disable annoying pop-up messages in VirtualBox

    Run from command line: VBoxManage setextradata global GUI/SuppressMessages “all”

  • 3G USB stick Huawei E169/E620/E800 HSDPA in Linux

    Simply install the “wvdial” package and edit /etc/wvdial.conf: [Dialer Defaults] Phone = *99***1# Username = username Password = password Stupid Mode = 1 Dial Command = ATDT [Dialer hsdpa] Modem = /dev/ttyUSB0 Baud = 460800 Init2 = ATZ Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ISDN = 0 Modem Type = Analog Modem…

  • CurlFTPfs: 95 Operation not supported

    I’ve been using curlFTPfs with rdiff-backup and ran across this problem when creating the remote backup log file: ftpfs: operation ftpfs_open failed because Operation not supported unique: 889, error: -95 (Operation not supported), outsize: 16 The curlFTPfs author says: “Be aware that some applications might not be able to “save” files on curlftpfs from 0.9.2…

  • OpenStack “backing file” cleanup script

    Sometimes OpenStack leaves the “backing file” of the sparse root filesystem behind after a VM is destroyed. Those files are located in /var/lib/nova/instances/_base/ and can use up hundreds of GB. To find out which of those backing files are orphans and delete them, someone has posted a script, which I slightly improved: #!/bin/sh cd /var/lib/nova/instances…

  • How to create a bootable volume in Openstack Folsom

    Wouldn’t it be nice to have the root filesystem of your Openstack VM inside a volume? This way you could install a lot of packages on the root partition without spreading the files over several volumes. You could take a snapshot of the entire system (OS & data) and boot right off it. Openstack Folsom…

  • collectd libvirt plugin build dependencies

    When configuring collectd using ./configure –prefix=/usr/local –enable-libvirt , the modules section that’s displayed after configuring on my machine shows: libvirt . . . . . . . no (dependency error) The solution here is to install the libxml2-dev package in addition to libvirt-dev, since that is needed by collectd to parse the XML VM configuration…

  • Airport Extreme: update dynamic hostname through BIND

    If you are the owner of an Apple Airport Extreme base station, you may have wondered if it is possible to assign a static hostname to your dynamically changing ADSL IP address. Many other routers offer this feature through one of the popular dynamic DNS services such as DynDNS. Apple however decided not to support…