差異處
這裏顯示兩個版本的差異處。
下次修改 | 前次修改 | ||
xrdp [2017/01/11 20:56] jz 建立 |
xrdp [2017/01/11 21:04] (目前版本) jz |
||
---|---|---|---|
行 1: | 行 1: | ||
====== xrdp ====== | ====== xrdp ====== | ||
- | <code> | + | <code bash> |
yaourt -S xrdp | yaourt -S xrdp | ||
+ | systemctl enable xrdp.service | ||
+ | systemctl start xrdp.service | ||
</code> | </code> | ||
+ | ''/etc/xrdp/xrdp.ini'' | ||
+ | <code 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 | ||
+ | </code> | ||
====== x11VNC ====== | ====== x11VNC ====== | ||
- | <code> | + | <code bash> |
pacman -S x11vnc | pacman -S x11vnc | ||
</code> | </code> | ||
===== Start with x cookie ===== | ===== Start with x cookie ===== | ||
- | <code> | + | <code bash> |
x11vnc -display :0 -auth ~/.Xauthority | x11vnc -display :0 -auth ~/.Xauthority | ||
</code> | </code> | ||
行 36: | 行 57: | ||
</code> | </code> | ||
- | <code> | + | <code bash> |
systemctl enable x11vnc.service | systemctl enable x11vnc.service | ||
systemctl start x11vnc.service | systemctl start x11vnc.service | ||
行 45: | 行 66: | ||
http://jamyy.us.to/blog/2015/04/7354.html | http://jamyy.us.to/blog/2015/04/7354.html | ||
+ | |||
+ | https://wiki.archlinux.org/index.php/x11vnc |