-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh -X #1438
Comments
That's due to Windows not having a X server. If you look at the ssh(1) from the Linux man page. You'll see
Install a third party X server such as VcxSrv or X410 and then use it with something that can work with it such as WSL. |
but when I use 'ssh -X' to connect remote linux, then
Last login: Sun Sep 1 09:57:49 2019 from 10.180.8.164 sunyy@ImageLab:~$ gvim Press ENTER or type command to continue Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-62-generic x86_64)
Last login: Sun Sep 1 10:20:04 2019 from 10.180.8.164 Vcxsrc is opend all the time. Why doesn't it work like xshell or in Mac? |
when xshell keeps on |
There is no ssh configuration file on Windows |
Did you install using the built-in feature or from the Release Page? Keep in mind that the Release page can contain a newer version than your OS has available. I suggest uninstalling the feature and install from Github instead. You can automate this install with Chocolatey if you use it. Also, the install won't create the config file. It is generated when you ssh. There is plenty of documentation to manually create it for Windows. |
I use Chocolatey to install openssh , then input ssh -X or ssh -Y , it's still invalid. Could you give a tutorial? |
Haven't explored X11 forwarding on Windows yet. Its currently not in scope. If you feel its an easy feature to add, please propose on how it could be done. A PR with changes would be helpful. |
I solve the issue, |
when I use ssh -X
then error occurred
i input xclock
Error: Can't open display:
The text was updated successfully, but these errors were encountered: