New answers tagged

0

I was able to get this to work with a QT application by setting a "USER" environment variable and a "DISPLAY" environment variable in the upstart script. # gui - auto launch daemon description "gui daemon" start on desktop-session-start stop on desktop-shutdown env HOME=/home/user script export DISPLAY=:0 mygui end script It's limited to ...


0

The following answer worked for me. I found it here. I ran into this problem after trying to upgrade git with sudo apt-get install git-all. I forcibly remove runit like so: sudo dpkg -r --force-all runit then sudo apt-get -f install runit


0

The easiest would be to add a static sleep of a few seconds to your script startup. This may not be ideal for many reasons, especially if you use this script more generally, since the sleep is not directly linked to libvirt being up. It might be better to have the script check if libvirt is indeed started. You may be able to do this using the exit status of ...


0

since the file is an EXE it is likely that you need a different way of detecting if it is running due to the fact that EXEs are run through wine and so are different than the programs native to ubuntu


0

Simple fix, just create a simlink: sudo ln -s /usr/bin/nodejs /usr/bin/node source



Top 50 recent answers are included