I want to connect to a server with SSH (a Debian installation in a VMware image). On that server I want to call gitk
a repository viewer for git
. What do I need to do to make this work?
SSH – How to Enable X11 Forwarding to a Debian Server Box
debiansshx11x11forwarding
Related Topic
- SSH – Warning: Untrusted X11 Forwarding Setup Failed
- Disable SSH Password Login – How to Disable SSH Login with Password for Some Users
- Ssh – How to prevent the warning No xauth data; using fake authentication data for X11 forwarding
- Linux – Forwarding X11 with one hop without X-server installed
- Ssh – X11 forwarding over ssh only working with sudo
Best Answer
To enable X11 forwarding on the server you need at least the
xauth
program.xbase-clients
on the server (or the package that containsxauth
)Connect to the server with SSH using the following command
ssh -X servername
Run the program