Operating System - Linux
1830230 Members
2146 Online
109999 Solutions
New Discussion

Re: VNC on Redhat 5 does not work over HTTP (aka VNC Viewer Java Applet)

 
Alzhy
Honored Contributor

VNC on Redhat 5 does not work over HTTP (aka VNC Viewer Java Applet)

On all other OSes, I usually do:

vncserver :77 -httpd -alwayssshared

And the VNC Desktop session is simply accessible via:

http://targerserver.dom.com:5899

But On Redhat 5.X - I can't seem to make it work. The Web Page would just resfond with a "Not Found". I check and the required files ar in /usr/share/vnc/classes (the JAR and index files and the logo ).

There were no errors in the Log and it even reports the Java extension is running:

vncext: VNC extension running!
vncext: Listening for VNC connections on port 5977
vncext: Listening for HTTP connections on port 5877

My SELinux setting is practically wide open already.

The Thick Client works alright but I don't want to use the vncviewer thick client to access my VNC Session on Linux.

Any ideas how to fix?


TIA!
Hakuna Matata.
2 REPLIES 2
Court Campbell
Honored Contributor

Re: VNC on Redhat 5 does not work over HTTP (aka VNC Viewer Java Applet)

Maybe iptables? Try running service iptables stop and the see if you can connect.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Alzhy
Honored Contributor

Re: VNC on Redhat 5 does not work over HTTP (aka VNC Viewer Java Applet)

I simply dropped -httpd (which is the default anyway I just found out via Manny).


And voila, http VNC access now works like a charm!

Hakuna Matata.