I see that using vnc to control the kodi display on a RPi2 is not possible using the tigervnc package. Is there a way to accomplish this?
$this->bbcode_second_pass_code('', '$ x0vncserver -display :0 -passwordfile ~/.vnc/passwd
x0vncserver: unable to open display ":0"')