2

I have downloaded and installed Xming on my Windows 7 laptop. I am using a PUTTY session to connect to my linux box and start a X Windows application but the $DISPLAY variable is itself not getting setup properly:

I see the XMING icon on my system tray

X0.hosts file:

localhost
10.24.0.144

Putty->X11->Enable X11 Forwarding [X Display Location - :0.0]

But:

@10.24.0.144's password:
Last login: Sun Sep 20 11:57:37 2015 from 10.21.200.197
# echo $DISPLAY

#

As such I am not able to successfully start the X Windows app from Putty?

Barett
  • 5,826
  • 6
  • 51
  • 55
Programmer
  • 8,303
  • 23
  • 78
  • 162

2 Answers2

1

Did you check this box in PuTTY? The box below can help tweak your display location, if it needs to be customized.

PuTTY x11 screen shot

Barett
  • 5,826
  • 6
  • 51
  • 55
0

On the shell try : export DISPLAY="127.0.0.1:10.0" . Test with echo and then try X window application.

To permanently set it up, update the bashrc file.

Prabhu
  • 3,443
  • 15
  • 26
  • Thanks - but when we configure via PUTTY client doesn't it should setup the values - so setting it up in Putty client does not matter – Programmer Apr 20 '15 at 09:18