Problem Description:
Use xshell to remotely log in to a server 1 and set X11 transfer in the session — SSH — tunnel
At present, the graphical interface of the software can be opened on server 1. At this time, SSH to another server 2 cannot open the graphical interface
SSH – X server 2
report errors:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
solve:
On server 2, install xauth
# yum install xauth
Edit/etc/SSH/sshd_ config
X11Forwarding yes
Edit/etc/SSH/SSH_ config
ForwardX11Trusted yes
ForwardX11 yes
ForwardAgent yes
When logging in to server 2 last, use:
SSH – C – y server 2
Similar Posts:
- Xterm Xt error: Can’t open display: xterm: DISPLAY is not set
- _tkinter.TclError: no display name and no $DISPLAY environment variable
- [Fixed] IDEA Login Warning: Server’s certificate is not trusted
- Can’t connect to X11 window server using ‘:1.0’ as
- Send QQ e-mail message prompt: error in certificate certificate is not trusted
- When using SSH to log in to MySQL, Navicat reported an error: expected key exchange group packet from server
- EnvironmentError: mysql_config not found
- CentOS 7: How to Solve Mysqlclient Install Error
- SSHException: Error reading SSH protocol banner
- How to Fix Issue: SSH Server CBC Mode Ciphers Enabled