Monday, April 20, 2020

Instalasi dan konfigurasi Remote Desktop Connection pada Raspberry Pi

Selain komunikasi komputer client dengan Raspberry Pi menggunakan VNC Server. Bagaimana caranya komunikasi dengan bawaan Microsoft baik itu pada PC Desktop maupun dengan Android. Cara yang tepat yaitu dengan menggunakan Remote Desktop Connection. Biasanya PC sudah memilikinya secara langsung bawaan sistem, lalu bagaimana dengan Android dan iOS, ya, jawabannya yaitu https://play.google.com/store/apps/details?id=com.microsoft.rdc.android&hl=en dan https://apps.apple.com/us/app/microsoft-remote-desktop/id714464092 .



Lalu bagaimana proses konfigurasi pada Raspberry Pi, apakah sama dengan VNC Viewer pada artikel sebelumnya. Tentunya iya dibutuhkan konfigurasi, yaitu pada SSH. Lakukan proses instalasi xrdp pada Raspberry Pi dengan perintah berikut:

 

pi@pi:~ $ sudo apt-get install xrdp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  alsa-base freetype2-doc gstreamer0.10-alsa gstreamer0.10-plugins-base
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libllvm8 libpng-tools
  libva-wayland2 libxfce4util-bin libxfce4util-common libxfce4util7
  libxfconf-0-2 pimixer point-rpi xfconf
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libglu1-mesa ssl-cert x11-apps x11-session-utils xbitmaps xfonts-100dpi
  xfonts-75dpi xfonts-base xfonts-encodings xfonts-scalable xfonts-utils xorg
  xorg-docs-core xorgxrdp
Suggested packages:
  openssl-blacklist mesa-utils xorg-docs x11-xfs-utils guacamole
  xrdp-pulseaudio-installer
The following NEW packages will be installed:
  libglu1-mesa ssl-cert x11-apps x11-session-utils xbitmaps xfonts-100dpi
  xfonts-75dpi xfonts-base xfonts-encodings xfonts-scalable xfonts-utils xorg
  xorg-docs-core xorgxrdp xrdp
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.5 MB of archives.
After this operation, 23.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf libglu1-mesa armhf 9.0.0-2.1 [130 kB]
Get:2 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf ssl-cert all 1.0.39 [20.8 kB]
Get:3 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf x11-apps armhf 7.7+7 [541 kB]
Get:4 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf x11-session-utils armhf 7.7+3 [61.2 kB]
Get:5 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xbitmaps all 1.1.1-2 [32.1 kB]
Get:6 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xfonts-encodings all 1:1.0.4-2 [574 kB]
Get:7 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xfonts-utils armhf 1:7.7+6 [82.5 kB]
Get:8 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xfonts-100dpi all 1:1.0.4+nmu1 [3,822 kB]
Get:9 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xfonts-75dpi all 1:1.0.4+nmu1 [3,367 kB]
Get:10 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xfonts-base all 1:1.0.5 [5,897 kB]
Get:11 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xfonts-scalable all 1:1.0.3-1.1 [304 kB]
Get:12 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xorg-docs-core all 1:1.7.1-1.1 [84.0 kB]
Get:13 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xorg armhf 1:7.7+19+b8 [38.8 kB]
Get:14 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xorgxrdp armhf 1:0.2.9-1 [164 kB]
Get:15 http://kartolo.sby.datautama.net.id/raspbian/raspbian buster/main armhf xrdp armhf 0.9.9-1 [394 kB]
Fetched 15.5 MB in 11min 34s (22.4 kB/s)                                       
Preconfiguring packages ...
Selecting previously unselected package libglu1-mesa:armhf.
(Reading database ... 97347 files and directories currently installed.)
Preparing to unpack .../00-libglu1-mesa_9.0.0-2.1_armhf.deb ...
Unpacking libglu1-mesa:armhf (9.0.0-2.1) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../01-ssl-cert_1.0.39_all.deb ...
Unpacking ssl-cert (1.0.39) ...
Selecting previously unselected package x11-apps.
Preparing to unpack .../02-x11-apps_7.7+7_armhf.deb ...
Unpacking x11-apps (7.7+7) ...
Selecting previously unselected package x11-session-utils.
Preparing to unpack .../03-x11-session-utils_7.7+3_armhf.deb ...
Unpacking x11-session-utils (7.7+3) ...
Selecting previously unselected package xbitmaps.
Preparing to unpack .../04-xbitmaps_1.1.1-2_all.deb ...
Unpacking xbitmaps (1.1.1-2) ...
Selecting previously unselected package xfonts-encodings.
Preparing to unpack .../05-xfonts-encodings_1%3a1.0.4-2_all.deb ...
Unpacking xfonts-encodings (1:1.0.4-2) ...
Selecting previously unselected package xfonts-utils.
Preparing to unpack .../06-xfonts-utils_1%3a7.7+6_armhf.deb ...
Unpacking xfonts-utils (1:7.7+6) ...
Selecting previously unselected package xfonts-100dpi.
Preparing to unpack .../07-xfonts-100dpi_1%3a1.0.4+nmu1_all.deb ...
Unpacking xfonts-100dpi (1:1.0.4+nmu1) ...
Selecting previously unselected package xfonts-75dpi.
Preparing to unpack .../08-xfonts-75dpi_1%3a1.0.4+nmu1_all.deb ...
Unpacking xfonts-75dpi (1:1.0.4+nmu1) ...
Selecting previously unselected package xfonts-base.
Preparing to unpack .../09-xfonts-base_1%3a1.0.5_all.deb ...
Unpacking xfonts-base (1:1.0.5) ...
Selecting previously unselected package xfonts-scalable.
Preparing to unpack .../10-xfonts-scalable_1%3a1.0.3-1.1_all.deb ...
Unpacking xfonts-scalable (1:1.0.3-1.1) ...
Selecting previously unselected package xorg-docs-core.
Preparing to unpack .../11-xorg-docs-core_1%3a1.7.1-1.1_all.deb ...
Unpacking xorg-docs-core (1:1.7.1-1.1) ...
Selecting previously unselected package xorg.
Preparing to unpack .../12-xorg_1%3a7.7+19+b8_armhf.deb ...
Unpacking xorg (1:7.7+19+b8) ...
Selecting previously unselected package xorgxrdp.
Preparing to unpack .../13-xorgxrdp_1%3a0.2.9-1_armhf.deb ...
Unpacking xorgxrdp (1:0.2.9-1) ...
Selecting previously unselected package xrdp.
Preparing to unpack .../14-xrdp_0.9.9-1_armhf.deb ...
Unpacking xrdp (0.9.9-1) ...
Setting up x11-apps (7.7+7) ...
Setting up xorg-docs-core (1:1.7.1-1.1) ...
Setting up ssl-cert (1.0.39) ...
Setting up xfonts-encodings (1:1.0.4-2) ...
Setting up xorgxrdp (1:0.2.9-1) ...
Setting up x11-session-utils (7.7+3) ...
Setting up libglu1-mesa:armhf (9.0.0-2.1) ...
Setting up xbitmaps (1.1.1-2) ...
Setting up xrdp (0.9.9-1) ...

Generating 2048 bit rsa key...

ssl_gen_key_xrdp1 ok

saving to /etc/xrdp/rsakeys.ini

Created symlink /etc/systemd/system/multi-user.target.wants/xrdp-sesman.service → /lib/systemd/system/xrdp-sesman.service.
Created symlink /etc/systemd/system/multi-user.target.wants/xrdp.service → /lib/systemd/system/xrdp.service.
Setting up xfonts-utils (1:7.7+6) ...
Setting up xfonts-base (1:1.0.5) ...
Setting up xfonts-75dpi (1:1.0.4+nmu1) ...
Setting up xfonts-scalable (1:1.0.3-1.1) ...
Setting up xfonts-100dpi (1:1.0.4+nmu1) ...
Setting up xorg (1:7.7+19+b8) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for systemd (241-7~deb10u3+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for fontconfig (2.13.1-2) ...
pi@pi:~ $

 

Setelah itu lakukan koneksi seperti biasa dengan menggunakan IP dari Raspberry Pi.

Permasalahan lain dalam Raspberry, kami rangkum di bawah ini:
Raspberry Pi no sound on chromium but it still loading on VLC or the other application (hdmi / analog / headphone / bluetooth)
-> install this
sudo apt-get install chromium-codecs-ffmpeg-extra





No comments:

Post a Comment