0

I am working on raspberry pi 4 and install a yocto linux image on that.

Is there any way to add xrdp server in yocto warrior branch?

I have added recepie from meta-openembedded/meta-oe/recepie-support/rxdp/ In final image but can't get remote desktop of raspberry pi

please find logs from here

logs of journalctl command

Thanks Margish

1 Answers1

1
IMAGE_INSTALL += " xrdp "
Oleksandr Kravchuk
  • 5,963
  • 1
  • 20
  • 31
  • thanks @Oleksandr Kravchuk I have already tried that but xrdp service failed every time to start I have also run this command systemctl show -p SubState --value xrdp but it gives failed every time currently I have only tty console in my yocto image(i.e no desktop support) – Margish thumar Jun 17 '21 at 10:55
  • thanks for your support @Oleksandr Kravchuk, please find log below. here I'm posting 2 comments due to characters limit in comment ● xrdp.service - xrdp daemon Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2021-06-15 10:01:28 EDT; 2 days ago Docs: man:xrdp(8) man:xrdp.ini(5) Process: 227 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=1/FAILURE) – Margish thumar Jun 18 '21 at 05:16
  • Jun 15 10:01:28 raspberrypi4 systemd[1]: Starting xrdp daemon... Jun 15 10:01:28 raspberrypi4 systemd[1]: xrdp.service: Control process exited, code=exited, status=1/FAILURE Jun 15 10:01:28 raspberrypi4 systemd[1]: xrdp.service: Failed with result 'exit-code'. Jun 15 10:01:28 raspberrypi4 systemd[1]: Failed to start xrdp daemon. – Margish thumar Jun 18 '21 at 05:16
  • Add logs for the service to your question - it's impossible to read them. – Oleksandr Kravchuk Jun 18 '21 at 08:00
  • please find logs in my question. @Oleksandr Kravchuk Thanks in advance – Margish thumar Jun 18 '21 at 10:45
  • sorry for the delay @Oleksandr Kravchuk. please find required logs in question – Margish thumar Jun 21 '21 at 04:50
  • I think desktop is required in yocto image to run xrdp.service @Oleksandr Kravchuk. – Margish thumar Jun 22 '21 at 11:32
  • please give your input if you have any idea- @Oleksandr Kravchuk – Margish thumar Jul 05 '21 at 11:05
  • I thought you've figured it out - you are missing GUI – Oleksandr Kravchuk Jul 05 '21 at 19:04
  • what should I add for GUI ?, currently im using Qt application and it's working fine on current image @Oleksandr Kravchuk – Margish thumar Jul 07 '21 at 12:54
  • Did you get a chance to see my last comment ?@Oleksandr Kravchuk – Margish thumar Jul 08 '21 at 19:12