Posted At : January 31, 2008 8:50 AM
7 Comments
To make my life easy I want to be able to connect to it remotely from my Ubuntu (Gutsy 7.10) laptop. Luckily with Leopard's new screen sharing and a bit of googling it's easy to connect both ways.
The Apple screen sharing uses a version of VNC - but the default VNC client on Ubuntu won't work with it - however thanks to this post I discovered the xtightvncviewer will work.
You need to configure your Mac to allow it with the following settings:
Note the address of your machine also - eg: vnc://192.168.0.55 or similar
Then over to the ubuntu machine and install xtightvncviewer:
Then connect to the machine with: (change the ip address as relevant)
You need to enable remote desktop sharing in Ubuntu:
Then open up safari and type in the the address of you Ubuntu machine with vnc:// in front of it. eg:
It will give a warning about the vnc server not supporting "Keystroke encryption" but it will work (albeit not as securely as a Mac to Mac connection) - but good enough for your local network.
That's it - I did notice that it also showed up in Finder->Shared which I presume it found via Avahi/Bonjour - which is nice.
Hope it helps. Cheers, Mark
7 Comments
CHeers, I really wanted to get that going cause it was annoying having to use Vine server every time I wanted to VNC my PowerMac G5 from my Ubuntu box.
:) great tip!
great post :)
Does not seem to work for me... :(
<blockquote>sean@ubuntu-hp:~$ xtightvncviewer 10.0.0.9
VNC server supports protocol version 3.889 (viewer 3.3)
VNC connection failed: Incompatible Version.
</blockquote>
I am missing something here?
Hi Pieterjan,
What version of xtightvncviewer are you using?
try: xtightvncviewer -help
TightVNC viewer version 1.2.9
I'm using 1.2.9 and it works a treat.
Cheers,
Mark
xtightvncviewer doesn't work on my Debian Lenny setup either, version 1.2.9 as well, trying to connect to OSX 10.5.2 built-in VNC server:
lefty@debian:~$ xtightvncviewer alpha.sierrabravo.net
VNC server supports protocol version 3.889 (viewer 3.3)
Password:
VNC authentication succeeded
Desktop name "Administrator’s MacBook"
Connected to VNC server, using protocol version 3.3
VNC server default format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Using default colormap and translating from BGR233. Pixel format:
8 bits per pixel.
True colour: max red 7 green 7 blue 3, shift red 0 green 3 blue 6
Got 256 exact BGR233 colours out of 256
Using shared memory PutImage
xtightvncviewer: VNC server closed connection
ShmCleanup called
lefty@debian:~$
I've found Chicken of the VNC works well for OSX connection to my Ubuntu linux laptop. I installed Chicken of the VNC using macports.
Pieterjan - you need to set a password on the Mac in order for VNC from Ubuntu to work. You can set a password by clicking on the "Computer Settings" button on the Remote Management screen in the Sharing Control Panel.