Journey's End

Jul 30
2022

TigerVNC and Systemd

A quick systemd service definition file for tigervnc on Ubuntu 20.04

[Unit]
Description=tigervnc

[Service]
Type=forking
ExecStart=/usr/bin/vncserver -localhost no -depth 24 -geometry 1920x1080 -noreset
User=steve

[Install]
WantedBy=multi-user.target

Key components:

  1. Type=forking so systemd correctly identifies the real VNC process, not the perl script that runs and then exits
  2. -localhost no so connections from other computers are accepted. This is only needed if you are not using ssh tunneling.
  3. User=steve so tigervnc doesn't complain about HOME not defined in the environment and uses my settings for auth and X session. Note that this is a strictly single-user setup.
ts=01:51 tags=[software,linux,oss]

Nov 24
2021

Quick Survey of Some Lightweight Linux Distributions

On an ASUS E203M

Busenlabs Lithium

Installed fine but kernel (4.9?) would immediately shutdown after decrypting the root volume due to incorrect thermal readings. Was not able to disable this via thermal.nocrt=1 boot param

AntiX 21

Live system did not have working mouse. Did not proceed to …

ts=05:35 tags=[computer,linux]

Jun 24
2019

T102HAAS.303 Considered Harmful For Linux

T102HAAS.303 Breaks Suspend

After upgrading my Asus Transformer Mini's BIOS to T102HAAS.303 suspend was completely broken. Closing the "lid" would cause some kind of suspend that cannot be disabled in software and from which Linux 4.15.0 cannot successfully resume from (actually it does resume but the …

ts=02:20 tags=[computer,linux]

Jun 24
2019

Ubuntu 18.04 on Asus Transformer Mini (T102H)

Installation

Create a USB drive with a single FAT32 partition then extract the installation ISO into it using 7z:

7z x /path/to/ISO -o/path/to/usb

Note that there is no space between -o and the following path.

Plug in the USB drive then turn on the …

ts=02:20 tags=[computer,linux]

Apr 16
2016

Mar 23
2016

Mar 23
2016

Notes on Migrating a Linux Install

Some issues I ran into when trying to move a Linux install from a 500 GB drive to a smaller 120 G SSD:

  • When duplicating the filesystem, make sure that /proc exists, otherwise when you boot the new drive the kernel will complaint that /proc is missing and it can't …

Mar 23
2016

Thinkpad Mute Buttons and Xubuntu

I recently acquired a used Lenovo X220 for use as a linux laptop, and needed the following in my openbox configuration XML to make the hardware speaker and mic mute buttons work:

  <!-- Modified for X220 -->
  <keybind key="XF86AudioMute">
    <action name="Execute">
      <command>pactl set-sink-mute 0 toggle</command>
    </action>
  </keybind>
  <keybind …

Sep 14
2012

Notes On Running Calibre On A Server

Calibre is a great tool, especially for converting between ebook formats. Here are some notes for getting it to run on a headless server.

  • The binary installer off the website works fine — ignore warnings about completion and desktop integration failing.
  • The installer will always pollute /usr/bin regardless of the …
ts=09:50 tags=[software,oss,linux]

Jun 15
2010

Sep 09
2009

Dealing with rkhunter warnings

rkhunter often warns on file property changes after upgrade and such, and sometimes you just aren't sure whether it is due to recent upgrades, or because you really were compromised. The following script was written to compare the checksum of all files rkhunter warns about against the originals in a …

ts=05:01 tags=[code,software,linux]

Aug 05
2009

Sep 21
2008

Jul 31
2008

iwconfig not setting essid?

If iwconfig wlan0 essid blah is seemingly not working when connecting to a open wireless network, then try

  1. iwconfig wlan0 essid blah

  2. iwconfig wlan0 key open

  3. iwconfig wlan0 enc off

The above seems to work for me by turning off encryption. It would appear with encryption enabled, iwconfig won't work …

Jul 24
2008

grub, xfs, debian

Running grub-install with a XFS partition will likely fail - there is a reason lilo is used when XFS is root! The issue is grub-install creates the stage files in /boot/grub, which grub then expects to find when it accesses the disk directly using its own file system drivers. For …

Jul 16
2008

Mar 28
2008

eeepc, likes and dislikes

Likes:

  • nice and small

  • all the hardware works, including sleep/suspend

  • runs debian based OS by default

  • can run an external monitor at decent resolution

Dislikes:

  • uses fastinit which only boots into single user mode, so user "user" is always logged in. Endless frustration playing with X11 startup in vain …

Mar 02
2008

Feb 15
2008

Jan 06
2008

Finally, PIC under Linux made Easy

I have been looking for software to work with my PIC-PG2 programmer under Linux for a while now. Previously I have been using windows and PICPROG which while nice, still involved messing with windows and stuff. The situation back then (around 2006) was bleak - there were no up to-date and …

ts=14:16 tags=[pic,oss,linux]
Next → Page 1 of 2