xrdp
yaourt -S xrdp systemctl enable xrdp.service systemctl start xrdp.service
/etc/xrdp/xrdp.ini
; session section [Xvnc] name=Xvnc lib=libvnc.so username=ask password=ask ip=127.0.0.1 port=-1 [console] name=console lib=libvnc.so ip=127.0.0.1 port=5900 username=na password=ask
x11VNC
pacman -S x11vnc
Start with x cookie
x11vnc -display :0 -auth ~/.Xauthority
Start with system service
set password
mkdir ~/.x11vnc x11vnc -storepasswd PASSWORD ~/.x11vnc/passwd
vi /etc/systemd/system/x11vnc.service
[Unit] Description=Start x11vnc at startup After=multi-user.target [Service] Type=simple ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared [Install] WantedBy=multi-user.target
systemctl enable x11vnc.service
systemctl start x11vnc.service
ref