Filtered by macOS

Page 5

Reset

tightVNC and Chicken of the VNC

March 4, 2006
0 comments macOS

Here's what I had to do to get VNC working between my mac and my ubuntu linux machine here on this home network.

On the mac tiger, I went to http://sourceforge.net/projects/cotvnc/ and downloaded and installed the latest Chicken of the VNC.

On the ubuntu linux, I had to do this:


$ sudo apt-get update; sudo apt-get install tightvncserver
$ xset -q | less # look for the list of font paths and copy
$ sudo jed /etc/vnc.conf
# set $fontPath = what-you-copied-from-the-last-command
$ xrandr -q 

You can use xrandr -q just to find out a) what your current screen resolution is in Linux and what your alternatives are. With all this ready, then start the server.

Truncated! Read the rest by clicking the link below.

Encrypted files in Emacs

March 1, 2005
0 comments Linux, macOS

UPDATE (Jan 2019): Read this newer blog post instead https://www.peterbe.com/plog/encrypt-with-emacs-on-macos-ccrypt

With the ccrypt program for Linux and some Emacs settings you can achieve the following:

You create or open a file called passwords.cpt. Then Emacs asks you for a password. Once you've entered the password you can word with the file like any other file to for example write down all your passwords to various websites or bank accounts.

When you close Emacs and try to read the file with any other program you get the binary encrypted output which is useless. What's important to Emacs is that the filename ends in .cpt which is a bit clunky. In vi you can get the same effect simply by passing the -x option when opening a file. But I don't like vi.

Previous page
Next page