I want to ssh into the raspberry pi from a mac and be able to run an application with a basic GUI.

SSH is already working and good. I thought it'd just be as simple as ssh -X myusername@mystaticip

Then I could launch my program via the command line and a pretty window would pop up.

Go the tightvnc route? There doesn't seem to be a tightvnc client for mac?

closed as unclear what you're asking by RPiAwesomeness, syb0rg, lenik, Impulss, goldilocks Mar 14 '14 at 21:31

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


To make the answer a little more explicit, here are all the steps I took to get it working:

On the raspberry pi

Install tightvnc server (designed to support lower bandwidth)

sudo apt-get install tightvncserver

Configure vnc desktop with screen resolution and color depth

vncserver :1 -geometry 800x600 -depth 24

On the mac

Enable the native vnc client on the mac:

System Preferences >> Sharing >> Screen Sharing

Open vnc via the terminal (the default port is 5901 I guess)

open vnc://myUsername@rpiIpAddress:5901

Note that you will have to start tightvnc server on the raspberry pi (or ensure that it's running) before you can accept anything on the client side.

On the raspberry pi

  • I have been trying to get this to work for DAYS using both Microsoft RDP and VNC Viewer and I always get a blank black screen and I can't even see lxtask from ctrl+alt+del. For whatever reason, running vnc from command line works. Excellent! – Jacksonkr Feb 16 '15 at 21:58
  • @Jacksonkr its linux, what did you expect? ;) – Martin Pfeffer Jul 10 '17 at 19:10

You can also use xrdp.This tool is easy to use and there are also some clients for mac.

To install on the Raspberry Pi

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install xrdp

on the mac, use this software:

  1. MS-RDP-Client
  2. cord

for german user, there is a tutorial



You can use any VNC client on the Mac. The easiest is to use OS X Screen Sharing

Enter open vnc://pi@IP:5901 at the terminal prompt.

It is easier if you create shared keys, and put the public key on the Pi.

There is a little setting up for tightvncserver on the Pi to make it easier


Here is a great video explaining how to set up VNC server on a Raspberry Pi: http://www.youtube.com/watch?feature=player_detailpage&v=c5QCoh8S0N4


  • 1
    Link only answers are frowned upon on this site. They lead to link rot among other problems. At the least you should provide the necessary steps from the video. – Steve Robillard Feb 26 '14 at 22:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.