Skip to main content

Posts

Showing posts with the label DISPLAY not set

X11 Forwarding - DISPLAY not SET when trying to run xclock

in order to use PuTTY with X11 FW feature you will need to follow these instructions: 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     if not - change to yes and restart sshd service [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 xcloc...