![]() It should appear on your Windows machine, despite being started by the remote Linux machine. (Now running as user on remote machine) echo xterm Your should see results like this: ssh -l user bashrc etc) to set it, you'll have to delete them again. When this is setup correctly, you should not change the DISPLAY environment variable yourself if you've added lines to your login files (. See How to forward X over SSH to run graphics applications remotely? for more details about how this works. If X11 forwarding is enabled on the linux server ( ulv78), then DISPLAY is set to an apparently local address, and your ssh client forwards those requests back to your X11 server (running on your Windows machine). MobaXTerm supports X11 forwarding, enabled by default. ![]() ![]() Xterm: Xt error: Can't open display: win_host_name:0.0Ģ) I see wrong domain name showing in the last login msg of ssh client. Last login: Thu Sep 20 12:36:54 2018 from win_host_name As soon as I connect from MobaXterm terminal, below is the output: > ssh -l someuser bashrcĮrror: Can't open display: win_host_name:0.0Ībove session has X11 forwarding request failed on channel 0 error $ echo DISPLAY=win_host_name:0.0 export DISPLAY >. Last login: Thu Sep 20 12:06:57 2018 from win_host_name X11 forwarding request failed on channel 0 Evidence of suspected illegal use may be given to law enforcement. We reserve the right to seek all remedies for unauthorized use. Use of this private computer system is your consent to being recorded and monitored. Using MobaXTerm terminal on windows laptop: > xhost +
0 Comments
Leave a Reply. |