Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a VM with RHEL 5 without an X server. My host has Windows 7.

I need to connect to the VM and redirect the X11 output of the commands to my host.

I know that if my host were a GNU/Linux machine it would be as easy as ssh -X .

I'm ussing PuTTy to connect by SSH to the VM, I tried enabling X11 forward option in PuTTy config, but nothing happened.

Have you ever done this? I'm quite advanced with GNU/Linux, but a newbie with this toy of Winbug$ 7.

share|improve this question
1  
if you've enabled putty's X11-forwarding option, you're halfway there. that's all you need on the PuTTY side; RHEL is good to go; now you need an X server to display to. (Windows is not an X-server.) Cygwin and Xming both provide free x-servers for Windows, but i don't know how well they work on Win-7. there are commercial options as well. –  quack quixote Mar 14 '10 at 16:40
    
"I have a VM with RHEL 5 without an X server." you need an xserver of some sort to forward x. –  Journeyman Geek Mar 15 '10 at 3:21
add comment

1 Answer

up vote 15 down vote accepted

You need a X server on your windows workstation. I prefer and regularly use Xming on my Windows 7 system. You need your SSH server to have the X11Forwarding yes set in the sshd_config.

In putty all you should have to do check the Enable X11 forewarding box under Connections\SSH\X11 in your putty connection.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.