There is no make install… Its just make. In that directory do an ls. You should have a file there called dispmanx_vncserver. Thats the vnc server.
If you type now ./dispmanx_vncserver you’ll see it running…and you can connect from your pc to the pi now.
But lets make that something that autostarts after reboot. If you executed the script press Ctrl+C to stop the server and do the following:
cp dispmanx_vncserver /usr/bin
chmod +x /usr/bin/dispmanx_vncserver
sudo modprobe evdev
cp dispmanx_vncserver.conf.sample /etc/dispmanx_vncserver.conf
vi /etc/dispmanx_vncserver.conf
Now in this editor you’ll see the servers’ password and frame rate. If you want a password set it up here. I have my framerates at 23. You can start editing the file by pressing i , once you are done…press Esc then type :qw to save and exit. If you made a mistake then type :q! to force exit and then try again.
After all that we need to make the server a system service so it loads on boot. Do the following:
vi /etc/systemd/system/dispmanx_vncserver.service
And copy/paste this text there (dont forget to press i first) :
[Unit]
Description=VNC Server
After=network-online.target mediacenter.service
Requires=mediacenter.service
[Service]
Restart=on-failure
RestartSec=30
Nice=15
User=root
Group=root
Type=simple
ExecStartPre=/sbin/modprobe evdev
ExecStart=/usr/bin/dispmanx_vncserver
KillMode=process
[Install]
WantedBy=multi-user.target
Again, save and exit the file. Then do :
systemctl start dispmanx_vncserver.service
systemctl enable dispmanx_vncserver.service
systemctl daemon-reload
Thats it…the vnc server now will autorestart on boot.
Edit: I cant edit my first post…cause the editor wont let me post the thread in the HowTo section…can a mod please tell me how to do it ?