To setup SSH X11 forwarding on CentOS, we need to:
1. On the remove server, edit /etc/ssh/sshd_config, and set the following values:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
2. On the remove server, install the package xorg-x11-xauth:
# yum install xorg-x11-xauth
3. On the remove server, install the fontconfig packages:
# yum install xorg-x11-fonts-base liberation-fonts
4. Now login to the remote server using "-Y" option:
local$ ssh -Y remote_server
5. In the remove server, run your X program, such as the xterm:
remote$ xterm
And you shall see the X program pop up in your local desktop.
Recent comments
8 weeks 2 days ago
9 weeks 1 day ago
20 weeks 1 day ago
21 weeks 4 days ago
30 weeks 2 days ago
30 weeks 3 days ago
31 weeks 3 days ago
32 weeks 2 days ago
32 weeks 2 days ago
32 weeks 3 days ago