tightVNC and Chicken of the VNC

04 March 2006   0 comments   MacOSX

Mind That Age!

This blog post is 11 years old! Most likely, its content is outdated. Especially if it's technical.

Powered by Fusion×

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.

Follow @peterbe on Twitter

Comments

Thank you for posting a comment

Your email will never ever be published


Related posts

Previous:
Why Linux is better 01 March 2006
Next:
parentElementsByTagName(doc, tagname, classname) 06 March 2006
Related by Keyword:
Screencasting the unix way with Python 05 November 2005
Make your settings in .Xdefaults come true 16 November 2004
Related by Text:
Jed Tags with ntags (for dummies) 11 February 2006
ElasticSearch 5 in Travis-CI 06 January 2017
Upgrading to Ubuntu Lucid Lynx and downgrading to Python2.4 and Python2.5 11 May 2010
How to uninstall nginx with apt 28 March 2008
domstripper - A lxml.html test project 20 November 2008