用 ssh -X user@host 可以做remote display,搭配ssh-keygen可以做到不用密碼切換成user環境
RockyLinux要改的部分:
https://www.answertopia.com/rocky-linux/displaying-rocky-linux-applications-remotely-x11-forwarding/
ssh key的部分:
https://hackmd.io/@MagicJackTing/BywNwqdTD?utm_source=preview-mode&utm_medium=rec