Install help in ubuntu 5.04

   5115   2   1
User Avatar
Member
2 posts
Joined: Feb. 2006
Offline
Sorry if this is the wrong place. my window machine has died so trying to get houdini installed for a project.

gone through the ‘houdini.install’ process. been in readme, used a bash shell to set up the path… with source houdini_setup_bash

typed into a shell the command “houdini”

output:
Xlib: connection to “:0.0” refused by server
Xlib: No protocol specified

Cannot open the myDisplay. Is your DISPLAY environment variable set?
Server initialization failed. Sorry.

Confused and it was quicker to just ask

Operating System is Ubuntu 5.04 for AMD64.
GUI is Gnome.

Cheers
User Avatar
Member
109 posts
Joined: July 2005
Offline
Do you have the X window system installed? Are you logged in to a desktop environment (KDE, Gnome,…)
User Avatar
Member
387 posts
Joined: July 2005
Offline
Hi,

I'm assuming you do have X installed because you said your GUI was Gnome.

raistrick
Xlib: connection to “:0.0” refused by server
Xlib: No protocol specified

Cannot open the myDisplay. Is your DISPLAY environment variable set?
Server initialization failed. Sorry.

Is this exactly what is output? I find the above ref: “myDisplay” curious. Try setting your DISPLAY variable and then run houdini again. eg (in your bash shell):

% source houdini_setup_bash
% export DISPLAY=:0
% xhost +
% houdini

The “xhost +” is dodgy in terms of security, I wouldn't recommend doing this normally, but it will allow you to see if it is indeed a display permission problem. It says allow anyone to open a display (it'll unlock the connection permission problem, if indeed that is the fault). If that works, then try without the xhost. Then it's just that your DISPLAY variable is not set (to either :0 or more specifically, :0.0).

What happens if you try to run “xclock”? Do you see a clock pop up?

Have you tried running “mplay” instead of “houdini”? Does that pop up a window?
Try running “hkey”. What happens?

Have you checked that the license server is running (start it as superuser by running: “/etc/init.d/sesinetd start” ).

To check if the license server is running, run this:

% ps -ef|grep sesi

If the license server is running you should see as output something like:

root 9963 1 0 09:08 ? 00:00:00 /bin/sh /usr/lib/sesi/sesinetd_safe –sesi=/usr/lib/sesi –sesinetd=/usr/lib/sesi/sesinetd –log-file=/var/log/sesinetd.log –pid-file=/var/run/sesinetd_localhost.pid -V 2 -z 250000
root 10051 9963 0 09:08 ? 00:00:01 /usr/lib/sesi/sesinetd -l /var/log/sesinetd.log -D -V 2 -z 250000 -R /var/run/sesinetd_localhost.pid
root 10190 10051 0 09:09 ? 00:00:00 /usr/lib/sesi/sesinetd -l /var/log/sesinetd.log -D -V 2 -z 250000 -R /var/run/sesinetd_localhost.pid
root 10191 10190 0 09:09 ? 00:00:00 /usr/lib/sesi/sesinetd -l /var/log/sesinetd.log -D -V 2 -z 250000 -R /var/run/sesinetd_localhost.pid
root 10656 10190 0 09:23 ? 00:00:00 /usr/lib/sesi/sesinetd -l /var/log/sesinetd.log -D -V 2 -z 250000 -R /var/run/sesinetd_localhost.pid
root 10657 10190 0 09:23 ? 00:00:00 /usr/lib/sesi/sesinetd -l /var/log/sesinetd.log -D -V 2 -z 250000 -R /var/run/sesinetd_localhost.pid
root 11273 11221 0 14:46 pts/15 00:00:00 grep sesi



I run gentoo, which is similar to ubuntu. To ensure the license server starts and stops each time I had to add the following entries to the following files. You should probably do this (anyway):

/etc/conf.d/local.start
# /etc/conf.d/local.start

# This is a good place to load any misc programs
# on startup ( use 1>&2 to hide output)

#
# Start Houdini License Server
#
/etc/init.d/sesinetd start



/etc/conf.d/local.stop
# /etc/conf.d/local.stop

# This is a good place to unload any misc.
# programs you started above.
# For example, if you are using OSS and have
# “/usr/local/bin/soundon” above, put
# “/usr/local/bin/soundoff” here.

#
# Stop Houdini License Server
#
/etc/init.d/sesinetd stop



pretty simple edits (just the last line in each file is the important bit). This info is read by /etc/init.d/local which starts and stops local services (like the houdini license server).

cheers,
ben.
''You're always doing this: reducing it to science. Why can't it be real?'' – Jackie Tyler
  • Quick Links