1. in PuTTY configuration -> go to Connection settings -> SSH -> X11
check the Enable X11 forwarding
2. check /etc/ssh/sshd_config that X11 forwarfing flag set to yes
[root]# service sshd restart
3. open your server terminal using putty
4. check DISPLAY parameter by typing ##echo $DISPLAY
you should get: localhost:10.0 (or something similar)
5. open Xming on your local machine (your PC)
6. type xclock command and you should see it
common problems that you can face during your xclock configuration experience and solutions:
if xclock is not found in your Linux server -> install xorgs-X11-apps rpm:
[root]# yum install xorg-x11-apps
xclock command gives Can't open display output
[root]# xclock
Error: Can't open display: localhost:10.0
-> probably you are missing xorg-x11-xauth
fix it by
[root]# yum install xorg-x11-xauth
fix it by
[root]# yum install xorg-x11-xauth
xclock command gives Cannot convert string output
[root]# xclock
Warning: Cannot convert string "" to type XftFont
-> you need to install these rpms
[root]# yum install fontconfig-devel
[root]# yum install xorg-x11-font-utils
[root]# yum install liberation-sans-fonts
Comments
Post a Comment