如何安装remmina
官方地址:Home · Wiki · Remmina / Remmina · GitLab
Ubuntu
❗ The Remmina PPA is looking for a maintainer, and it's not actively updated.
We may release new versions from time to time (as of writing is 1.4.23), Remmina can be installed by copying and pasting this in a terminal:
sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt update
sudo apt install remmina remmina-plugin-rdp remmina-plugin-secret
Make sure Remmina is not running. Either close it, reboot, or kill it by pasting this in a terminal:
sudo killall remmina
List of available plugins with apt-cache search remmina-plugin
. By default, RDP, SSH and SFTP are installed. To test a daily built development version, do the above, but start with:
ppa:remmina-ppa-team/remmina-next-daily
说明:虽然ubuntu默认已经安装好了remmina,这里最好还是重新安装一下;我直接使用时碰到了报错如下,
You requested an H264 GFX mode for server 192.168.3.93, but your libfreerdp does not support H264. Please check Color Depth Settings
其中192.168.3.93是我的树莓派的IP地址。
树莓派安装xrdp和vnc4server
树莓派需要先安装xrdp和vnc4server
sudo apt install vnc4server
sudo apt install xrdp
sudo systemctl enable xrdp
网上有说需要注意的:若Windows需要用vncviewer访问树莓派,则vnc4server不能安装,raspi-config中的vnc使用的是realvncviewer,与新安装的vnc4server冲突,会相互卸载;
当然,你需要在树莓派的配置页面(首选顶-->raspberry pi configuration-->interfaces)使用能vnc。
(1)使用RDP的话,直接在头栏中输入192.168.3.93,回车,然后依提示输入帐号密码即可。
我不清楚是不是因为已经安装了前面的vnc4server和xrdp,反正回车后弹出的对话框中可以选各种xorg,xvnc之类的,我选的Xvnc,远程分辨率可以直接在树莓派的虚拟界面里调节,非常方便。
(2)如果使用VNC协议,会报错,
Unknown authentication scheme from VNC server: 13, 5, 6, 130, 192
据说要用这个VNC-viewer才行,我没有测试过,也没有去穷究(所以不懂),就不多说了。
(3)如果使用SSH那就简单了,输入帐号密码即可,这个和terminal下直接使用下面的指令登陆效果是完全一样的,
ssh pi@192.168.3.93 -p 22
嗯,相信这才是程序员们的最爱(*_*) (^_~)。