How can I enable X11 forwarding to a Debian web server box?

I intend to connect to a web server with SSH (a Debian installment in a VMware photo). On that particular web server I intend to call gitk a repository visitor for git. What do I require to do to make this job?

0
2019-12-02 03:01:43
Source Share
Answers: 3

As an addendum to Peter is proper solution :

If you are making use of Windows, you can install Cygwin/X to present remote X applications running in your area, it is extra clear than remote desktop computer.

If you simply intend to execute a covering command from another location, it is "ssh customer @hostname command". For a lot more details, see the male web page for the ssh command, or see all the OpenSSH man pages. If you have not yet made use of scp or ssh-agent, they will certainly make your life less complicated.

0
2019-12-03 05:28:49
Source

Also, examine that X11Forwarding is readied to of course in /etc/ssh/sshd_config (it is evidently the default in Debian).

0
2019-12-03 05:19:20
Source

To enable X11 forwarding on the web server you require at the very least the xauth program.

  1. Install xbase-clients on the web server (or the plan which contains xauth)
  2. Connect to the web server with SSH making use of the adhering to command

    ssh -X servername

  3. Run the program

0
2019-12-03 04:32:32
Source