For example, to access VNC or TightVNC server running on default ports, a router can be configured such way that TCP connections to ports 5900 and 5800 would be passed to the same ports of a particular machine with a specified private IP address (typically 192.168.x.x). A VNC server has been included with every edition of Mac OS X, including Mac OS X 10.7 – aka Lion. Let's walk through how to start the server on Lion. This article refers to Mac OS X 10.7, aka Lion. Other versions are available on our VNC on Mac OS X page. VNC is an acronym of Virtual Network Computing.You can use your Mac's free VNC support to remotely connect and control your Mac over a.
![Vnc Vnc](/uploads/1/2/6/5/126596710/136391319.jpg)
Vnc Ports For Macbook
Hi all,
I am trying to share screens with a Mac Mini running ARD in OS X 10.3.9 over a LAN from my Macbook Pro (10.4.11). I have an Airport Extreme base station (7.2.1). The Mini is connected to the base station via wired Ethernet cable, the Macbook is wireless.
I'm using Chicken of the VNC (2.0b4) on the MacBook, but I can't get anything but Connection Refused.
* The software firewall on the mini is off (I'm behind NAT)
* I've turned on ARD in the Sharing prefs control panel, set up the users and checked all the 'allow' checkboxes (and restarting the mini)
* I've tried connecting to port 5900, 5901, and 3283
* I've tried enabling port mapping on the Airport (which seems crazy, since this is all happening within the LAN)
I can SSH to the mini just fine from the Macbook. Using NetUtility, I can ping it, traceroute to it, you name it.
The only weird thing that I can find is that when I do a Port Scan on the Mini, it never returns port 5900 as open (which it seems like it should). Other ports return as open.
I've Googled my brains out looking for answers on this, and the best info that I can find points toward a network config. problem. But if that's the case, why can I SSH okay?
And yes...I could upgrade to Leopard on the MacBook. Or install OSXvnc on the Mini. But I can't see why I wouldn't have exactly the same problem. And, dadgum it, this should work! ?
I'm totally stumped (and have a sneaking suspicion that I'm missing something obvious). If anyone can shed light on this, or point me at a resource, I'd be very grateful.
thanks,
c
I am trying to share screens with a Mac Mini running ARD in OS X 10.3.9 over a LAN from my Macbook Pro (10.4.11). I have an Airport Extreme base station (7.2.1). The Mini is connected to the base station via wired Ethernet cable, the Macbook is wireless.
I'm using Chicken of the VNC (2.0b4) on the MacBook, but I can't get anything but Connection Refused.
* The software firewall on the mini is off (I'm behind NAT)
* I've turned on ARD in the Sharing prefs control panel, set up the users and checked all the 'allow' checkboxes (and restarting the mini)
* I've tried connecting to port 5900, 5901, and 3283
* I've tried enabling port mapping on the Airport (which seems crazy, since this is all happening within the LAN)
I can SSH to the mini just fine from the Macbook. Using NetUtility, I can ping it, traceroute to it, you name it.
The only weird thing that I can find is that when I do a Port Scan on the Mini, it never returns port 5900 as open (which it seems like it should). Other ports return as open.
I've Googled my brains out looking for answers on this, and the best info that I can find points toward a network config. problem. But if that's the case, why can I SSH okay?
And yes...I could upgrade to Leopard on the MacBook. Or install OSXvnc on the Mini. But I can't see why I wouldn't have exactly the same problem. And, dadgum it, this should work! ?
I'm totally stumped (and have a sneaking suspicion that I'm missing something obvious). If anyone can shed light on this, or point me at a resource, I'd be very grateful.
thanks,
c
MacBook Pro, Mac OS X (10.4.11), Mac Mini (10.3.9)
Posted on
Skip to end of metadataGo to start of metadataThis article explains the process of enabling ssh and VNC access on a macOS device, and accessing the computer from a Windows computer
Set up Remote Login (ssh) on your Mac
- On your Mac, choose Apple menu > System Preferences, click Sharing, then select Remote Login.
- Select the Remote Login checkbox.
- Specify which users can log in:
- Only these users:Click the Add button,then choose who can log in remotely. Users & Groups includes all the users of your Mac. Network Users and Network Groups include people on your network.
Turn on screen sharing (VNC) on your Mac
Vnc Viewer Ports
- On your Mac, choose Apple menu > System Preferences, then click Sharing.
- IfRemote Managementis selected, deselect it.
- You can’t have both Screen Sharing and Remote Management on at the same time.
- Select the Screen Sharing checkbox.
- To specify who can share your screen, select:
- Only these users:Screen sharing is restricted to specific users.
- click the Add buttonat the bottom of the users list, then do one of the following:
- Select a user from Users & Groups, which includes all the users of your Mac except sharing-only users and guest users.
- Select a user from Network Users or Network Groups, which includes users and groups with network server accounts. Network users and members of network groups can use their network name and password to connect to your Mac for screen sharing.
- Click Computer Settings, then select the following:
- VNC viewers may control screen with password:Other users can share your screen using a VNC viewer app—on iPad or a Windows PC, for example—by entering the password you specify here. If you select this option, you should create a very secure password.
- This is required to be able to connect via TightVNC or RealVNC on a Windows device
- This is required to be able to connect via TightVNC or RealVNC on a Windows device
![Mac vnc server Mac vnc server](/uploads/1/2/6/5/126596710/378163363.jpg)
Setting Up PuTTY
If you want to know how to tunnel VNC through SSH, it’s recommended you usePuTTYto make the connection to your SSH server.
PuTTY offers a graphical user interface that can easily be configured to allow you to tunnel other software, like your VNC viewer, over the connection.
- To start, download PuTTY and open the client.
- The main Session menu allows you to type your macOS computer's hostname (i.e. ENG-ANC123456D). Type your SSH server address in the Host Name (or IP Address) text box. If your SSH port is different from the standard port 22, type this in the Port box.
- You’ll also want to save this session, so in the Saved Sessions text box, add a suitable name for your SSH connection, then click the Save button.
- In the left-hand menu, expand the Connection tab, then do the same for the SSH. Click on Tunnels.
- In the Port forwarding section of the Tunnels menu, you’ll be providing the details to allow PuTTY to tunnel your VNC connection over SSH. In the Source port text box, type 5900. In the Destination text box, type your remote address:5900, using the hostname of the remote desktop PC or server. For instance, ENG-ANC123456.coeit.osu.edu:5900 would be suitable. (IP address may be used instead of hostname, but the hostname is preferred because the IP may change)
- Return to the Session section, click on your saved session name under Saved Sessions, then click Save to save your settings.
- With your PuTTY settings ready, make the SSH connection by clicking Open at the bottom. You’ll be required to insert the username and password required to make your SSH connection as PuTTY makes the attempt.
- Once the login process is complete, you’ll be given access to the SSH terminal window for your remote desktop.
With the SSH tunnel to your remote desktop server active, you’ll now be able to make a VNC connection. You can use any VNC client you choose, but this guide will run through how to connect usingTightVNC, a popular and free VNC client for Windows and Linux.
Vnc Ports For Mac Os
You can minimize PuTTY while the connection is active.
Connecting Using TightVNC
If your SSH connection is active, connecting using TightVNC is pretty simple. This assumes that your VNC server is running on your remote PC or server.
- Open TightVNC to begin. In the Connection section, type localhost::5900 or 127.0.0.1::5900 into the Remote Host text box. PuTTY is monitoring this port and will automatically forward this connection, when the attempt is made, to your remote server.
- You can configure your VNC connection further by clicking Options but, if you’re ready to connect, click Connect.
- You’ll be asked for your VNC server password (the password you set above in the Setup Remote Login setps), so provide this in the VNC Authentication pop-up window, then click OK.
Mac Vnc Server
If your SSH connection is working correctly, TightVNC should load your remote VNC desktop window, ready for you to use.