Xshell FAQ
FAQ List
Question
How do I run the X11 applications through Xshell?How do I run the X11 applications through Xshell?
Answer
X11 forwarding is a bit different from other TCP/IP port forwarding.
Please, go through the following steps.
Please, go through the following steps.
- To enable X11 forwarding service in Xshell
- To enable X11 forwarding service in the SSH server
- To run X applications from the Xshell terminal
- To enable X11 forwarding service in Xshell:
- To enable X11 forwarding service in the SSH server:
- To run X11 applications from the Xshell terminal:
- If Xmanager is installed on your PC, just go to the next step. Otherwise, run the PC X server installed on your PC first.
- Start the SSH connection with the session enabling X11 Forwarding.
- At the shell prompt of Xshell, execute the X11 applications like the following examples:
[nathaniel@intranet ~]$ xterm &
[nathaniel@intranet ~]$ startkde &
[nathaniel@intranet ~]$ gnome-session &
On the Tunneling tab of Advanced SSH Options dialog box, check Forward X11 Connections To. and select Xmanager if Xmanager is installed in your PC. If you use another PC X server, select X Display Location and enter the proper display name.
Setup the configuration file in the following table.
| SSH server | Config file | Setup |
| OpenSSH | /etc/ssh/sshd_config | X11Forwarding yes |
| SSH.COM | /etc/ssh2/sshd2_config | AllowX11Forwarding yes |

