Now go to folder ~ or $HOME, append export DISPLAY=localhost:0 to your. Now since we are done editing ssh_config file, save it when we leave the editor. In ssh_config file, remove the front hash # before Port 22 and Protocol 2, and also append a new line at the end of the file to state the xauth file location, XauthLocation /usr/bin/xauth, remember write your own path of xauth file. Inside ssh_config, remove the hash # in the lines ForwardAgent, ForwardX11, ForwardX11Trusted, and set the corresponding arguments to yes. Go to the folder contains ssh_config file, mine is /etc/ssh.Įdit ssh_config as administrator(USE sudo). On Ubuntu bash, use sudo apt install to install ssh xauth xorg. Letting Ubuntu bash on Windows 10 run ssh -X to get a GUI environment on a remote server
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |