Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
We are trying to setup a way to RDP to a Redhat 6 workstation using UltraVNC from a windows 7 box. When I try to connect from the windows box I get a connection failure. If I stop iptables on the redhat box, the connection will work at least one time. This tells me something on the redhat workstation's firewall is blocking.
I tried to allow these ports on the linux side with
iptables -A INPUT -p tcp --dport 5500 -j ACCEPT
iptables -A INPUT -p tcp --dport 5800 -j ACCEPT
iptables -A INPUT -p tcp --dport 5900 -j ACCEPT
Still I am not able to connect.
I am able to telnet to the windows box on that port but I cant telnet to the linux box from the windows box on that port..
telnet ipaddress 5900 doesnt connect on windows box.
turning off iptables shuts down the network so to speak so that isnt a good option.
Well for one thing there are no VNC packages that do RDP. RDP is a Microsoft protocol used by Remote Desktop and RDESKTOP and derivatives and clones. VNC is different, based on code that began its life at IBM. (Thanks guys.)
1. Did you check that VNCSERVER is running on the RH workstation?
2. Are you using VNCVEIWER from the Windows machine?
3. What behavior do you get from VNCVEIWER?
4. Have you extracts from any logs from VNCSERVER?
The telnet test from Linux to Windows tell you nothing, because that is not the connection you say you are trying to make.
The telnet test from Windows to Linux means something, but only if the VNCSERVER is running on the Linux box. (Telnet and vncveiwer can only connect to a service if it happens to be running.)
Once you are sure that VNCSERVER is running, if you still get no connection try turning off the firewall and test again. If you can then connect, you need to retune your firewall rules. IF you STILL cannot connect with the firewall down, then run netstat -an and look for listeners and figure out where VNCSERVER is listening and what connections it will accept.