ssh -X user@10.0.0.2 xcalc
? xhost +
in the BSD host)Xserver running on windows (xming)I have a Windows10 Bhyve guest with IP 10.0.0.2 from the host Issh -Y user@10.0.0.2 xcalc
and I get the error X11 forwarding request failed on channel 0
I have installed vcXsrv and I still can't seem to display the Xcalculator on the BSD host from the Windows guest.
The OP is doing it the other way around.Xserver running on windows (xming)
X11forwording yes (sshd_config)
putty - configure X11 forwarding (localhost:10.0)
you need xorg-xauth installed on the host
if you want from ssh than ssh -XY user@host
OP?The OP is doing it the other way around.
The explanation can be found in Wikipedia and elsewhere.
In this case, on the Windows host. That's the host that's receiving the ssh connection.I think the key here is in sshd_config on the FreeBSD host:
In this case, on the Windows host. That's the host that's receiving the ssh connection.
ssh -R /tmp/.X11-unix/X2:10.0.0.2:6000
)I still can't seem to display the Xcalculator on the BSD host from the Windows guest.
I didn't ask youThe explanation can be found in Wikipedia and elsewhere.
I'm baffled how many noise appears on threads started by someone who stays away after the first and only post.Baffled. We will await further clarification from OP![]()
This is a public place where you get answers you may not like.I didn't ask you
No, Its arrogant people like you who thinks that because its a public place they can write and response how ever they want and because of people like you many users are avoiding writing in forums.This is a public place where you get answers you may not like.
Pot calling the kettle black. Knock it off.No, Its arrogant people like you who thinks that because its a public place they can write and response how ever they want and because of people like you many users are avoiding writing in forums.
Why is he doing it encrypted?I have a Windows10 Bhyve guest
Xorg -listen tcp
(when it runs on FreeBSD). exec Xorg -listen tcp
in ~/.xserverrcX11Forwarding
setting in sshd_config. If I recall correctly the default value changed from 'yes' to 'no' not too long ago. But I'm unsure what is actually being used on Windows. It does have a builtin SSH service nowadays. It's however unclear what the OP enabled.Perhaps because you use ssh, then the connection to the server is done on the local machine.Shouldn't be necessary. Never had to do this to get X-forwarding to work. On any system.
If you're not using SSH then it isn't X-forwarding. It's an XDMCP connection, which is unencrypted and terribly insecure.But I never used ssh for "X forwarding".
Who will hack it in my local net?and terribly insecure
Me thinks this is the way you should do it. Do it.I never used ssh for "X forwarding".
That's cute.which is unencrypted and terribly insecure
They will. Remember to avoid using WiFi in case you have to pull your ethernet cord.Who will hack it in my local net?
Are you sure?Me thinks this is the way you should do it. Do it.
I think so...Are you sure?