I have been fighting to install OOD and get a working remote desktop for weeks (while the instructions for setting up OOD itself are detailed and accurate, those for setting up remote desktop seem to be a nearly nonexistent afterthought). We’ve reached the point at which I can login, fire a desktop off on a cluster node, and it successfully starts the VNC desktop session.
I can even use ssh to proxy the node’s VNC server listening port back to my desktop and open a desktop VNC viewer.
However the ‘open viewer’ option in the browsers fails instantly. The only clue I have been able to find is in the OOD server logs,
Other than this one line, I haven’t found anything to go on, and that’s not enough for me to even begin to guess more than the obvious (something is not installed and/or not configured) and that it may be websockify. Has anyone encountered this? Or setup a fully working remote browser-vnc desktop?
I’ve followed through the proxy setup commands, and using Netcat I’ve demonstrated to myself a working proxy (ood.nic.uo/node/5555 forwards my browser request to a listening nc) and reverse proxy (/rnode/XXX causes a waiting “echo ‘hello world’ | nc -l 5555” to emit “hello world” back in my browser).
So the proxy setup works (yay) but still the browser noVNC just cries “failed to connect” (boo). I feel like Zeno… it’s so close to working it hurts.
I just checked and it is the host name that is the problem.
I opened the noVNC advanced settings and edited the host target from ‘axis1’ to ‘axis1.stor’ and it worked.
However I have
entered set_host (why not use hostname -f?), rerun the configuration generator and restarted httpd
put .stor first on the /etc/resolv.conf domain search list and restarted httpd
put “172.17.10.1 axis1.stor” into /etc/hosts and restarted httpd
And none of them have any effect, the host is flat ‘axis1’ which does not work.
I directly edited set_host into
and restarted and it works: I am able to launch a remote session and get a gnome desktop appear in my browser. Horray! There’s some other things that need to be worked out but it looks like it’s alive.