Can't login to HDA via webVNC
Posted: Thu Jul 23, 2009 6:59 pm
webVNC was working a month ago but now it isn't. I uninstalled and reinstalled but that didn't help. Via webmin, I verified that vncserver was running. runlevel=5.
The server is normally headless, so I had to pull it off the network and connect it my TV to verify Remote Desktop preferences:
Checked:
Allow other users to view your desktop
Allow other users to control your desktop
Users can view your desktop using this command:
vinagre localhost.localdomain:0
Require user to enter this password checked
Reset password.
Confirmed that "Ask you for confirmation was NOT checked"
Checked /etc/sysconfig/vncservers:
VNCSERVERS="1:Michael"
VNCSERVERARGS[1]="-geometry 1250x1000 -depth 16"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
The Amahi wiki references: /var/hda/web-apps/webvnc/html/html/index.html, but that file doesn't exist. Appears to be a typo with one extra /html in the path, as I have /var/hda/web-apps/webvnc/html/index.html. Contents of that file is:
<HTML>
<TITLE>
Amahi VNC Desktop Viewer
</TITLE>
<APPLET CODE=VncViewer.class CODEBASE=classes/ WIDTH=800 HEIGHT=632>
<param name=PORT value=5900>
<param name="Open New Window" value="yes">
</APPLET>
<BR>
<A href="http://www.tightvnc.com/">TightVNC site</A>
</HTML>
In the troubleshooting section of the Amahi wiki it says: "you must have a desktop session open on your HDA to be able to open a WebVNC session." Could this be the problem? Does that mean I have to be logged into the HDA locally in order to have a remote session? If so, how do I get a remote graphic session on a headless server?
The server is normally headless, so I had to pull it off the network and connect it my TV to verify Remote Desktop preferences:
Checked:
Allow other users to view your desktop
Allow other users to control your desktop
Users can view your desktop using this command:
vinagre localhost.localdomain:0
Require user to enter this password checked
Reset password.
Confirmed that "Ask you for confirmation was NOT checked"
Checked /etc/sysconfig/vncservers:
VNCSERVERS="1:Michael"
VNCSERVERARGS[1]="-geometry 1250x1000 -depth 16"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
The Amahi wiki references: /var/hda/web-apps/webvnc/html/html/index.html, but that file doesn't exist. Appears to be a typo with one extra /html in the path, as I have /var/hda/web-apps/webvnc/html/index.html. Contents of that file is:
<HTML>
<TITLE>
Amahi VNC Desktop Viewer
</TITLE>
<APPLET CODE=VncViewer.class CODEBASE=classes/ WIDTH=800 HEIGHT=632>
<param name=PORT value=5900>
<param name="Open New Window" value="yes">
</APPLET>
<BR>
<A href="http://www.tightvnc.com/">TightVNC site</A>
</HTML>
In the troubleshooting section of the Amahi wiki it says: "you must have a desktop session open on your HDA to be able to open a WebVNC session." Could this be the problem? Does that mean I have to be logged into the HDA locally in order to have a remote session? If so, how do I get a remote graphic session on a headless server?