Start teamviewer on i3wm

  |   Source

See yveslec's analysis.

So the solution is just one liner in shell.

ssh -X 127.0.0.1 "DISPLAY=:0.0 teamviewer"

Here is my shell script "~/bin/sshx-teamviewer.sh" with a bit optimization,

#!/bin/sh
# Run "cat ~/.ssh/id_rsa.pubkey >> ~/.ssh/authorized_keys" to
# avoid inputting ssh login password
ssh -X -C 127.0.0.1 "DISPLAY=:0.0 teamviewer"
Comments powered by Disqus