06-26-2016, 03:59 PM
To connect from my windows 10 machine at my pine64 I use ssh, xrdp and x11vnc:
sudo apt-get install nano ssh xrdp x11vnc -y
After installation is complete create a password for x11vnc:
sudo x11vnc -storepasswd /etc/x11vnc.pass
Then create a new file to let start x11vnc at startup sytsem:
sudo nano /lib/systemd/system/x11vnc.service
with:
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -repeat -loop -shared -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o /var/log/x11vnc.log
[Install]
WantedBy=multi-user.target
Now tell the system to start at startup:
sudo systemctl daemon-reload
sudo systemctl enable x11vnc.service
After x11vnc is configured, modifiy the xrdp config file:
sudo nano /etc/xrdp/xrdp.ini
and change the ip entry for xrdp3 to 127.0.0.1.
After reboot your pine64 you can connect from your windows machine like
mstsc -v <ip address>
and select sesman-Xvnc or vnc-any. Via ssh use putty or winscp.
sudo apt-get install nano ssh xrdp x11vnc -y
After installation is complete create a password for x11vnc:
sudo x11vnc -storepasswd /etc/x11vnc.pass
Then create a new file to let start x11vnc at startup sytsem:
sudo nano /lib/systemd/system/x11vnc.service
with:
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -repeat -loop -shared -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o /var/log/x11vnc.log
[Install]
WantedBy=multi-user.target
Now tell the system to start at startup:
sudo systemctl daemon-reload
sudo systemctl enable x11vnc.service
After x11vnc is configured, modifiy the xrdp config file:
sudo nano /etc/xrdp/xrdp.ini
and change the ip entry for xrdp3 to 127.0.0.1.
After reboot your pine64 you can connect from your windows machine like
mstsc -v <ip address>
and select sesman-Xvnc or vnc-any. Via ssh use putty or winscp.