Skip to content

Instantly share code, notes, and snippets.

@evandrododo
Last active August 7, 2017 18:50
Show Gist options
  • Save evandrododo/67f75b84be57ec034779f8863b0db39b to your computer and use it in GitHub Desktop.
Save evandrododo/67f75b84be57ec034779f8863b0db39b to your computer and use it in GitHub Desktop.
How attach and detach X sessions from servers

On server

( Caso queria manter a sessão rodando no server, executar tudo dentro de uma sessão tmux )

Inicia o xpra e liga ele na porta 123:

xpra start :123 && export DISPLAY=:123

Executa o programa:

qgis ou firefox

On Client

xpra attach ssh/atalhossh/123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment