Systems Administration

Chrome Remote Desktop on Linux MInt 17

I want to access my work desktop (running Linux Mint 17) from my Chromebook. So, I set about getting Chrome Remote Desktop running on my desktop machine and it turned out to be less than straight forward. I ran into several errors like:

  • failed to start remove access service - after creating .chrome-remote-desktop-session and attempting to enable desktop sharing
  • Incorrect size format '1024x768', should be WIDTHxHEIGHT - when attempting to run sudo /etc/init.d/chrome-remote-desktop start

Keep external hard drives mounted under OS X without being logged in

I have an old G4 mac mini running OS X 10.5 Leopard that I've set up as a NAS for my home network. The idea was to have our laptops and other macs use Time Machine to backup to the USB drives attached to the mini. The mini draws only a small amount of electricity and I happened to have a couple of large USB drives kicking around so it seemed like a great replacement setup for my aging Linux solution. So I plugged the drives in, turned on file sharing, shared the drives, and started backing things up.

The joys of OpenSuSE 11.4 on a Dell Latitude, and a Docking Station

I've been running SuSE for 12 years. So, when I got my standard issue Dell Latitude E64xx I installed OpenSuSE 11.4. It runs great except when it's time to plug or unplug it from the docking station in my office. Then it's a pain because of the display switching issues.

Listing the unique IP addresses from a Web log

I want a list of the unique IP addresses for the machines that have requested pages from a specific directory of a Web application.

// pull out the requests for just this directory
grep DIRECTORY/request_log > DIRECTORY/request_log

// remove all hits to non-pages (e.g., graphics, CSS, JS, etc)
cat DIRECTORY/request_log | grep -v "\.gif" | grep -v "\.js" | grep -v "\.jpg" | grep -v "\.css" > DIRECTORY/page_hit_log

// pull out the IPs, sort them file and remove duplicates

Firefox 3 sec_error_crl_invalid errors

For the last month or so I've been experiencing sec_error_crl_invalid errors on a couple of sites when using Firefox 3. Thanks to this post on NZGeek's blog I was able to resolve the issue. It turns out by deleting the CRLs (that where disabled anyway) I was able to solve my issue.

HOWTO: Apache Name-based SSL-enabled Virtual Hosting

I want to do virtual hosting of SSL-enabled virtual hosts on the same Apache server as my other non-SSL-enabled virtual hosts. I don't want to assign more than one IP address to the server and all of my virtual hosts will be within the same domain (e.g., example.com).

BACKGROUND

When Apache processes a request for a name-based virtual host it receives the request from the browser, which includes the Host header (e.g., Host: www.example.com). Apache uses the Host header to determine which name-based virtual host to route the request to. It works this way regardless of the connection type, HTTP or HTTPS.

Pages