Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Make the 'Share Screen' button work with Linux servers Network
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.
    •    
  • Currently 2.75 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (8 votes cast)
 
[13,168 views]  

Make the 'Share Screen' button work with Linux servers | 9 comments | Create New Account
Click here to return to the 'Make the 'Share Screen' button work with Linux servers' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make the 'Share Screen' button work with Linux servers
Authored by: john.barr.rowe on Nov 08, '07 06:07:24PM

Does anyone know how to get this working with Xvnc and inetd on Ubuntu? I have inetd set up to start /usr/bin/Xvnc with any connection to port 5900. This works with CotVNC and Vine viewer but not the Apple built in one.

With this trick enabled on my Ubuntu Linux machines, clicking the "Share Screen..." button shows me the connecting window but nothing else. I never see the remote screen, no matter what I do.

Does anyone have a setup like this that works? Alternatively, can you suggest a setup that would achieve the same thing?



[ Reply to This | # ]
Make the 'Share Screen' button work with Linux servers
Authored by: xkalibur on Nov 08, '07 07:42:54PM

Ditto. I get the very same thing when trying to access Linux vnc sessions both from Xvnc and from the builtin vnc module for Xorg (the one that lets you "share" you default :0 display instead of a separate logged in session). In either case, just the connection window and it never goes anywhere. I would love to know what the trick is to get linux VNC to work at all (let alone made easier to access).



[ Reply to This | # ]
What about the other way around?
Authored by: ebaur on Nov 09, '07 09:26:05AM

I'd like to get from my Windows XP box to the Mac. Right now, I can only connect if I am running at full resolution, which is really slow on a WAN link. I'd love to use only 256 colors, or something like that... anyone know how to do this?

I know I can do it with Vine server, but I didn't want to run two VNC servers.



[ Reply to This | # ]
What about the other way around?
Authored by: n1mie on Nov 10, '07 06:49:38PM

Once you open Screen Sharing, you can change the preferences to "adapt quality". Also in a session you can do this under the "view" menu. It doesn't give you specifics on what is changing, but it implies that it will flex based on the needs of the network.

---
--Chip



[ Reply to This | # ]
Any way to use another port?
Authored by: tc60045 on Nov 09, '07 02:55:00PM
Is it possible to use another port for this? I hate leaving 5900 open as it is often scanned from the outside.

TightVNC allows http://domain:port to get to a different port. Anyone been able to do same with Leopard's VNC implementation?

[ Reply to This | # ]
Any way to use another port?
Authored by: xkalibur on Nov 09, '07 06:53:05PM

I would assume, though I haven't been able to test it yet, that you would just change the line in the Avahi config to advertise the port your actual server is running on, as opposed to 5900.



[ Reply to This | # ]
Make the 'Share Screen' button work with Linux servers
Authored by: fyrefly on Nov 10, '07 10:24:15PM

Has anyone figured out how to right click in Windows without a two button mouse?



[ Reply to This | # ]
Make the 'Share Screen' button work with Linux servers
Authored by: tfoutz99 on Nov 11, '07 12:36:20PM

I tried this hint, but I couldn't get it to work.
I have a server running opensuse, and installing avahi doesn't seem to have any effect. I installed it, copied and pasted the code, and restarted avahi, but I still can only connect to my server as guest. Any ideas?



[ Reply to This | # ]
Make the 'Share Screen' button work with Linux servers
Authored by: balthisar on Nov 17, '07 10:33:50AM

Awesome! Works perfectly with apt-get on my KnoppMyth box, which is Knoppix, which is basically Debian!

---
--Jim (me)



[ Reply to This | # ]