VNC Server in OSX

Is there a VNC server that I can launch in OSX? I want to share my desktop with co-workers using PC's. RealVNC allows me to launch a server on a PC. Is there such an app for OSX machines?

PowerBook G4 Mac OS X (10.4.8)
PowerMac G4 AGP Mac OS X (10.3.7)

Posted on Dec 20, 2006 7:56 AM

Reply
4 replies

Dec 20, 2006 8:51 AM in response to snoho

Hi snoho,
Most of the well-known VNC servers compile on Mac OS X. However, if you can stand a GUI, there's always OSXvnc. I've found out how to use it from the command line and still get it to use the password file it creates. I've aliased vncup to the following command:

/Applications/OSXvnc.app/OSXvnc-server -rfbport 5909 -desktop <HostName> -dontdisconnect -restartonuserswitch N -keyboardLoading N -pressModsForKeys N -swapButtons -rendezvous N -rfbauth /Applications/OSXvnc.app/.osxvncauth 2>>|~/Library/Logs/OSXvnc-server.log &

That starts the server on desktop number 9 and uses the password file that was created when I set the password in the GUI. I can secure shell into a machine, execute "vncup" and then connect.

I would have expected that a VNC server comes with OS X because that's what Apple Remote Desktop uses to for its remote desktop connections. However, I don't have Apple Remote Desktop so I don't know how to use that server.
--
Gary
~~~~
A good plan today is better than a perfect plan tomorrow.
-- Patton

Dec 20, 2006 3:46 PM in response to snoho

In addition to Reese's tip about turning on ARD in sys prefs > sharing > services and enabling VNC therein, I also found it necessary to add VNC as a new firewall item in sys prefs > sharing > firewall. Maybe you won't, maybe Reese didn't have to, but with my 2001 Quicksilver G4, I had to. If you, too, find that you have to add VNC as a new firewall item, when you add new, select other, and it is a built-in option as one of your choices.

To the best of my knowledge, VNC is conducted in the clear. So, if you are going to initiate a VNC session from outside of your local trusted subnet, I would strongly encourage you to tunnel it through secure shell. If you don't know how to do that, I or a number of other people here in this forum can explain to you a very easy way to do this so that it is really quite painless. In your VNC client (like Chicken of the VNC) you just set up your "local trusted subnet" address and/or a "ssh-tunneled" address, and run ssh in the background in the latter case. Just ask if you need more info.




(if this solves your problem, or is actually helpful towards arriving at a solution to your problem, please consider marking this reply as "helpful" or "solved" in order to award points. This would be in addition to (if applicable) marking this question as "answered")

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

VNC Server in OSX

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.