Can I start tightvncserver to show the same screen on hdmi screen and vncclient?

I tried -alwaysshared, but could see no difference.

Edit I want to remotely control Pi, using keyboard, mouse on remote (Mac), and have display on Pi hdmi screen as well as remote. I used to do this in the distant past, running Linux from a Windows PC. Further research indicates tightvncserver can't do this (so what does -alwaysshared do?). I also tried x11vnc, but can't get this to do anything on the Mac.

  • Could you elaborate a bit more on your question? Right now it is somewhat vague and hard to answer.
    – syb0rg
    Commented Sep 15, 2013 at 18:11
  • You should edit that into the question just in case some person doesn't read that comment.
    – syb0rg
    Commented Sep 16, 2013 at 3:41

2 Answers 2


You should install x11vnc and configure it to get same screen on HDMI and also vnc client.

apt-get install x11vnc

then run x11vnc command with parameters.

x11vnc -display :0 -usepw -listen IP_of_pi -allow allowed_ip_address

-display : screen number to get
-usepw   : use password security
-listen  : IP address of server (Pi IP)
-allow   : allowed client IPs (client IP, in your case Mac IP address)

Then use a VNC client on your Mac, i prefer 'Chicken of VNC' and connect to Pi IP address.

To tune VNC connection for performance you can use those parameters.

-noxdamage -ncache 10 -ncache_cr

You can find more parameters and definitions of x11vnc at http://www.karlrunge.com/x11vnc/x11vnc_opts.html

Good information about x11vnc :

  • Thanks, I got this going. I still have to do a bit more to fine tune it for my use; My hdmi monitor is larger than the Macbook. I have not used Chicken of VNC since OS X 10.4, but OS X Screen Sharing does not work with x11vnc, although I use this with tightvncserver.
    – Milliways
    Commented Sep 16, 2013 at 9:10
  • I'm using trial version of JollyFastVNC too. Commented Sep 16, 2013 at 9:25
  • I'm still seeing black (with X cursor). I'm running this via bash w -create
    – Jacksonkr
    Commented Mar 5, 2016 at 22:20
  • Thanks for this answer, helped me a lot. In this link raspberrypi.org/forums/viewtopic.php?p=108862#p108862 a guy proposes the same solution and also shows how to enable that on boot.
    – Leo
    Commented Mar 27, 2016 at 10:00
  • 2
    For Mac you can use the built-in VNC client: Open Finder > Go > Connect To Server > type e.g. vnc:// and click Connect.
    – ccpizza
    Commented Nov 11, 2017 at 14:06

you should look into synergy tho i just found out that it went paid but you can find an older version here http://synergy.soft32.com/ or you can get the source and compile it free also its an open source app but went paid because lack of donation

  • It is a bit hard to compile, I almost would vote this down because you pay for Synergy then you find you can't get Raspberry Pi to work with it unless you compile as @Jesterod said - However if you have to go through all that then, also as he said, you don't need to pay.. I find that kind of deceptive at best to say it's a "solution" for Pi without MUCH MORE disclosure about the problems that go with it. Commented Jan 13, 2016 at 4:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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