I followed the procedure described in https://developer.nvidia.com/drive/learn/tutorial-remoteOGL
However, when I do :
sudo service xrdp restart
The service fails to restart with the following error:
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2019-09-21 01:17:55 UTC; 7min ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
Process: 18239 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=1/FAILURE)
Process: 18231 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
Sep 21 01:17:55 tegra-ubuntu systemd[1]: Starting xrdp daemon...
Sep 21 01:17:55 tegra-ubuntu systemd[1]: xrdp.service: Control process exited, code=exited status=1
Sep 21 01:17:55 tegra-ubuntu systemd[1]: xrdp.service: Failed with result 'exit-code'.
Sep 21 01:17:55 tegra-ubuntu systemd[1]: Failed to start xrdp daemon.
running journalctl -xe returns the following lines
Sep 21 01:33:42 tegra-ubuntu avahi-daemon[675]: Registering new address record for 192.168.1.200 on eth0.IPv4.
Sep 21 01:33:42 tegra-ubuntu avahi-daemon[675]: Registering new address record for 10.1.0.81 on eth0.IPv4.
Sep 21 01:33:42 tegra-ubuntu avahi-daemon[675]: Registering new address record for ::1 on lo.*.
Sep 21 01:33:42 tegra-ubuntu avahi-daemon[675]: Registering new address record for 127.0.0.1 on lo.IPv4.
Sep 21 01:33:42 tegra-ubuntu x11vnc[1390]: --- x11vnc loop: waiting for: 23978
Sep 21 01:33:42 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:42 passing arg to libvncserver: -rfbauth
Sep 21 01:33:42 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:42 passing arg to libvncserver: /home/nvidia/.x11vnc.
Sep 21 01:33:42 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:42 passing arg to libvncserver: -rfbport
Sep 21 01:33:42 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:42 passing arg to libvncserver: 5900
Sep 21 01:33:42 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:42 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 2
Sep 21 01:33:43 tegra-ubuntu x11vnc[1390]: xauth: unable to generate an authority file name
Sep 21 01:33:43 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:43 -auth guess: failed for display='unset'
Sep 21 01:33:43 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:43 -auth guess: since we are root, retrying with FD_X
Sep 21 01:33:43 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:43 -auth guess: failed for display='unset'
Sep 21 01:33:43 tegra-ubuntu x11vnc[1390]: --- x11vnc loop: sleeping 2000 ms ---
Sep 21 01:33:45 tegra-ubuntu x11vnc[1390]: --- x11vnc loop: 713 ---
Sep 21 01:33:45 tegra-ubuntu x11vnc[1390]: --- x11vnc loop: waiting for: 24094
Sep 21 01:33:45 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:45 passing arg to libvncserver: -rfbauth
Sep 21 01:33:45 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:45 passing arg to libvncserver: /home/nvidia/.x11vnc.
Sep 21 01:33:45 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:45 passing arg to libvncserver: -rfbport
Sep 21 01:33:45 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:45 passing arg to libvncserver: 5900
Sep 21 01:33:45 tegra-ubuntu x11vnc[1390]: 21/09/2019 01:33:45 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 2
Sep 21 01:33:46 tegra-ubuntu x11vnc[1390]: xauth: unable to generate an authority file name