40

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.

Milliways
  • 62,573
  • 32
  • 113
  • 225

2 Answers2

41

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.

Update:
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 :
http://www.karlrunge.com/x11vnc/

gurcanozturk
  • 3,748
  • 1
  • 21
  • 17
-2

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