Make the 'Share Screen' button work with Linux servers

Nov 08, '07 04:30:00PM

Contributed by: nathanh

Leopard includes a fast VNC viewer for its Screen Sharing feature. You can browse other Leopard machines in the Finder and click "Screen Share..." to see their screens. You can also connect to Windows and Linux VNC servers with "Connection, New" and entering the host address.

But on Lin

ux you can go one step further. Install the Avahi software (avahi-daemon package under Debian) and create a service file in /etc/avahi/services/vnc.service, with these contents:

 <service-group>
	<name replace-wildcards="yes">%h</name>
	<service protocol="any">
		<type>_rfb._tcp</type>
		<port>5900</port>
	</service>
 </service-group>
Now in the Finder, the Linux VNC server will appear and you can click "Share Screen..." to start a session.

Comments (9)


Mac OS X Hints
http://hints.macworld.com/article.php?story=2007102914203066