Non-graphical houdini on amazon ec2

   1615   2   3
User Avatar
Member
224 posts
Joined: June 2009
Offline
I am having trouble getting houdini running in non-graphical mode on an amazon ec2 Ubuntu. I have hython script that I want to run, doing mainly geometry processing. Any help would be much appreciated.

I have been trying first with apprentice licensing. (I know Houdini Engine Indie is also an option, but I though I would first try to get apprentice running…)

  • I started an instance with Ubuntu Server 16 (18 gave me some other issues)
  • I installed ubuntu-desktop (just as a way of getting the required dependencies, I have no need of the desktop)
  • I downloaded houdini-17.0.352-linux_x86_64_gcc6.3.tar.gz
  • I installed houdini, choosing “Apprentice licensing” option
  • I ran “source houdini_setup”

All seems find so far. Then it says I need to use hkey to install licenses, which of course I cannot do in ssh.

If I run houdinicore, I get
ubuntu@ip-172-31-25-183:/usr/lib/sesi$ houdinicore
No protocol specified
Qt Error: QXcbConnection: Could not connect to display :0

If I run houdini, I get
ubuntu@ip-172-31-25-183:/usr/lib/sesi$ houdini
No protocol specified
Qt Error: QXcbConnection: Could not connect to display :0
No protocol specified
Qt Error: QXcbConnection: Could not connect to display :0

I also tried installing the licenses manually

This had no effect, running houdinicore and houdini both had the same result.

If I look at /var/log/sesinetd.log, I see this:
...
16:14:47 10/27/18 sesinetd: installing new server key
16:15:54 10/27/18 sesinetd: License file modification detected -- reloading
16:15:54 10/27/18 sesinetd: installing new license key
16:16:16 10/27/18 sesinetd: License file modification detected -- reloading
16:16:16 10/27/18 sesinetd: installing new license key
16:16:24 10/27/18 sesinetd: License file modification detected -- reloading
16:16:24 10/27/18 sesinetd: ubuntu@ip-172-31-25-183.ec2.internal: attempt checkout Houdini-Escape[0] failure
16:16:24 10/27/18 sesinetd: ubuntu@ip-172-31-25-183.ec2.internal: attempt checkout Houdini-Escape[0] failure
16:16:24 10/27/18 sesinetd: ubuntu@ip-172-31-25-183.ec2.internal: attempt checkout Houdini-Escape-NonCommercial[0] failure
16:16:24 10/27/18 sesinetd: cdbb0546: Generic Houdini-Master-NonCommercial 16.5 1/1 free
6c748cd1: Generic Render-NonCommercial 16.5 1/1 free
16:16:24 10/27/18 sesinetd: ubuntu@ip-172-31-25-183.ec2.internal: attempt checkout Houdini-Escape-NonCommercial[0] failure
Patrick
User Avatar
Member
224 posts
Joined: June 2009
Offline
I just noticed that the licenses that I have seem to be for 16.5, not sure why this is…
Does the web page at https://www.sidefx.com/services/non-commercial-license/ [www.sidefx.com] return 16.5 licenses?
Patrick
User Avatar
Member
224 posts
Joined: June 2009
Offline
I re-tested the whole process, downloading 16.5, now it works. I will start a new thread to ask how to get 17 license from https://www.sidefx.com/services/non-commercial-license/ [www.sidefx.com]
Patrick
  • Quick Links