WindTerm
WindTerm copied to clipboard
X11 Forward Not Work
windterm version: 2.1.0 client system: win10 and win7 server system: centos 8
Because I don’t have your environment and cannot reproduce it, please help me to do the following tests:
- Check whether
Session Settings Dialog - SSH - SSH - X11 - Internal X display
has been checked. - After opening the session, check whether there is an
Xming.exe X Server
process in the system task manager. - Execute the command
echo $DISPLAY
in the session and check if the result is similar tolocalhost:0
.
If all the above steps are consistent with the expected results, then X11 Forwarding
should be available, and I will continue to investigate the issue. If not, that is maybe the cause of the problem.
Do I need to start xming.exe manually?
No, you don't need to start XMing.exe
manually. When you open the SSH
session, the session will start XMing.exe
automatically. You just need to check if XMing.exe
exists in the system task manager after opening the session.
I enabled X11, and when I open the ssh session, there was no xming.exe in task manager
Are you logged in? If there is no XMing.exe
process after logging in, I think this is maybe the problem. Then please go to the directory WindTerm_install_path/vendors/xming
and double-click XMing.exe
, can XMing.exe
start normally?
double-click XMing.exe, XMing.exe can run normally。I don't know what went wrong,I use vcxsrv
and it works fine
Sorry, I just noticed the error message in your screenshot: Channel request x11-req failed.
This shows that your server does not allow X11 forwarding
. You can check your server sshd
configuration to see if X11 forwarding
is turned on: X11Forwarding yes
.
In addition, you can also set Session Property - SSH - SSH - X11 - X11 Display
to External X display
and fill the display and port of your vcxsrv
, so you can use vcxsrv
instead of the built-in XMing
. In subsequent versions, there are plans to replace XMing
with vcxsrv
too.
@kingToolbox double-click Xming.exe, XMing.exe can run normally. but ten seconds later, it disappears from task manager. what's wrong?