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.

$ tightvncserver -geometry 1280x1024

That's all you need to do. Now, just start cotvnc on the mac. It asks you for the hostname (192.168.bla.bla) and display and the display number (most likely 1 is shown to you when you start tightvncserver on the linux)

And the result is as you can see in the screenshot here. I haven't found a genuine need for it yet but it'll be good to have available once I tuck my old PC away switched on with only a power and network cable. It's still got some 700Gb of harddrive space and my mac only has 500Gb.

You can read more about xrandr here

Worth noting, linux uses geeky cryptic names like xrandr in contrast to the mac world where it's Chicken of the VNC :) PS. Don't read in to that analysis too much. Mac is good but Linux is still superior in many aspects. I use both heavly.

Comments

Your email will never ever be published.

Previous:
Why Linux is better March 1, 2006 Linux
Next:
parentElementsByTagName(doc, tagname, classname) March 6, 2006 Web development
Related by category:
fnm is much faster than nvm. December 28, 2023 macOS
Be careful with Date.toLocaleDateString() in JavaScript May 8, 2023 macOS
Trying out (and liking!) MeetingBar for macOS July 25, 2024 macOS
Search hidden directories with ripgrep, by default December 30, 2023 macOS
Related by keyword:
Make your settings in .Xdefaults come true November 16, 2004 Linux
Screencasting the unix way with Python November 5, 2005 Linux