If you meant something like RDP, you could check here https://wiki.archlinux.org/title/Xrdp And I remember this usecase here