AWS Thinkbox Discussion Forums

can't get vnc to work on linuc

Hi all,

when right clicking on a slave in the monitor, I’m trying to get tyhe “Scripts/ConnectWithVNC” option to work.
First I tried it with Kubuntu’s built in krdc, but that thre an erro saying only vncviewer and gvncviewer are support at the moment.
So I installed gvncviewer and tested manually outside of Deadline, it works as expected (though with a painfully slow refresh rate). Then I went back to Deadline Monitor and tried connecting via gvnc - nothing happens.
No error, no warning, just nothing. I checked the port number and it’s correct.

This is on Kubuntu 12.10 and here is what my connection window in the monitor looks like:
deadlineSlave_vnc.jpg

Any ideas?

Cheers,
frank

When you test it from outside of Deadline, what’s the command line you’re using? We can compare that to what Deadline is doing to figure out what the problem is.

Thanks!

  • Ryan

I just used:

or

where “chili” is mapped to a static ip address in /etc/hosts

Thanks! Go to \your\repository\scripts\General and open ConnectWithVNC.py in a text editor. Find this code:

                elif Path.GetFileNameWithoutExtension(vncViewer).lower() == "gvncviewer":
                    #gvncviewer - no option for password?
                    arguments = "-shared %s::%s" %(slaveName, port)

Modify the argument line so it looks like this:

                elif Path.GetFileNameWithoutExtension(vncViewer).lower() == "gvncviewer":
                    #gvncviewer - no option for password?
                    arguments = "%s" % slaveName

Save the file, and try again. If it works, let us know and we’ll update the script for the next release.

Cheers,

  • Ryan

yes, that did it, thanks!

Great! Thanks for confirming. We’ll include this fix in beta 20.

Cheers,

  • Ryan
Privacy | Site terms | Cookie preferences