Red Hat Bugzilla – Bug 433529
vnc server through krfb and accessing by http broken
Last modified: 2013-04-12 15:33:35 EDT
+++ This bug was initially created as a clone of Bug #433493 +++
This is a clone of bug 433493, bug 433510, and bug 433511 for RHEL 5.1.
The /usr/bin/krfb_httpd script is really odd in RHEL 5.1
It looks like a DOS file (lots of ^M chars instead of newlines), but running
dos2unix does not clean it up. Doing '%s/^M/\r/g' with vim cleans it up nicely,
It also has the wrong <APPLET> tag. It should be
<APPLET CODE=vncviewer/VNCViewer.class ARCHIVE=vncviewer.jar ....
Created attachment 295333 [details]
corrected /usr/bin/krfb_httpd script
(In reply to comment #0)
> Doing '%s/^M/\r/g' with vim cleans it up nicely, though.
This cleans it up a little too much. Three ^M chars need to remain for the
script to work. The attachment in comment #1 does have 3 ^M chars in it.
This is probably what caused bug 433510 in Fedora 8...
Proposing for RHEL-5.3, waiting with final ACK on developer review.
Read ya, Phil
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.