VNC Setup for connecting from XP?

Discussion in 'macOS' started by kurtk9, Nov 1, 2007.

  1. kurtk9 macrumors newbie

    Oct 29, 2007
    I'm trying to connect to Leopard from my XP machine at work and I haven't been able to get it working thus far. Here's what I've tried:

    1) Enabled Screen Sharing from the Sharing system panel.
    2) Checked to make sure Screen Sharing is listed as being allowed to go through the Firewall.
    3) Downloaded both the free version of RealVNC and UltraVNC.

    RealVNC 4.1.2 gives me the following error: "No matching security types"

    UltraVNC 1.04 gives me the error: "Incompatible Version"

    Has anyone had any success connecting via VNC (w/o ARD installed) from XP? If so, what did they do and what XP VNC client?
  2. kurtk9 thread starter macrumors newbie

    Oct 29, 2007
  3. taeclee99 macrumors 6502a


    Jun 4, 2002
    Anywhere but here
    I use Tight VNC to connect to my mac at home (10.5) from work (XP). I could not get real vnc working either. Also make sure that your router allows port forwarding to ports 5900 and 5901.
  4. kurtk9 thread starter macrumors newbie

    Oct 29, 2007
    I just tried TightVNC and I got the following: "Server did not offer supported security type!"

    Did you change any of the default options in TightVNC on the Windows machine? My 10.5 machine actually isn't behind a router, but I do have Screen Sharing able to pass through the Firewall.
  5. pb30 macrumors newbie

    Jul 2, 2007
    I just tried this last night. Ended up using Vine Server on OSX and realVNC on windows
  6. blackscooby macrumors 6502


    May 12, 2005
    Cheshire, UK
    Exactly what I use. I tried to get the Apple version working but I couldn't find a VNC client that worked with it.
    I've also found that Vine Server on the Mini also hangs when you try and reboot and requires me to force quit. This is a pain when I remotely try and reboot as I loose my connection but the Mini doesn't go down :(
  7. kurtk9 thread starter macrumors newbie

    Oct 29, 2007
    Hmm, so you couldn't get past this security issue either? Is Vine Server 10.5 compatible and free?
  8. mountainman macrumors member


    Sep 13, 2007
    North of Denver, Colorado
    Yes, Vine Server is compatible with Leopard & it's free. I have it running on Leopard now with no problems.
  9. l33r0y macrumors 6502

    Aug 7, 2007
    Is Leopard screen sharing based on the VNC protocol or is it Apple propriatory?

    If it is the latter, I'm not surprised it you can't connect to a Leopard based Mac using a VNC client *without* adding a VNC server on the Mac as well.
  10. taeclee99 macrumors 6502a


    Jun 4, 2002
    Anywhere but here
    I did not change any of the settings in Tight VNC. It just works on mine.
  11. taeclee99 macrumors 6502a


    Jun 4, 2002
    Anywhere but here
    Leopard screen sharing is based on the VNC protocol. It is kinda slow connecting via my windows xp pc from work but it works.
  12. Tracer macrumors 6502

    Jun 20, 2007
    The security issue for me was the fact that I had not setup a password for when I tried to connect to my Mac.

    You can set it in System Preferences.

    You might have to free up a port too, but I don't think so.

  13. JYF macrumors newbie

    May 11, 2007
    How to connect to a "screen-shared" Leopard Mac from a Windows XP machine ?...

    I've tried many ways to connect to my home Leopard iMac from my work XP machine over the Internet. No success. :(

    Has someone managed to do this ? If so, can you detail every step to achieve this ? (Mac preferences to check, XP software to use, etc.)

    Tutorial badly needed here ! ;) Thanks a lot for any help...
  14. sebf macrumors member

    Oct 25, 2006
    I found that its just a case of opening the ports (on your internet router/hardware software firewall see: for details) and setting up a VNC password.

    Only problem I have been having is that the new Leopard VNC server doesn't seem to support compression/quality settings so every time I connect over the internet it loads my mac in true color at 1600x1050 res which takes about 2/3 mins just to download the initial screen (let alone trying to control the bloody thing!). I think I might disable the built in VNC as it doesn't seem to support different quality/compression and go back to using Vine VNC server!
  15. huzur macrumors newbie

    Apr 8, 2003
    Vancouver, Canada
    I just got RealVNC working

    - Turn off Render Cursor Locally
    - Set color to full color

    and it works. Took a ton of trial and errors playing with different options in RealVNC 4.1.2 to get it to work :)
  16. jgp1231 macrumors newbie

    Sep 7, 2007
    Thank you very much. That worked for me. I'd been messing with this and was getting nowhere until I found your suggestion.
  17. mgroff macrumors newbie

    May 17, 2008
    I doubt anyone is watching this anymore, but I wanted to thank huzur again for that workaround! I'd wasted a couple of hours on this and was getting nowhere. Huge help!
  18. metavalent macrumors newbie

    Jul 11, 2008
    People still watching this thread and still having EXACT same issues with both these viewers. :confused:

    The mouse cursor workaround that has helped for others has not worked here; at least not on XPSP3. Seems rather annoying to have to install Vine when Leopard advertises that this should work out of the box. Will keep trying and report back if I find another workaround. Thanks for all the work in this group!
  19. manman macrumors regular

    Aug 18, 2008
    I have been able to get both UltraVNC and TightVNC to work using the settings people have given here. My question is- is there a reason it doesn't work with different settings? Setting it to anything other than 'full color' the window just shuts down when you log on. But at full color the connection is INCREDIBLY slow, even from within the same house.

    Is there any way to get it to work with the settings for a lower connection speed, or any other way to make it faster?
  20. balt macrumors newbie

    Mar 5, 2009
    Found a solution that works!

    Hi all,

    I actually registered on this forum just to post this solution. I hope it will make many others happy!

    Motivation for going through these hoops:
    I needed to access the desktop of an old OSX machine every now and then from a windows VNC client. Details of that machine are:
    Dual G5 OSX 10.4 without monitor/keyboard.


    - Remote Desktop had never been enabled before on that machine.
    - SSH access however was available.

    So how do you turn on Apple Remote Desktop / VNC Server on a machine where it never ran before? That part was easy to find on the net: SSH as an admin user onto the OSX machine. Then execute this command:

    sudo /System/Library/CoreServices/RemoteManagement/ -activate -configure -access -on -users admin -privs -all -restart -agent 
    Try to connect with your VNC client now. If it works, good, you're done. The above command takes care even of restarting the Remote Desktop Service when the computer is rebooted.

    But if you're not so lucky (like I was) and the connection fails with a message like:
    - "Server did not offer supported security type" (tightVNC)
    - "No matching security types" (realVNC)
    - "Incompatible Version" (UltraVNC)

    you're stuck. What happened in this case is that the VNC password has never been setup properly. Follow these simple steps while still logged in as admin user to set up a default password ("pass" in our case):

    - Switch off RDP:
    sudo /System/Library/CoreServices/RemoteManagement/ -stop
    - Go to the Preferences directory:
    cd /Library/Preferences
    - edit the following files using vi (if you're not familiar with vi, be very careful to follow the instructions to the iota!):
    sudo vi
    Put the following lines into this file (hint: copy them from here rather than typing them). Instruction for vi newbies:
    - copy the text below into your clipboard
    - set focus to the ssh window
    - press the 'i' key. This puts vi into text insert mode
    - paste the text. If you're on windows/cygwin, click to top left of the cygwin ssh window -> Edit -> Paste
    - press the 'Esc' key
    - enter the keystrokes ':wq', colon tells vi you are about to enter a command, w is the command for write, q for quit.

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" ""><plist version="1.0">
    - edit the file
    sudo vi
    press the 'i' key and type
    , hit return, 'Esc' and ':wq'

    - set the default VNC password to 'pass' by editing this file:
    sudo vi
    and copy/paste this string (the encoded password) into that file:
    - Now the files need to have their ownerships and access rights configured properly. Do this by executing the following commands after each other:
    sudo chmod 644
    sudo chown root:admin
    sudo chmod 644
    sudo chown root:admin
    sudo chmod 400
    sudo chown root:wheel
    Now stop and start the Remote Desktop Server, or reboot the machine:

    To just restart the Remote Desktop first stop it:
    sudo /System/Library/CoreServices/RemoteManagement/ -stop
    Then restart it:
    sudo /System/Library/CoreServices/RemoteManagement/ -activate -configure -access -on -users admin -privs -all -restart -agent 
    or, alternatively, reboot the server:

    sudo shutdown -r now
    Connect to the server and enter your password we set to "pass" above. Set the password to something else by opening the System Preferences -> Sharing -> Apple Remote Desktop -> Access Privileges and set the password in the "VNC viewers may control the screen with password:" to something else.


    Hope this helped!


    Balt Indermuehle <>
  21. prosynk macrumors newbie

    Jun 8, 2009
    ANd I joined this forum to thank you for the first workable answer I've come across since re-installing OS X on my home machine. Got to work today and tried to VNC in, but I continuously got the Security incompatibility problem. I ssh'd in, and your solution worked perfectly.

    Thank you!
  22. dung macrumors newbie

    Jul 11, 2009
    Balt your instruction is great thanks it works perfectly!
  23. ick macrumors newbie

    Nov 29, 2009
    Balt, I also just registered here to thank you. I'd been stuck for hours, and your solution worked like a charm.
  24. bml104 macrumors newbie

    Dec 8, 2009
    Worked Like a Charm

    Searched all over for this since upgrading to Snow Leopard. It worked like a charm. However, I did have to use the following command

    echo -n enabled >

    before the would show up.
  25. cFoo macrumors newbie

    Jan 4, 2010
    I'm still stuck. I tried both balt and the cursor methods. Still the same error. "Server did not offer supported security type"

    I'm on Snow Leopard (64 bit) and Winblows. I desperately need to access my Mac remotely but Apple is making it nearly impossible. I've searched everywhere! I know it's not my connection because I can VNC into my Ubuntu box without any problem (on a different port).

    If anyone has any other idea please chime in! I've been trying this for a week already. It took me less than 5 minutes to get it working on Ubuntu.

Share This Page

35 November 1, 2007