For X11 to be forwarded correctly you need:
Xming running in listen mode on workstation
SSH X11 forwarding enabled in SSH server's /etc/ssh/sshd_config, and sshd reloaded afterwards - kill -HUP `cat /var/run/sshd.pid'
X11 forwarding enabled in putty (default setting)
xdpyinfo should show whats wrong or right with display environment.
If X11 forwarding is disabled on SSH server then it attempts X11 connections to display outside secure channel - bad for firewalled environment.
If no X11 forwarding on client you get error DISPLAY not set.
Main Topics
Browse All Topics





by: amroxPosted on 2009-05-14 at 08:41:47ID: 24386235
Looks like you've got X11 server access control
try 'xhost +'
then try again
If that doesn't work, check that your $DISPLAY var is correct - before sudo'ing do an 'echo $DISPLAY', and set the value for your new session to this value using 'export DISPLAY=<value>'