• # xpra est fait pour cela

    Posté par (Mastodon) . En réponse au message Récupérer l'interface graphique d'un logiciel déjà lancé via SSH -XC ?. Évalué à 9 (+6/-0). Dernière modification le 09 juillet 2026 à 00:07.

    xpra c'est un peu le tmux/screen de Xorg. De mémoire c'est aussi plus performant que ssh -X et -Y

    Je reprends tel quel la doc de la page principale:

    forward Get started with Xpra
    To start an application (a simple xterm in this example) on a remote system and display it on your local machine, simply run:

    xpra start ssh://USERNAME@HOST/ --start=xterm

    This is similar to ssh -X, except that performance will be noticeably better and you can disconnect and re-connect to this session as many times as you like. (obviously xpra must be installed on your server host)
    To re-connect or to connect to this session from another machine, use the attach command (you can also use the xpra_launcher GUI):

    xpra attach ssh://USERNAME@HOST/

    Tu peux aussi ouvrir un wm/bureau complet.

    Je ne l'ai pas encore testé mais il existe maintenant un outil similaire pour wayland, wprs:
    https://github.com/wayland-transpositor/wprs