Saturday, April 2, 2011

Want GUI in putty


Many times there will be a requirement of using GUI in putty. It might not be possible to install a vnc in some production environments, so it becomes necessary to have a way in which one can get GUI in putty.

For this one has to ENABLE X11 FORWARDING in putty.

To do this the steps are as follows.

1. Install Xming-6-9-0-31-setup.exe

2. Then enable x11 forwarding in putty as shown in the screenshot.

3. From the command prompt make a 'xhost+'

4. Make a xclock and there you are - you can see the display.

5. Please keep in mind that there may be a couple of things that may be missing if you fail to have gui. Check that xauth is installed in linux. In the eventlog of the putty session a message will come saying that x11 forwarding failed because xauth not available. Search rpm with name *xauth* and then install that rpm. Also if xclock is not coming up, one needs to install rpm corresponding to xclock.

No comments:

Post a Comment