If you're connecting via SSH from OS X to Linux, you might get the following error:
/opt/X11/bin/xauth: file /Users/yourusername/.Xauthority does not exist
You can fix this by installing (or just running) XQuartz, available here.
I'm not normally prone to linking to stuff, but this is just too good:
Explains how you can get your Debian Wheezy box to automatically update. While this is bad practice for some situations like fragile production boxes, there's plenty of spaces where automatic updates work great: single-purpose machines like your (secondary) DNS, lonely virtual private servers with your home page, etc.
I recently discovered that VNC on Debian Wheezy is a bit of a mess.
VNC can be used in two modes: to mirror the actively running instance of X (i.e. the display on :0), or to have X running headless, in any resolution ("geometry") you want, on :1, :2, etc.
The version that comes with Wheezy by default, is an old version of TightVNC server. It doesn't support the alpha channel, so modern desktops like KDE 4 will look pretty bad.
In and of itself that wouldn't be a problem, except the 1.1 version has a horrible bug where moving a window to the left will result in display artifacts.
There's a couple of options:
I'm currently looking at other solutions such as X2Go, which seems to provide decent packages.
Today, I needed to configure a machine so it brought up its ethernet interfaces without an IP address.
This is useful if you use such an interface with plain ethernet packets. For example, network sniffing or bridging stuff, but also when you communicate with custom electronics that speak plain ethernet.
To configure Debian Wheezy to bring up these interfaces without assigning an IP address, add the following stanza to /etc/network/interfaces:
auto eth1 iface eth1 inet static address 0.0.0.0
You might also want to remove any IPv6 addresses from these interfaces. Stack Overflow told me to add the following line for each interface to /etc/network/interfaces:
net.ipv6.conf.<interface>.disable_ipv6 = 1
If you're used to vi keybindings, and you use Python interactively, you're going to do a lot of cursing on OS X. This is because the readline library (responsible for keybindings and history) is GPL licensed and thus not distributed by Apple.
Here's a quick fix.
Add a file called .editrc with the following content:
Add a file called .pythonrc with the following lines:
import rlcompleter import readline
Add a line to your .bashrc which makes Python run .pythonrc when it starts interactively:
Start python from the commandline and voilà, enjoy history and vi keybindings and all that good stuff. Tested on 10.9.2 (Mountain Lion).
Articles, chronologically (latest first). This is pretty old stuff.
Not yet finished. Maybe will never be finished. Maybe they'll get deleted. Who knows?